STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
189493
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2048 · P4096

Another ~28 hours of downtime, this time because of the ISP. They haven't told me why.

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/23966037?noj=FRM23966037-24DC" width="1" height="1"></div>

GreatWarOfPrefectures.swf

This is the info page for
Flash #51488

(Click the ID number above for more basic data on this flash file.)


Text
d

e

s

a

r

c

n

I

p

S

Attack Power Up

Defense Power Up

Enemy Defeat Bonus $5

Enemy Defeat Bonus $10

Enemy Defeat Bonus $15

Strategy Effect Blocked

Units Frozen

Speed Decreased

Natural Healing

Covering Fire

Shower of Weak Organisms

Gladiator
Attacks with sword.
Basic unit for short range combat.

Cost:$

Archer
Attacks with arrows.
Basic unit for long range combat.

Defender
Defends with a shield.
High defense power and high life
points, but can't attack.

Knight
Attacks with spear.
High attack power and long reach.

Medic
Heals other soldiers.
Heals other soldiers, but can't
attack.

Mechanic
Fixes weapons and barricades.
Fixes cannons and barricades but
can't attack.

Ninja
Attacks with knife and shuriken (spike-
shape piece of metal).Fast speed, can
attack from both short and long range.

Wizard
Attacks with fire magic.
Wide attack range.

Sniper
Attacks with a sniper rifle.
High long range attack power, but
takes time to reload.

Samurai
Attacks with sword and armor.
High defense and attack power.
High life points.

Skeleton
Attacks with claws.
Very weak but can be effective in
large quantities.

Green Giant
Crushes enemies with a giant hammer.
Very high defense power and high
life points.

Weak Unidentified Organism
Tackles enemies.Low attack and
defense powers. Weakest form of
Unidentified Organisms.

Electric Unidentified Organism
Attacks with electricity.
Long range attacker within the
Unidentified Organisms.

Solid Unidentified Organism
Tackles enemies.High defense
power.Strongest defender within
the Unidentified Organisms.

Boss Unidentified Organism
Attacks surrounding enemies with a
strong shock wave.Boss of the
Unidentified Organisms.

Soldier Laboratory
Increases the Soldier Laboratory
level to hire new types of
soldiers.Level goes up to 5.

Strategy Laboratory
Increases Strategy Laboratory
level to unlock new strategies.
Level goes up to 5.

Barricade
Builds a barricade to block enemy
invaders.

Cannon
Builds 3 cannons to attack enemy
invaders.

Hospital
Heals life points during defense.

Covering Fire
Attacks enemies with cannons
during invasion.

Prison Camp
Gains revenue for every enemy
killed during defense.

Graveyard
Creates 2 Skeletons per day.

Brainwash Facility
Turns killed enemies into allies
at a small probability.

Giant Magnetic Field
Creates 1 Green Giant every
15 days.

Bio Lab
Creates 15 Unidentified Organisms
per day.

Aelous
Increases speed by calling the god
of wind.

Helios
Increases attack power by calling
the god of sun.

Gaia
Increases defense power by calling
the god of earth.

Erebus
Quickly withdraws military by
calling the god of shadow.

Hephaestus
Rebuilds barricade by calling the
god of smiths.

Hades
Attacks enemies by calling the god
of the underworld.

Asclepius
Heals soldiers by calling the god
of healing.

Hemera
Freezes enemies with strong
radiance by calling the goddess of
light.

Eos
Revives all dead soldiers as
Skeletons by calling the goddess
of dawn.

Zeus
Revives 60% of dead soldiers by
calling the king of gods.

Goldmine
Prefecture revenue 1.5X.

River
Enemy short range attack power
diminishes during defense.

Forest
Enemy long range attack power
diminishes during defense.

Castle
Enemy short and long range attack
powers decrease by 30% during
defense.

Shrine
Enemy strategy effects diminish
during defense.

Sacred Ground
Creates 3 Skeletons per day.

Ninja Village
Creates 1 Ninja every 2 days.

Rifle blacksmiths Village
Creates 1 Sniper every 3 days.

Sword blacksmiths Village
Creates 1 Gladiator per day.

Marsh
Decreases enemy speed during
defense.

Quarantine
Weak Unidentified Organisms shower
from the sky during defense.

version 1.4

How to Play
①Basic guidelines

Conquer Japan!
47 prefectures of Japan are now independent. The Great War of
Prefectures has begun. Select a prefecture (region) and conquer
others to unify Japan under your command.

Drag the white box on the mini-map to
scroll the main screen.

Use the side bar on the mini-map to zoom in and out.

How to Play
②How to use the map

How to Play
③Natural Powers and Buildings

Each prefecture has a natural
power with various effects.

In addition to the natural power,
1 military base with a special power
can be built on each prefecture.

Select a military base from
this tab, and click on a prefecture
to build a military base.
Be wise about which one you select
because once it is built, it can’t
be replaced.

How to Play
④Revenue and Soldier Employment

Revenue (tax) will come in at the beginning
of every month.
Revenue will increase as more prefectures
are conquered.

Use the revenue to hire soldiers. Place
them strategically to prefectures.
Select a soldier from this tab.
Click on the prefecture to hire the
selected soldier.

Strategies can only be used once during battle.
    Check which ones are unlocked from this tab.

How to Play
⑤Research Levels and Strategies

The soldier and strategy levels can be
increased up to   5by building laboratories.
There are soldier laboratories and strategy
laboratories.

How to Play
⑥Invasion and Reinforcement

To move (invade or reinforce) the soldiers stationed
at a prefecture, click or drag the mouse over the
soldiers.
The same soldier type can be selected simultaneously
by double clicking it.
When the red arrow is clicked, the selected soldiers
will invade enemy prefectures. When the blue arrow is
clicked, the selected soldiers will move to an ally
prefecture.

How to Play
⑦Battle 1

The battle will start when you invade another prefecture.
Command your military to defeat the enemy.
Click this tab to switch the combat mode between HOLD and WILL.
WILL mode is used when you want the military to fight at will (automatic).
HOLD mode is used when you want the military to hold the line (manual).
Drag this tab to move your military’s line during HOLD mode.

How to Play
⑧Battle 2

            Click this button to select a strategy (one per battle).
If you are the invader, click this button             to withdraw.
  When time runs out or one of the militaries is defeated, the battle
ends.
If the defender’s military is defeated, that prefecture will be conquered
by the invader.

How to Play
⑨Lastly

Click the "Finish Turn" button in the lower right to proceed to the
next day.
Invade your rival prefectures to increase revenue. Use the revenue
to hire more forces and use the conquered land to build new bases to
increase your powers.
Overcome various obstacles and command your military to unite Japan!

How to Play
Revenue and Soldier Employment

How to Play
Invasion and Reinforcement

How to Play
Battle 1

How to Play
Battle 2

How to Play
Research Levels and Strategies

How to Play
Natural Powers and Buildings

Coolbuddy.com

Play More Games at Coolbuddy.com

Play More Games at Coolbuddy.com

ActionScript [AS3]

Section 1
//MochiAd (mochi.as3.MochiAd) package mochi.as3 { import flash.display.*; import flash.events.*; import flash.net.*; import flash.utils.*; import flash.system.*; public class MochiAd { public static function getVersion():String{ return ("3.0 as3"); } public static function showClickAwayAd(_arg1:Object):void{ var DEFAULTS:Object; var clip:Object; var ad_timeout:Number; var mc:MovieClip; var wh:Array; var w:Number; var h:Number; var chk:MovieClip; var sendHostProgress:Boolean; var options = _arg1; DEFAULTS = {ad_timeout:2000, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function ():void{ }, ad_finished:function ():void{ }, ad_loaded:function (_arg1:Number, _arg2:Number):void{ }, ad_failed:function ():void{ }, ad_skipped:function ():void{ }}; options = MochiAd._parseOptions(options, DEFAULTS); clip = options.clip; ad_timeout = options.ad_timeout; delete options.ad_timeout; if (!MochiAd.load(options)){ options.ad_failed(); options.ad_finished(); return; }; options.ad_started(); mc = clip._mochiad; mc["onUnload"] = function ():void{ MochiAd._cleanup(mc); options.ad_finished(); }; wh = MochiAd._getRes(options, clip); w = wh[0]; h = wh[1]; mc.x = (w * 0.5); mc.y = (h * 0.5); chk = createEmptyMovieClip(mc, "_mochiad_wait", 3); chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; mc.unloadAd = function ():void{ MochiAd.unload(clip); }; mc.adLoaded = options.ad_loaded; mc.adSkipped = options.ad_skipped; mc.rpc = function (_arg1:Number, _arg2:Object):void{ MochiAd.rpc(clip, _arg1, _arg2); }; sendHostProgress = false; mc.regContLC = function (_arg1:String):void{ mc._containerLCName = _arg1; }; chk["onEnterFrame"] = function ():void{ var _local1:Object; var _local2:Number; var _local3:Boolean; var _local4:Number; if (!this.parent){ delete this.onEnterFrame; return; }; _local1 = this.parent._mochiad_ctr; _local2 = (getTimer() - this.started); _local3 = false; if (!chk.showing){ _local4 = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal; if (_local4 > 0){ chk.showing = true; _local3 = true; chk.started = getTimer(); } else { if (_local2 > chk.ad_timeout){ options.ad_failed(); _local3 = true; }; }; }; if (this.root == null){ _local3 = true; }; if (_local3){ delete this.onEnterFrame; }; }; doOnEnterFrame(chk); } public static function _isNetworkAvailable():Boolean{ return (!((Security.sandboxType == "localWithFile"))); } public static function _allowDomains(_arg1:String):String{ var _local2:String; _local2 = _arg1.split("/")[2].split(":")[0]; if (Security.sandboxType == "application"){ return (_local2); }; Security.allowDomain("*"); Security.allowDomain(_local2); Security.allowInsecureDomain("*"); Security.allowInsecureDomain(_local2); return (_local2); } public static function unload(_arg1:Object):Boolean{ if (((_arg1.clip) && (_arg1.clip._mochiad))){ _arg1 = _arg1.clip; }; if (_arg1.origFrameRate != undefined){ _arg1.stage.frameRate = _arg1.origFrameRate; }; if (!_arg1._mochiad){ return (false); }; if (_arg1._mochiad._containerLCName != undefined){ _arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "notify", {id:"unload"}); }; if (_arg1._mochiad.onUnload){ _arg1._mochiad.onUnload(); }; delete _arg1._mochiad_loaded; delete _arg1._mochiad; return (true); } public static function showInterLevelAd(_arg1:Object):void{ var DEFAULTS:Object; var clip:Object; var ad_msec:Number; var ad_timeout:Number; var fadeout_time:Number; var mc:MovieClip; var wh:Array; var w:Number; var h:Number; var chk:MovieClip; var options = _arg1; DEFAULTS = {ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function ():void{ if ((this.clip is MovieClip)){ this.clip.stop(); } else { throw (new Error("MochiAd.showInterLevelAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_finished:function ():void{ if ((this.clip is MovieClip)){ this.clip.play(); } else { throw (new Error("MochiAd.showInterLevelAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_loaded:function (_arg1:Number, _arg2:Number):void{ }, ad_failed:function ():void{ }, ad_skipped:function ():void{ }}; options = MochiAd._parseOptions(options, DEFAULTS); clip = options.clip; ad_msec = 11000; ad_timeout = options.ad_timeout; delete options.ad_timeout; fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!MochiAd.load(options)){ options.ad_failed(); options.ad_finished(); return; }; options.ad_started(); mc = clip._mochiad; mc["onUnload"] = function ():void{ MochiAd._cleanup(mc); options.ad_finished(); }; wh = MochiAd._getRes(options, clip); w = wh[0]; h = wh[1]; mc.x = (w * 0.5); mc.y = (h * 0.5); chk = createEmptyMovieClip(mc, "_mochiad_wait", 3); chk.ad_msec = ad_msec; chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; chk.fadeout_time = fadeout_time; chk.fadeFunction = function ():void{ var _local1:Number; if (!this.parent){ delete this.onEnterFrame; delete this.fadeFunction; return; }; _local1 = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time))); if (_local1 > 0){ this.parent.alpha = (_local1 * 0.01); } else { MochiAd.unload(clip); delete this["onEnterFrame"]; }; }; mc.unloadAd = function ():void{ MochiAd.unload(clip); }; mc.adLoaded = options.ad_loaded; mc.adSkipped = options.ad_skipped; mc.adjustProgress = function (_arg1:Number):void{ var _local2:Object; _local2 = mc._mochiad_wait; _local2.server_control = true; _local2.showing = true; _local2.started = getTimer(); _local2.ad_msec = (_arg1 - 250); }; mc.rpc = function (_arg1:Number, _arg2:Object):void{ MochiAd.rpc(clip, _arg1, _arg2); }; chk["onEnterFrame"] = function ():void{ var _local1:Object; var _local2:Number; var _local3:Boolean; var _local4:Number; if (!this.parent){ delete this.onEnterFrame; delete this.fadeFunction; return; }; _local1 = this.parent._mochiad_ctr; _local2 = (getTimer() - this.started); _local3 = false; if (!chk.showing){ _local4 = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal; if (_local4 > 0){ chk.showing = true; chk.started = getTimer(); MochiAd.adShowing(clip); } else { if (_local2 > chk.ad_timeout){ options.ad_failed(); _local3 = true; }; }; }; if (_local2 > chk.ad_msec){ _local3 = true; }; if (_local3){ if (this.server_control){ delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = this.fadeFunction; }; }; }; doOnEnterFrame(chk); } public static function _parseOptions(_arg1:Object, _arg2:Object):Object{ var _local3:Object; var _local4:String; var _local5:Array; var _local6:Number; var _local7:Array; _local3 = {}; for (_local4 in _arg2) { _local3[_local4] = _arg2[_local4]; }; if (_arg1){ for (_local4 in _arg1) { _local3[_local4] = _arg1[_local4]; }; }; if (_local3.clip == undefined){ throw (new Error("MochiAd is missing the 'clip' parameter. This should be a MovieClip, Sprite or an instance of a class that extends MovieClip or Sprite.")); }; _arg1 = _local3.clip.loaderInfo.parameters.mochiad_options; if (_arg1){ _local5 = _arg1.split("&"); _local6 = 0; while (_local6 < _local5.length) { _local7 = _local5[_local6].split("="); _local3[unescape(_local7[0])] = unescape(_local7[1]); _local6++; }; }; if (_local3.id == "test"){ }; return (_local3); } public static function _cleanup(_arg1:Object):void{ var idx:Number; var k:String; var lc:LocalConnection; var f:Function; var mc = _arg1; if (("lc" in mc)){ lc = mc.lc; f = function ():void{ try { lc.client = null; lc.close(); } catch(e:Error) { }; }; setTimeout(f, 0); }; idx = DisplayObjectContainer(mc).numChildren; while (idx > 0) { idx = (idx - 1); DisplayObjectContainer(mc).removeChildAt(idx); }; for (k in mc) { delete mc[k]; }; } public static function load(_arg1:Object):MovieClip{ var DEFAULTS:Object; var clip:Object; var depth:Number; var mc:MovieClip; var wh:Array; var lv:URLVariables; var k:String; var server:String; var hostname:String; var lc:LocalConnection; var name:String; var loader:Loader; var g:Function; var req:URLRequest; var v:Object; var options = _arg1; DEFAULTS = {server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"}; options = MochiAd._parseOptions(options, DEFAULTS); options.swfv = 9; options.mav = MochiAd.getVersion(); clip = options.clip; if (!MochiAd._isNetworkAvailable()){ return (null); }; try { if (clip._mochiad_loaded){ return (null); }; } catch(e:Error) { throw (new Error("MochiAd requires a clip that is an instance of a dynamic class. If your class extends Sprite or MovieClip, you must make it dynamic.")); }; depth = options.depth; delete options.depth; mc = createEmptyMovieClip(clip, "_mochiad", depth); wh = MochiAd._getRes(options, clip); options.res = ((wh[0] + "x") + wh[1]); options.server = (options.server + options.id); delete options.id; clip._mochiad_loaded = true; if (clip.loaderInfo.loaderURL.indexOf("http") == 0){ options.as3_swf = clip.loaderInfo.loaderURL; //unresolved jump }; lv = new URLVariables(); for (k in options) { v = options[k]; if (!(v is Function)){ lv[k] = v; }; }; server = lv.server; delete lv.server; hostname = _allowDomains(server); lc = new LocalConnection(); lc.client = mc; name = ["", Math.floor(new Date().getTime()), Math.floor((Math.random() * 999999))].join("_"); lc.allowDomain("*", "localhost"); lc.allowInsecureDomain("*", "localhost"); lc.connect(name); mc.lc = lc; mc.lcName = name; lv.lc = name; lv.st = getTimer(); loader = new Loader(); g = function (_arg1:Object):void{ _arg1.target.removeEventListener(_arg1.type, arguments.callee); MochiAd.unload(clip); }; loader.contentLoaderInfo.addEventListener(Event.UNLOAD, g); req = new URLRequest(((server + ".swf?cacheBust=") + new Date().getTime())); req.contentType = "application/x-www-form-urlencoded"; req.method = URLRequestMethod.POST; req.data = lv; loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, function (_arg1:IOErrorEvent):void{ }); loader.load(req); mc.addChild(loader); mc._mochiad_ctr = loader; return (mc); } public static function runMethod(_arg1:Object, _arg2:String, _arg3:Array):Object{ var _local4:Array; var _local5:Number; _local4 = _arg2.split("."); _local5 = 0; while (_local5 < (_local4.length - 1)) { if ((((_arg1[_local4[_local5]] == undefined)) || ((_arg1[_local4[_local5]] == null)))){ return (undefined); }; _arg1 = _arg1[_local4[_local5]]; _local5++; }; if (typeof(_arg1[_local4[_local5]]) == "function"){ return (_arg1[_local4[_local5]].apply(_arg1, _arg3)); }; return (undefined); } public static function createEmptyMovieClip(_arg1:Object, _arg2:String, _arg3:Number):MovieClip{ var _local4:MovieClip; _local4 = new MovieClip(); if (((false) && (_arg3))){ _arg1.addChildAt(_local4, _arg3); } else { _arg1.addChild(_local4); }; _arg1[_arg2] = _local4; _local4["_name"] = _arg2; return (_local4); } public static function _getRes(_arg1:Object, _arg2:Object):Array{ var _local3:Object; var _local4:Number; var _local5:Number; var _local6:Array; _local3 = _arg2.getBounds(_arg2.root); _local4 = 0; _local5 = 0; if (typeof(_arg1.res) != "undefined"){ _local6 = _arg1.res.split("x"); _local4 = parseFloat(_local6[0]); _local5 = parseFloat(_local6[1]); } else { _local4 = (_local3.xMax - _local3.xMin); _local5 = (_local3.yMax - _local3.yMin); }; if ((((_local4 == 0)) || ((_local5 == 0)))){ _local4 = _arg2.stage.stageWidth; _local5 = _arg2.stage.stageHeight; }; return ([_local4, _local5]); } public static function adShowing(_arg1:Object):void{ _arg1.origFrameRate = _arg1.stage.frameRate; _arg1.stage.frameRate = 30; } public static function getValue(_arg1:Object, _arg2:String):Object{ var _local3:Array; var _local4:Number; _local3 = _arg2.split("."); _local4 = 0; while (_local4 < (_local3.length - 1)) { if ((((_arg1[_local3[_local4]] == undefined)) || ((_arg1[_local3[_local4]] == null)))){ return (undefined); }; _arg1 = _arg1[_local3[_local4]]; _local4++; }; return (_arg1[_local3[_local4]]); } public static function rpc(_arg1:Object, _arg2:Number, _arg3:Object):void{ var _local4:Object; var _local5:Object; switch (_arg3.id){ case "setValue": MochiAd.setValue(_arg1, _arg3.objectName, _arg3.value); break; case "getValue": _local4 = MochiAd.getValue(_arg1, _arg3.objectName); _arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "rpcResult", _arg2, _local4); break; case "runMethod": _local5 = MochiAd.runMethod(_arg1, _arg3.method, _arg3.args); _arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "rpcResult", _arg2, _local5); break; }; } public static function setValue(_arg1:Object, _arg2:String, _arg3:Object):void{ var _local4:Array; var _local5:Number; _local4 = _arg2.split("."); _local5 = 0; while (_local5 < (_local4.length - 1)) { if ((((_arg1[_local4[_local5]] == undefined)) || ((_arg1[_local4[_local5]] == null)))){ return; }; _arg1 = _arg1[_local4[_local5]]; _local5++; }; _arg1[_local4[_local5]] = _arg3; } public static function showPreGameAd(_arg1:Object):void{ var DEFAULTS:Object; var clip:Object; var ad_msec:Number; var ad_timeout:Number; var fadeout_time:Number; var mc:MovieClip; var wh:Array; var w:Number; var h:Number; var chk:MovieClip; var bar:MovieClip; var bar_color:Number; var bar_background:Number; var bar_outline:Number; var backing_mc:MovieClip; var backing:Object; var inside_mc:MovieClip; var inside:Object; var outline_mc:MovieClip; var outline:Object; var complete:Boolean; var unloaded:Boolean; var f:Function; var sendHostProgress:Boolean; var fn:Function; var r:MovieClip; var options = _arg1; DEFAULTS = {ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:0xFF8A00, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function ():void{ if ((this.clip is MovieClip)){ this.clip.stop(); } else { throw (new Error("MochiAd.showPreGameAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_finished:function ():void{ if ((this.clip is MovieClip)){ this.clip.play(); } else { throw (new Error("MochiAd.showPreGameAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_loaded:function (_arg1:Number, _arg2:Number):void{ }, ad_failed:function ():void{ }, ad_skipped:function ():void{ }, ad_progress:function (_arg1:Number):void{ }}; options = MochiAd._parseOptions(options, DEFAULTS); if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def"){ options.ad_started(); fn = function ():void{ options.ad_finished(); }; setTimeout(fn, 100); return; }; clip = options.clip; ad_msec = 11000; ad_timeout = options.ad_timeout; delete options.ad_timeout; fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!MochiAd.load(options)){ options.ad_failed(); options.ad_finished(); return; }; options.ad_started(); mc = clip._mochiad; mc["onUnload"] = function ():void{ var fn:Function; MochiAd._cleanup(mc); fn = function ():void{ options.ad_finished(); }; setTimeout(fn, 100); }; wh = MochiAd._getRes(options, clip); w = wh[0]; h = wh[1]; mc.x = (w * 0.5); mc.y = (h * 0.5); chk = createEmptyMovieClip(mc, "_mochiad_wait", 3); chk.x = (w * -0.5); chk.y = (h * -0.5); bar = createEmptyMovieClip(chk, "_mochiad_bar", 4); if (options.no_progress_bar){ bar.visible = false; delete options.no_progress_bar; } else { bar.x = 10; bar.y = (h - 20); }; bar_color = options.color; delete options.color; bar_background = options.background; delete options.background; bar_outline = options.outline; delete options.outline; backing_mc = createEmptyMovieClip(bar, "_outline", 1); backing = backing_mc.graphics; backing.beginFill(bar_background); backing.moveTo(0, 0); backing.lineTo((w - 20), 0); backing.lineTo((w - 20), 10); backing.lineTo(0, 10); backing.lineTo(0, 0); backing.endFill(); inside_mc = createEmptyMovieClip(bar, "_inside", 2); inside = inside_mc.graphics; inside.beginFill(bar_color); inside.moveTo(0, 0); inside.lineTo((w - 20), 0); inside.lineTo((w - 20), 10); inside.lineTo(0, 10); inside.lineTo(0, 0); inside.endFill(); inside_mc.scaleX = 0; outline_mc = createEmptyMovieClip(bar, "_outline", 3); outline = outline_mc.graphics; outline.lineStyle(0, bar_outline, 100); outline.moveTo(0, 0); outline.lineTo((w - 20), 0); outline.lineTo((w - 20), 10); outline.lineTo(0, 10); outline.lineTo(0, 0); chk.ad_msec = ad_msec; chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; chk.last_pcnt = 0; chk.fadeout_time = fadeout_time; chk.fadeFunction = function ():void{ var _local1:Number; _local1 = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time))); if (_local1 > 0){ this.parent.alpha = (_local1 * 0.01); } else { MochiAd.unload(clip); delete this["onEnterFrame"]; }; }; complete = false; unloaded = false; f = function (_arg1:Event):void{ _arg1.target.removeEventListener(_arg1.type, arguments.callee); complete = true; if (unloaded){ MochiAd.unload(clip); }; }; clip.loaderInfo.addEventListener(Event.COMPLETE, f); if ((clip.root is MovieClip)){ r = (clip.root as MovieClip); if (r.framesLoaded >= r.totalFrames){ complete = true; }; }; mc.unloadAd = function ():void{ unloaded = true; if (complete){ MochiAd.unload(clip); }; }; mc.adLoaded = options.ad_loaded; mc.adSkipped = options.ad_skipped; mc.adjustProgress = function (_arg1:Number):void{ var _local2:Object; _local2 = mc._mochiad_wait; _local2.server_control = true; _local2.showing = true; _local2.started = getTimer(); _local2.ad_msec = _arg1; }; mc.rpc = function (_arg1:Number, _arg2:Object):void{ MochiAd.rpc(clip, _arg1, _arg2); }; mc.rpcTestFn = function (_arg1:String):Object{ return (_arg1); }; mc.regContLC = function (_arg1:String):void{ mc._containerLCName = _arg1; }; sendHostProgress = false; mc.sendHostLoadProgress = function (_arg1:String):void{ sendHostProgress = true; }; chk["onEnterFrame"] = function ():void{ var _local1:Object; var _local2:Object; var _local3:Number; var _local4:Boolean; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Object; var _local10:Number; var _local11:Number; if (((!(this.parent)) || (!(this.parent.parent)))){ delete this["onEnterFrame"]; return; }; _local1 = this.parent.parent.root; _local2 = this.parent._mochiad_ctr; _local3 = (getTimer() - this.started); _local4 = false; _local5 = _local1.loaderInfo.bytesTotal; _local6 = _local1.loaderInfo.bytesLoaded; if (complete){ _local6 = Math.max(1, _local6); _local5 = _local6; }; _local7 = ((100 * _local6) / _local5); _local8 = ((100 * _local3) / chk.ad_msec); _local9 = this._mochiad_bar._inside; _local10 = Math.min(100, Math.min(((_local7) || (0)), _local8)); _local10 = Math.max(this.last_pcnt, _local10); this.last_pcnt = _local10; _local9.scaleX = (_local10 * 0.01); options.ad_progress(_local10); if (sendHostProgress){ clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"hostLoadPcnt", pcnt:_local7}); if (_local7 == 100){ sendHostProgress = false; }; }; if (!chk.showing){ _local11 = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal; if (_local11 > 0){ chk.showing = true; chk.started = getTimer(); MochiAd.adShowing(clip); } else { if ((((_local3 > chk.ad_timeout)) && ((_local7 == 100)))){ options.ad_failed(); _local4 = true; }; }; }; if (_local3 > chk.ad_msec){ _local4 = true; }; if (((complete) && (_local4))){ if (this.server_control){ delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = chk.fadeFunction; }; }; }; doOnEnterFrame(chk); } public static function showPreloaderAd(_arg1:Object):void{ MochiAd.showPreGameAd(_arg1); } public static function showTimedAd(_arg1:Object):void{ MochiAd.showInterLevelAd(_arg1); } public static function doOnEnterFrame(_arg1:MovieClip):void{ var f:Function; var mc = _arg1; f = function (_arg1:Object):void{ if (((("onEnterFrame" in mc)) && (mc.onEnterFrame))){ mc.onEnterFrame(); } else { _arg1.target.removeEventListener(_arg1.type, arguments.callee); }; }; mc.addEventListener(Event.ENTER_FRAME, f); } } }//package mochi.as3
Section 2
//00HP_185 (TDW_E__fla.00HP_185) package TDW_E__fla { import flash.display.*; public dynamic class 00HP_185 extends MovieClip { public function 00HP_185(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ this.stop(); } function frame2(){ this.stop(); } } }//package TDW_E__fla
Section 3
//01_4 (TDW_E__fla.01_4) package TDW_E__fla { import flash.display.*; public dynamic class 01_4 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 4
//02_11 (TDW_E__fla.02_11) package TDW_E__fla { import flash.display.*; public dynamic class 02_11 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 5
//03_13 (TDW_E__fla.03_13) package TDW_E__fla { import flash.display.*; public dynamic class 03_13 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 6
//03_214 (TDW_E__fla.03_214) package TDW_E__fla { import flash.display.*; public dynamic class 03_214 extends MovieClip { public var bg:MovieClip; public var h1:MovieClip; public var h2:MovieClip; public var h4:MovieClip; public var h3:MovieClip; public function 03_214(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 20, frame21, 21, frame22, 22, frame23, 23, frame24, 24, frame25, 25, frame26, 26, frame27, 27, frame28, 28, frame29, 29, frame30, 30, frame31, 31, frame32, 32, frame33, 33, frame34, 34, frame35, 35, frame36, 36, frame37, 37, frame38, 38, frame39, 39, frame40, 40, frame41, 41, frame42, 42, frame43, 43, frame44, 44, frame45, 45, frame46, 46, frame47, 47, frame48, 48, frame49); } function frame10(){ this.stop(); } function frame14(){ this.h1.visible = false; this.h2.visible = false; this.h3.visible = false; this.h4.visible = false; this.stop(); } function frame18(){ this.h1.visible = false; this.h2.visible = false; this.h3.visible = false; this.h4.visible = false; this.stop(); } function frame12(){ this.h1.visible = false; this.h2.visible = false; this.h3.visible = false; this.h4.visible = false; this.stop(); } function frame3(){ this.stop(); } function frame6(){ this.stop(); } function frame7(){ this.stop(); } function frame1(){ this.stop(); } function frame19(){ this.h1.visible = false; this.h2.visible = false; this.h3.visible = false; this.h4.visible = false; this.stop(); } function frame25(){ this.h1.visible = false; this.h2.visible = false; this.h3.visible = false; this.h4.visible = false; this.stop(); } function frame13(){ this.h1.visible = false; this.h2.visible = false; this.h3.visible = false; this.h4.visible = false; this.stop(); } function frame17(){ this.h1.visible = false; this.h2.visible = false; this.h3.visible = false; this.h4.visible = false; this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame9(){ this.stop(); } function frame22(){ this.h1.visible = false; this.h2.visible = false; this.h3.visible = false; this.h4.visible = false; this.stop(); } function frame16(){ this.h1.visible = false; this.h2.visible = false; this.h3.visible = false; this.h4.visible = false; this.stop(); } function frame8(){ this.stop(); } function frame21(){ this.h1.visible = false; this.h2.visible = false; this.h3.visible = false; this.h4.visible = false; this.stop(); } function frame2(){ this.stop(); } function frame23(){ this.h1.visible = false; this.h2.visible = false; this.h3.visible = false; this.h4.visible = false; this.stop(); } function frame24(){ this.h1.visible = false; this.h2.visible = false; this.h3.visible = false; this.h4.visible = false; this.stop(); } function frame28(){ this.h1.visible = false; this.h2.visible = false; this.h3.visible = false; this.h4.visible = false; this.stop(); } function frame15(){ this.h1.visible = false; this.h2.visible = false; this.h3.visible = false; this.h4.visible = false; this.stop(); } function frame31(){ this.h1.visible = false; this.h2.visible = false; this.h3.visible = false; this.h4.visible = false; this.stop(); } function frame27(){ this.h1.visible = false; this.h2.visible = false; this.h3.visible = false; this.h4.visible = false; this.stop(); } function frame11(){ this.h1.visible = false; this.h2.visible = false; this.h3.visible = false; this.h4.visible = false; this.stop(); } function frame34(){ this.h1.visible = false; this.h2.visible = false; this.h3.visible = false; this.h4.visible = false; this.stop(); } function frame35(){ this.h1.visible = false; this.h2.visible = false; this.h3.visible = false; this.h4.visible = false; this.stop(); } function frame36(){ this.h1.visible = false; this.h2.visible = false; this.h3.visible = false; this.h4.visible = false; this.stop(); } function frame37(){ this.h1.visible = false; this.h2.visible = false; this.h3.visible = false; this.h4.visible = false; this.stop(); } function frame29(){ this.h1.visible = false; this.h2.visible = false; this.h3.visible = false; this.h4.visible = false; this.stop(); } function frame33(){ this.h1.visible = false; this.h2.visible = false; this.h3.visible = false; this.h4.visible = false; this.stop(); } function frame40(){ this.h1.visible = false; this.h2.visible = false; this.h3.visible = false; this.h4.visible = false; this.stop(); } function frame20(){ this.h1.visible = false; this.h2.visible = false; this.h3.visible = false; this.h4.visible = false; this.stop(); } function frame43(){ this.h1.visible = false; this.h2.visible = false; this.h3.visible = false; this.h4.visible = false; this.stop(); } function frame39(){ this.h1.visible = false; this.h2.visible = false; this.h3.visible = false; this.h4.visible = false; this.stop(); } function frame26(){ this.h1.visible = false; this.h2.visible = false; this.h3.visible = false; this.h4.visible = false; this.stop(); } function frame32(){ this.h1.visible = false; this.h2.visible = false; this.h3.visible = false; this.h4.visible = false; this.stop(); } function frame42(){ this.h1.visible = false; this.h2.visible = false; this.h3.visible = false; this.h4.visible = false; this.stop(); } function frame45(){ this.h1.visible = false; this.h2.visible = false; this.h3.visible = false; this.h4.visible = false; this.stop(); } function frame46(){ this.h1.visible = false; this.h2.visible = false; this.h3.visible = false; this.h4.visible = false; this.stop(); } function frame49(){ this.h1.visible = false; this.h2.visible = false; this.h3.visible = false; this.h4.visible = false; this.stop(); } function frame41(){ this.h1.visible = false; this.h2.visible = false; this.h3.visible = false; this.h4.visible = false; this.stop(); } function frame30(){ this.h1.visible = false; this.h2.visible = false; this.h3.visible = false; this.h4.visible = false; this.stop(); } function frame44(){ this.h1.visible = false; this.h2.visible = false; this.h3.visible = false; this.h4.visible = false; this.stop(); } function frame48(){ this.h1.visible = false; this.h2.visible = false; this.h3.visible = false; this.h4.visible = false; this.stop(); } function frame47(){ this.h1.visible = false; this.h2.visible = false; this.h3.visible = false; this.h4.visible = false; this.stop(); } function frame38(){ this.h1.visible = false; this.h2.visible = false; this.h3.visible = false; this.h4.visible = false; this.stop(); } } }//package TDW_E__fla
Section 7
//04_15 (TDW_E__fla.04_15) package TDW_E__fla { import flash.display.*; public dynamic class 04_15 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 8
//05_17 (TDW_E__fla.05_17) package TDW_E__fla { import flash.display.*; public dynamic class 05_17 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 9
//05_7 (TDW_E__fla.05_7) package TDW_E__fla { import flash.display.*; public dynamic class 05_7 extends MovieClip { public var b1:MovieClip; public var b3:bld_unit; } }//package TDW_E__fla
Section 10
//06_19 (TDW_E__fla.06_19) package TDW_E__fla { import flash.display.*; public dynamic class 06_19 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 11
//07_21 (TDW_E__fla.07_21) package TDW_E__fla { import flash.display.*; public dynamic class 07_21 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 12
//08_23 (TDW_E__fla.08_23) package TDW_E__fla { import flash.display.*; public dynamic class 08_23 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 13
//09_25 (TDW_E__fla.09_25) package TDW_E__fla { import flash.display.*; public dynamic class 09_25 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 14
//10_27 (TDW_E__fla.10_27) package TDW_E__fla { import flash.display.*; public dynamic class 10_27 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 15
//11_29 (TDW_E__fla.11_29) package TDW_E__fla { import flash.display.*; public dynamic class 11_29 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 16
//12_31 (TDW_E__fla.12_31) package TDW_E__fla { import flash.display.*; public dynamic class 12_31 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 17
//13_33 (TDW_E__fla.13_33) package TDW_E__fla { import flash.display.*; public dynamic class 13_33 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 18
//14_35 (TDW_E__fla.14_35) package TDW_E__fla { import flash.display.*; public dynamic class 14_35 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 19
//15_37 (TDW_E__fla.15_37) package TDW_E__fla { import flash.display.*; public dynamic class 15_37 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 20
//16_39 (TDW_E__fla.16_39) package TDW_E__fla { import flash.display.*; public dynamic class 16_39 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 21
//17_41 (TDW_E__fla.17_41) package TDW_E__fla { import flash.display.*; public dynamic class 17_41 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 22
//18_43 (TDW_E__fla.18_43) package TDW_E__fla { import flash.display.*; public dynamic class 18_43 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 23
//19_45 (TDW_E__fla.19_45) package TDW_E__fla { import flash.display.*; public dynamic class 19_45 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 24
//20_47 (TDW_E__fla.20_47) package TDW_E__fla { import flash.display.*; public dynamic class 20_47 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 25
//21_49 (TDW_E__fla.21_49) package TDW_E__fla { import flash.display.*; public dynamic class 21_49 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 26
//22_51 (TDW_E__fla.22_51) package TDW_E__fla { import flash.display.*; public dynamic class 22_51 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 27
//23_53 (TDW_E__fla.23_53) package TDW_E__fla { import flash.display.*; public dynamic class 23_53 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 28
//24_55 (TDW_E__fla.24_55) package TDW_E__fla { import flash.display.*; public dynamic class 24_55 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 29
//25_57 (TDW_E__fla.25_57) package TDW_E__fla { import flash.display.*; public dynamic class 25_57 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 30
//26_59 (TDW_E__fla.26_59) package TDW_E__fla { import flash.display.*; public dynamic class 26_59 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 31
//27_61 (TDW_E__fla.27_61) package TDW_E__fla { import flash.display.*; public dynamic class 27_61 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 32
//28_63 (TDW_E__fla.28_63) package TDW_E__fla { import flash.display.*; public dynamic class 28_63 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 33
//29_65 (TDW_E__fla.29_65) package TDW_E__fla { import flash.display.*; public dynamic class 29_65 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 34
//30_67 (TDW_E__fla.30_67) package TDW_E__fla { import flash.display.*; public dynamic class 30_67 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 35
//31_69 (TDW_E__fla.31_69) package TDW_E__fla { import flash.display.*; public dynamic class 31_69 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 36
//32_71 (TDW_E__fla.32_71) package TDW_E__fla { import flash.display.*; public dynamic class 32_71 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 37
//33_73 (TDW_E__fla.33_73) package TDW_E__fla { import flash.display.*; public dynamic class 33_73 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 38
//34_75 (TDW_E__fla.34_75) package TDW_E__fla { import flash.display.*; public dynamic class 34_75 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 39
//35_77 (TDW_E__fla.35_77) package TDW_E__fla { import flash.display.*; public dynamic class 35_77 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 40
//36_79 (TDW_E__fla.36_79) package TDW_E__fla { import flash.display.*; public dynamic class 36_79 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 41
//37_81 (TDW_E__fla.37_81) package TDW_E__fla { import flash.display.*; public dynamic class 37_81 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 42
//38_83 (TDW_E__fla.38_83) package TDW_E__fla { import flash.display.*; public dynamic class 38_83 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 43
//39_85 (TDW_E__fla.39_85) package TDW_E__fla { import flash.display.*; public dynamic class 39_85 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 44
//40_87 (TDW_E__fla.40_87) package TDW_E__fla { import flash.display.*; public dynamic class 40_87 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 45
//41_89 (TDW_E__fla.41_89) package TDW_E__fla { import flash.display.*; public dynamic class 41_89 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 46
//42_91 (TDW_E__fla.42_91) package TDW_E__fla { import flash.display.*; public dynamic class 42_91 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 47
//43_93 (TDW_E__fla.43_93) package TDW_E__fla { import flash.display.*; public dynamic class 43_93 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 48
//44_95 (TDW_E__fla.44_95) package TDW_E__fla { import flash.display.*; public dynamic class 44_95 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 49
//45_97 (TDW_E__fla.45_97) package TDW_E__fla { import flash.display.*; public dynamic class 45_97 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 50
//46_99 (TDW_E__fla.46_99) package TDW_E__fla { import flash.display.*; public dynamic class 46_99 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 51
//47_101 (TDW_E__fla.47_101) package TDW_E__fla { import flash.display.*; public dynamic class 47_101 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 52
//48_105 (TDW_E__fla.48_105) package TDW_E__fla { import flash.display.*; public dynamic class 48_105 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 53
//49_107 (TDW_E__fla.49_107) package TDW_E__fla { import flash.display.*; public dynamic class 49_107 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 54
//50_109 (TDW_E__fla.50_109) package TDW_E__fla { import flash.display.*; public dynamic class 50_109 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 55
//51_103 (TDW_E__fla.51_103) package TDW_E__fla { import flash.display.*; public dynamic class 51_103 extends MovieClip { public var house:MovieClip; public var flag:MovieClip; public var unit:MovieClip; public var body:MovieClip; } }//package TDW_E__fla
Section 56
//MainTimeline (TDW_E__fla.MainTimeline) package TDW_E__fla { import flash.display.*; import flash.events.*; import mochi.as3.*; import flash.media.*; import flash.geom.*; import flash.net.*; import flash.utils.*; import flash.system.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.text.*; import flash.ui.*; import flash.xml.*; public dynamic class MainTimeline extends MovieClip { public var l_pos:Point; public var se_fire:Sound; public var danger_point_min:int; public var war_TotalUnitCnt_disp:Array; public var wrk_obj2:Object; public var buy_target_id:int; public var ai_send_id:int; public var se_earth:Sound; public var fade_flg:Boolean; public var color_black:ColorTransform; public var ken_UnitEndCnt:Array; public var war_AI_Tac:Array; public var Unit_Max:int; public var se_tac:Sound; public var war_Adj_DEF_S:Array; public var war_Adj_DEF_L:Array; public var se_sniper2:Sound; public var se_SIZUKU_fall_flg:Boolean; public var se_SIZUKU_hit_flg:Boolean; public var se_hone_yarare_flg:Boolean; public var wrk_rad:Number; public var mouse_old_y:Number; public var mouse_old_x:Number; public var color_white:ColorTransform; public var old_x:Number; public var old_y:Number; public var game_mode2:String; public var game_mode3:String; public var win_aj_x:Number; public var win_aj_y:Number; public var gold:Array; public var i:int; public var j:int; public var k:int; public var ken_atk_id:int; public var se_bomb:Sound; public var war_Adj_ATK:Array; public var ken_side:Array; public var war_time_cnt:int; public var turn:int; public var now_ken_id:int; public var anti_yumi:Number; public var boss_flg:Boolean; public var war_Tac_No:Array; public var se_bomb_flg:Boolean; public var wrk_flg:Boolean; public var dis:Number; public var se_warcry:Sound; public var war_Sien:Array; public var ken_link_data:Array; public var se_yumi_flg:Boolean; public var war_Anti_Tac:Array; public var se_warcry_flg:Boolean; public var help_mode2:int; public var se_fire_ball:Sound; public var se_repair_flg:Boolean; public var wrk_dis:Number; public var send_cnt_min:int; public var buy_unit_flg:Boolean; public var ken_Bld:Array; public var win_x:Number; public var se_heal_flg:Boolean; public var se_sniper2_flg:Boolean; public var ai_enemy_cnt:int; public var win_y:Number; public var battle_point_now:int; public var haya_flg:Boolean; public var war_Capture:Array; public var se_lose:Sound; public var wrk_y:Number; public var live:Array; public var war_UnitMode:Array; public var se_sien_flg:Boolean; public var wrk:Number; public var wrk_power:Number; public var wrk_x:Number; public var buy_unit_id:int; public var ken_cnt:int; public var dis_x:Number; public var dis_y:Number; public var war_Heal:Array; public var def_point:Array; public var se_poko_flg:Boolean; public var se_yari:Sound; public var id:int; public var se_sniper_flg:Boolean; public var wrk_obj:Object; public var total_point:Array; public var war_TacUseMode:Array; public var tam_cost; public var se_alert:Sound; public var sound_flg:Boolean; public var link_enemy_flg:Boolean; public var se_gameover_flg:Boolean; public var menu_btn_flg:Boolean; public var se_boss:Sound; public var se_earth_flg:Boolean; public var atk_point:Array; public var wrk2:Number; public var color_normal:ColorTransform; public var se_alert_flg:Boolean; public var win_disp_xs:Number; public var se_16t_hit:Sound; public var se_smoke:Sound; public var se_click:Sound; public var se_ending_flg:Boolean; public var info_flg:Boolean; public var selected_id:int; public var se_fire_bomb:Sound; public var war_Wall_ID:int; public var se_poko:Sound; public var anti_tac:Number; public var win_disp_ys:Number; public var se_metal_flg:Boolean; public var war_TotalUnitCnt:Array; public var color_shadow:ColorTransform; public var se_pon_flg:Boolean; public var war_start_x; public var se_SIZUKU_fall:Sound; public var ken_TotalUnitCnt:Array; public var wrk_max:int; public var wrk_cnt:int; public var war_Tac_Flg:Array; public var drag_x1:Number; public var ai_flg1:Array; public var ai_flg3:Array; public var ai_flg7:Array; public var ken_Special; public var ai_flg2:Array; public var ai_flg4:Array; public var ai_flg5:Array; public var war_Wall_LV:int; public var ken_color:Array; public var color_red:ColorTransform; public var ai_flg8:Array; public var war_drag_id:int; public var se_16t_fall_flg:Boolean; public var se_katana:Sound; public var se_holy_flg:Boolean; public var selected_cnt:int; public var se_dora:Sound; public var tam_pow; public var game_mode:String; public var war_PlayerSide:int; public var se_wind:Sound; public var income:int; public var war_end_cnt:int; public var war_Adj_DEF:Array; public var se_flash_flg:Boolean; public var war_Adj_SPEED:Array; public var se_dora_flg:Boolean; public var se_brain_flg:Boolean; public var se_save_flg:Boolean; public var drag_y1:Number; public var se_shuriken_flg:Boolean; public var ken_income:Array; public var war_Escape_UnitCnt:int; public var se_16t_hit_flg:Boolean; public var drag_x2:Number; public var se_swing_flg:Boolean; public var se_ikimono:Sound; public var se_fire_bomb_flg:Boolean; public var player_flg:Boolean; public var wrk_rot:Number; public var drag_y2:Number; public var se_kaminari_flg:Boolean; public var se_16t_fall:Sound; public var se_repair:Sound; public var se_fire_flg:Boolean; public var se_cannon_flg:Boolean; public var alw_x2:Number; public var alw_x3:Number; public var alw_x4:Number; public var alw_x6:Number; public var alw_x1:Number; public var mini_self:Object; public var se_yarare:Array; public var se_buy_flg:Boolean; public var se_hone_attack:Sound; public var alw_x5:Number; public var se_nagi_flg:Boolean; public var send_point_max:int; public var se_knight_sword_flg:Boolean; public var win_xx:Number; public var alw_y2:Number; public var alw_y5:Number; public var ken_UnitCnt:Array; public var alw_y4:Number; public var alw_y6:Number; public var se_yarare_flg:Array; public var so:SharedObject; public var alw_y7:Number; public var win_yy:Number; public var alw_y3:Number; public var ai_send_cnt:int; public var war_UnitCnt_Brain:Array; public var tech_tac:Array; public var war_Mes_Cnt:Array; public var war_CannonCnt:int; public var tech_tam:Array; public var alw_x7:Number; public var minimode:Boolean; public var tp:int; public var bar1:MovieClip; public var bar2:MovieClip; public var wrk_min:int; public var alw_xg:Number; public var alw_y1:Number; public var pause_flg:Boolean; public var se_SIZUKU_hit:Sound; public var g_pos:Point; public var se_knight_sword:Sound; public var wrk_txt:String; public var ai_wall_flg:Boolean; public var alw_ys:Number; public var trans:SoundTransform; public var war_Tac_Cnt:Array; public var war_dammage:Number; public var target_ken:int; public var se_yari_flg:Boolean; public var se_holy:Sound; public var battle_point_adj:int; public var war_Brain:Array; public var alw_xs:Number; public var alw_yg:Number; public var se_brain:Sound; public var wrk_id:int; public var war_UnitCnt:Array; public var se_swing:Sound; public var slidemode:Boolean; public var war_Sippai:Array; public var se_metal:Sound; public var se_poi:Sound; public var visual_flg:Number; public var se_fire_ball_flg:Boolean; public var se_pon:Sound; public var war_TotalUnitCnt_start:Array; public var drag_flg:Boolean; public var se_kaminari:Sound; public var war_UnitID:Array; public var se_wind_flg:Boolean; public var se_brake:Sound; public var se_escape:Sound; public var se_gameover:Sound; public var se_buy:Sound; public var danger_point_max:int; public var se_ikimono_flg:Boolean; public var s_obj:Object; public var send_point_min:int; public var e_id:int; public var player_id:int; public var war_UnitX:Array; public var info_ken:int; public var battle_point:int; public var se_tac_flg:Boolean; public var se_sien:Sound; public var wrk_side:int; public var alw_flg:Boolean; public var se_save:Sound; public var wrk_wheel:Number; public var se_shuriken:Sound; public var ai_flg10:Array; public var ai_build_ootama_flg:Boolean; public var mouse_target_id:int; public var ai_flg11:Array; public var ai_flg12:Array; public var se_sniper:Sound; public var se_click_flg:Boolean; public var se_lose_flg:Boolean; public var se_yumi:Sound; public var se_cannon:Sound; public var ai_unit_point:int; public var buy_bld_flg:Boolean; public var se_hone_yarare:Sound; public var mini_x1:Number; public var se_nagi:Sound; public var link_cnt:int; public var se_brake_flg:Boolean; public var mini_x2:Number; public var se_escape_flg:Boolean; public var info_idx:int; public var se_ending:Sound; public var se_heal:Sound; public var dict:Dictionary; public var ai_build_flg:Boolean; public var mini_y1:Number; public var mini_y2:Number; public var se_flash:Sound; public var send_cnt_max:int; public var war_Escape_Mode:Number; public var se_boss_flg:Boolean; public var se_hone_attack_flg:Boolean; public var ken_def_id:int; public var help_mode:int; public var se_smoke_flg:Boolean; public var se_katana_flg:Boolean; public var scroll_flg:Boolean; public var anti_ken:Number; public var se_poi_flg:Boolean; public function MainTimeline(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4); } public function checkBytes(_arg1:Event){ var _local2:*; _local2 = (this.loaderInfo.bytesLoaded / this.loaderInfo.bytesTotal); bar1.scaleX = _local2; bar2.scaleX = _local2; if (_local2 >= 1){ complete(); }; } function frame2(){ this.addEventListener(Event.ENTER_FRAME, checkBytes); stop(); } public function data_load(){ var _local1:Array; var _local2:int; var _local3:Boolean; _local1 = new Array(); _local2 = 0; _local3 = true; if (so){ if (!(so.size) == 0){ _local2 = s_obj.player_id; player_id = _local2; _local2 = s_obj.turn; turn = _local2; _local2 = s_obj.now_ken_id; now_ken_id = _local2; _local3 = s_obj.boss_flg; boss_flg = _local3; _local1 = new Array(); _local1 = s_obj.live; i = 1; while (i <= 48) { live[i] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.ai_flg1; i = 1; while (i <= 48) { ai_flg1[i] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.ai_flg2; i = 1; while (i <= 48) { ai_flg2[i] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.ai_flg3; i = 1; while (i <= 48) { ai_flg3[i] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.ai_flg4; i = 1; while (i <= 48) { ai_flg4[i] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.ai_flg5; i = 1; while (i <= 48) { ai_flg5[i] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.ai_flg7; i = 1; while (i <= 48) { ai_flg7[i] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.ai_flg8; i = 1; while (i <= 48) { ai_flg8[i] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.ai_flg10; i = 1; while (i <= 48) { ai_flg10[i] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.ai_flg11; i = 1; while (i <= 48) { ai_flg11[i] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.ai_flg12; i = 1; while (i <= 48) { ai_flg12[i] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.gold; i = 1; while (i <= 48) { gold[i] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.tech_tam; i = 1; while (i <= 48) { tech_tam[i] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.tech_tac; i = 1; while (i <= 48) { tech_tac[i] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.ken_UnitCnt1; i = 1; while (i <= ken_cnt) { ken_UnitCnt[i][1] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.ken_UnitCnt2; i = 1; while (i <= ken_cnt) { ken_UnitCnt[i][2] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.ken_UnitCnt3; i = 1; while (i <= ken_cnt) { ken_UnitCnt[i][3] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.ken_UnitCnt4; i = 1; while (i <= ken_cnt) { ken_UnitCnt[i][4] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.ken_UnitCnt5; i = 1; while (i <= ken_cnt) { ken_UnitCnt[i][5] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.ken_UnitCnt6; i = 1; while (i <= ken_cnt) { ken_UnitCnt[i][6] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.ken_UnitCnt7; i = 1; while (i <= ken_cnt) { ken_UnitCnt[i][7] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.ken_UnitCnt8; i = 1; while (i <= ken_cnt) { ken_UnitCnt[i][8] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.ken_UnitCnt9; i = 1; while (i <= ken_cnt) { ken_UnitCnt[i][9] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.ken_UnitCnt10; i = 1; while (i <= ken_cnt) { ken_UnitCnt[i][10] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.ken_UnitCnt11; i = 1; while (i <= ken_cnt) { ken_UnitCnt[i][11] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.ken_UnitCnt12; i = 1; while (i <= ken_cnt) { ken_UnitCnt[i][12] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.ken_UnitCnt13; i = 1; while (i <= ken_cnt) { ken_UnitCnt[i][13] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.ken_UnitCnt14; i = 1; while (i <= ken_cnt) { ken_UnitCnt[i][14] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.ken_UnitCnt15; i = 1; while (i <= ken_cnt) { ken_UnitCnt[i][15] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.ken_UnitCnt16; i = 1; while (i <= ken_cnt) { ken_UnitCnt[i][16] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.ken_UnitEndCnt1; i = 1; while (i <= ken_cnt) { ken_UnitEndCnt[i][1] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.ken_UnitEndCnt2; i = 1; while (i <= ken_cnt) { ken_UnitEndCnt[i][2] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.ken_UnitEndCnt3; i = 1; while (i <= ken_cnt) { ken_UnitEndCnt[i][3] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.ken_UnitEndCnt4; i = 1; while (i <= ken_cnt) { ken_UnitEndCnt[i][4] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.ken_UnitEndCnt5; i = 1; while (i <= ken_cnt) { ken_UnitEndCnt[i][5] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.ken_UnitEndCnt6; i = 1; while (i <= ken_cnt) { ken_UnitEndCnt[i][6] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.ken_UnitEndCnt7; i = 1; while (i <= ken_cnt) { ken_UnitEndCnt[i][7] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.ken_UnitEndCnt8; i = 1; while (i <= ken_cnt) { ken_UnitEndCnt[i][8] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.ken_UnitEndCnt9; i = 1; while (i <= ken_cnt) { ken_UnitEndCnt[i][9] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.ken_UnitEndCnt10; i = 1; while (i <= ken_cnt) { ken_UnitEndCnt[i][10] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.ken_UnitEndCnt11; i = 1; while (i <= ken_cnt) { ken_UnitEndCnt[i][11] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.ken_UnitEndCnt12; i = 1; while (i <= ken_cnt) { ken_UnitEndCnt[i][12] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.ken_UnitEndCnt13; i = 1; while (i <= ken_cnt) { ken_UnitEndCnt[i][13] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.ken_UnitEndCnt14; i = 1; while (i <= ken_cnt) { ken_UnitEndCnt[i][14] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.ken_UnitEndCnt15; i = 1; while (i <= ken_cnt) { ken_UnitEndCnt[i][15] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.ken_UnitEndCnt16; i = 1; while (i <= ken_cnt) { ken_UnitEndCnt[i][16] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.ken_TotalUnitCnt; i = 1; while (i <= ken_cnt) { ken_TotalUnitCnt[i] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.ken_Bld; i = 1; while (i <= ken_cnt) { ken_Bld[i] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.ken_side; i = 1; while (i <= ken_cnt) { ken_side[i] = _local1[i]; i++; }; _local1 = new Array(); _local1 = s_obj.ken_income; i = 1; while (i <= ken_cnt) { ken_income[i] = _local1[i]; i++; }; }; }; } public function KenSelectMouseDown(_arg1:Event){ var _local2:Object; _local2 = _arg1.target.parent; if (_local2.id > 0){ player_id = _local2.id; se_click_flg = true; game_mode = "ken_select_close"; }; } function frame3(){ this.stop(); } function frame1(){ MochiAd.showPreGameAd({clip:root, id:"d2065402161055f2", res:"640x480"}); } public function data_save(){ var _local1:Array; var _local2:int; var _local3:Boolean; var _local4:*; _local1 = new Array(); _local2 = 0; _local3 = true; _local2 = player_id; s_obj.player_id = _local2; _local2 = turn; s_obj.turn = _local2; _local2 = now_ken_id; s_obj.now_ken_id = _local2; _local3 = boss_flg; s_obj.boss_flg = _local3; _local1 = new Array(); i = 1; while (i <= 48) { _local1[i] = live[i]; i++; }; s_obj.live = _local1; _local1 = new Array(); i = 1; while (i <= 48) { _local1[i] = ai_flg1[i]; i++; }; s_obj.ai_flg1 = _local1; _local1 = new Array(); i = 1; while (i <= 48) { _local1[i] = ai_flg2[i]; i++; }; s_obj.ai_flg2 = _local1; _local1 = new Array(); i = 1; while (i <= 48) { _local1[i] = ai_flg3[i]; i++; }; s_obj.ai_flg3 = _local1; _local1 = new Array(); i = 1; while (i <= 48) { _local1[i] = ai_flg4[i]; i++; }; s_obj.ai_flg4 = _local1; _local1 = new Array(); i = 1; while (i <= 48) { _local1[i] = ai_flg5[i]; i++; }; s_obj.ai_flg5 = _local1; _local1 = new Array(); i = 1; while (i <= 48) { _local1[i] = ai_flg7[i]; i++; }; s_obj.ai_flg7 = _local1; _local1 = new Array(); i = 1; while (i <= 48) { _local1[i] = ai_flg8[i]; i++; }; s_obj.ai_flg8 = _local1; _local1 = new Array(); i = 1; while (i <= 48) { _local1[i] = ai_flg10[i]; i++; }; s_obj.ai_flg10 = _local1; _local1 = new Array(); i = 1; while (i <= 48) { _local1[i] = ai_flg11[i]; i++; }; s_obj.ai_flg11 = _local1; _local1 = new Array(); i = 1; while (i <= 48) { _local1[i] = ai_flg12[i]; i++; }; s_obj.ai_flg12 = _local1; _local1 = new Array(); i = 1; while (i <= 48) { _local1[i] = gold[i]; i++; }; s_obj.gold = _local1; _local1 = new Array(); i = 1; while (i <= 48) { _local1[i] = tech_tam[i]; i++; }; s_obj.tech_tam = _local1; _local1 = new Array(); i = 1; while (i <= 48) { _local1[i] = tech_tac[i]; i++; }; s_obj.tech_tac = _local1; _local1 = new Array(); i = 1; while (i <= ken_cnt) { _local1[i] = ken_UnitCnt[i][1]; i++; }; s_obj.ken_UnitCnt1 = _local1; _local1 = new Array(); i = 1; while (i <= ken_cnt) { _local1[i] = ken_UnitCnt[i][2]; i++; }; s_obj.ken_UnitCnt2 = _local1; _local1 = new Array(); i = 1; while (i <= ken_cnt) { _local1[i] = ken_UnitCnt[i][3]; i++; }; s_obj.ken_UnitCnt3 = _local1; _local1 = new Array(); i = 1; while (i <= ken_cnt) { _local1[i] = ken_UnitCnt[i][4]; i++; }; s_obj.ken_UnitCnt4 = _local1; _local1 = new Array(); i = 1; while (i <= ken_cnt) { _local1[i] = ken_UnitCnt[i][5]; i++; }; s_obj.ken_UnitCnt5 = _local1; _local1 = new Array(); i = 1; while (i <= ken_cnt) { _local1[i] = ken_UnitCnt[i][6]; i++; }; s_obj.ken_UnitCnt6 = _local1; _local1 = new Array(); i = 1; while (i <= ken_cnt) { _local1[i] = ken_UnitCnt[i][7]; i++; }; s_obj.ken_UnitCnt7 = _local1; _local1 = new Array(); i = 1; while (i <= ken_cnt) { _local1[i] = ken_UnitCnt[i][8]; i++; }; s_obj.ken_UnitCnt8 = _local1; _local1 = new Array(); i = 1; while (i <= ken_cnt) { _local1[i] = ken_UnitCnt[i][9]; i++; }; s_obj.ken_UnitCnt9 = _local1; _local1 = new Array(); i = 1; while (i <= ken_cnt) { _local1[i] = ken_UnitCnt[i][10]; i++; }; s_obj.ken_UnitCnt10 = _local1; _local1 = new Array(); i = 1; while (i <= ken_cnt) { _local1[i] = ken_UnitCnt[i][11]; i++; }; s_obj.ken_UnitCnt11 = _local1; _local1 = new Array(); i = 1; while (i <= ken_cnt) { _local1[i] = ken_UnitCnt[i][12]; i++; }; s_obj.ken_UnitCnt12 = _local1; _local1 = new Array(); i = 1; while (i <= ken_cnt) { _local1[i] = ken_UnitCnt[i][13]; i++; }; s_obj.ken_UnitCnt13 = _local1; _local1 = new Array(); i = 1; while (i <= ken_cnt) { _local1[i] = ken_UnitCnt[i][14]; i++; }; s_obj.ken_UnitCnt14 = _local1; _local1 = new Array(); i = 1; while (i <= ken_cnt) { _local1[i] = ken_UnitCnt[i][15]; i++; }; s_obj.ken_UnitCnt15 = _local1; _local1 = new Array(); i = 1; while (i <= ken_cnt) { _local1[i] = ken_UnitCnt[i][16]; i++; }; s_obj.ken_UnitCnt16 = _local1; _local1 = new Array(); i = 1; while (i <= ken_cnt) { _local1[i] = ken_UnitEndCnt[i][1]; i++; }; s_obj.ken_UnitEndCnt1 = _local1; _local1 = new Array(); i = 1; while (i <= ken_cnt) { _local1[i] = ken_UnitEndCnt[i][2]; i++; }; s_obj.ken_UnitEndCnt2 = _local1; _local1 = new Array(); i = 1; while (i <= ken_cnt) { _local1[i] = ken_UnitEndCnt[i][3]; i++; }; s_obj.ken_UnitEndCnt3 = _local1; _local1 = new Array(); i = 1; while (i <= ken_cnt) { _local1[i] = ken_UnitEndCnt[i][4]; i++; }; s_obj.ken_UnitEndCnt4 = _local1; _local1 = new Array(); i = 1; while (i <= ken_cnt) { _local1[i] = ken_UnitEndCnt[i][5]; i++; }; s_obj.ken_UnitEndCnt5 = _local1; _local1 = new Array(); i = 1; while (i <= ken_cnt) { _local1[i] = ken_UnitEndCnt[i][6]; i++; }; s_obj.ken_UnitEndCnt6 = _local1; _local1 = new Array(); i = 1; while (i <= ken_cnt) { _local1[i] = ken_UnitEndCnt[i][7]; i++; }; s_obj.ken_UnitEndCnt7 = _local1; _local1 = new Array(); i = 1; while (i <= ken_cnt) { _local1[i] = ken_UnitEndCnt[i][8]; i++; }; s_obj.ken_UnitEndCnt8 = _local1; _local1 = new Array(); i = 1; while (i <= ken_cnt) { _local1[i] = ken_UnitEndCnt[i][9]; i++; }; s_obj.ken_UnitEndCnt9 = _local1; _local1 = new Array(); i = 1; while (i <= ken_cnt) { _local1[i] = ken_UnitEndCnt[i][10]; i++; }; s_obj.ken_UnitEndCnt10 = _local1; _local1 = new Array(); i = 1; while (i <= ken_cnt) { _local1[i] = ken_UnitEndCnt[i][11]; i++; }; s_obj.ken_UnitEndCnt11 = _local1; _local1 = new Array(); i = 1; while (i <= ken_cnt) { _local1[i] = ken_UnitEndCnt[i][12]; i++; }; s_obj.ken_UnitEndCnt12 = _local1; _local1 = new Array(); i = 1; while (i <= ken_cnt) { _local1[i] = ken_UnitEndCnt[i][13]; i++; }; s_obj.ken_UnitEndCnt13 = _local1; _local1 = new Array(); i = 1; while (i <= ken_cnt) { _local1[i] = ken_UnitEndCnt[i][14]; i++; }; s_obj.ken_UnitEndCnt14 = _local1; _local1 = new Array(); i = 1; while (i <= ken_cnt) { _local1[i] = ken_UnitEndCnt[i][15]; i++; }; s_obj.ken_UnitEndCnt15 = _local1; _local1 = new Array(); i = 1; while (i <= ken_cnt) { _local1[i] = ken_UnitEndCnt[i][16]; i++; }; s_obj.ken_UnitEndCnt16 = _local1; _local1 = new Array(); i = 1; while (i <= ken_cnt) { _local1[i] = ken_TotalUnitCnt[i]; i++; }; s_obj.ken_TotalUnitCnt = _local1; _local1 = new Array(); i = 1; while (i <= ken_cnt) { _local1[i] = ken_Bld[i]; i++; }; s_obj.ken_Bld = _local1; _local1 = new Array(); i = 1; while (i <= ken_cnt) { _local1[i] = ken_side[i]; i++; }; s_obj.ken_side = _local1; _local1 = new Array(); i = 1; while (i <= ken_cnt) { _local1[i] = ken_income[i]; i++; }; s_obj.ken_income = _local1; _local4 = so.flush(); dict["btn_load"].alpha = 1; switch (_local4){ case SharedObjectFlushStatus.FLUSHED: break; case SharedObjectFlushStatus.PENDING: break; }; } public function complete(){ this.removeEventListener(Event.ENTER_FRAME, checkBytes); this.gotoAndStop(4); } public function unit_y_adj(_arg1, _arg2){ var _local3:int; _local3 = 0; wrk = (320 / war_UnitCnt[_arg1][_arg2]); wrk_cnt = 0; _local3 = 1; while (_local3 <= id) { if (dict[_local3]){ if ((((((dict[_local3].side == _arg1)) && ((dict[_local3].type == _arg2)))) && (dict[_local3].live_flg))){ wrk_cnt++; dict[_local3].dy = (65 + ((wrk * wrk_cnt) - (wrk / 2))); }; }; _local3++; }; } public function StageMouseUp(_arg1:Event){ drag_flg = false; minimode = false; slidemode = false; scroll_flg = false; war_drag_id = -1; } function frame4(){ so = SharedObject.getLocal("todoufuken"); s_obj = so.data; game_mode = "ad_set_up"; game_mode2 = ""; game_mode3 = ""; Unit_Max = 25; dict = new Dictionary(); wrk_obj = new Object(); wrk_obj2 = new Object(); id = 0; e_id = 0; mouse_target_id = 0; tp = 0; i = 0; j = 0; k = 0; wrk = 0; wrk2 = 0; wrk_x = 0; wrk_y = 0; wrk_rot = 0; wrk_power = 0; wrk_rad = 0; wrk_id = 0; wrk_side = 0; wrk_txt = ""; wrk_cnt = 0; wrk_flg = true; sound_flg = true; pause_flg = false; visual_flg = 0; fade_flg = false; boss_flg = false; haya_flg = false; trans = new SoundTransform(); trans.volume = 0.3; se_yarare_flg = new Array(); se_yarare = new Array(); se_yarare[0] = new WAV_YARARE1(); se_yarare[1] = new WAV_YARARE2(); se_yarare[2] = new WAV_YARARE3(); se_yarare_flg[0] = false; se_yarare_flg[1] = false; se_yarare_flg[2] = false; se_click = new WAV_CLICK(); se_click_flg = false; se_poi = new WAV_POI(); se_poi_flg = false; se_buy = new WAV_BUY(); se_buy_flg = false; se_poko = new WAV_POKO(); se_poko_flg = false; se_save = new WAV_SAVE(); se_save_flg = false; se_swing = new WAV_SWING(); se_swing_flg = false; se_yumi = new WAV_YUMI(); se_yumi_flg = false; se_metal = new WAV_METAL(); se_metal_flg = false; se_cannon = new WAV_CANNON(); se_cannon_flg = false; se_bomb = new WAV_BOMB(); se_bomb_flg = false; se_repair = new WAV_REPAIR(); se_repair_flg = false; se_wind = new WAV_WIND(); se_wind_flg = false; se_fire = new WAV_FIRE(); se_fire_flg = false; se_earth = new WAV_EARTH(); se_earth_flg = false; se_smoke = new WAV_SMOKE(); se_smoke_flg = false; se_tac = new WAV_TAC(); se_tac_flg = false; se_16t_fall = new WAV_16t_FALL(); se_16t_fall_flg = false; se_16t_hit = new WAV_16t_HIT(); se_16t_hit_flg = false; se_SIZUKU_fall = new WAV_SIZUKU_FALL(); se_SIZUKU_fall_flg = false; se_SIZUKU_hit = new WAV_SIZUKU_HIT(); se_SIZUKU_hit_flg = false; se_heal = new WAV_HEAL(); se_heal_flg = false; se_flash = new WAV_FLASH(); se_flash_flg = false; se_holy = new WAV_HOLY(); se_holy_flg = false; se_hone_attack = new WAV_HONE_ATTACK(); se_hone_attack_flg = false; se_hone_yarare = new WAV_HONE_YARARE(); se_hone_yarare_flg = false; se_brake = new WAV_BRAKE(); se_brake_flg = false; se_brain = new WAV_BRAIN(); se_brain_flg = false; se_yari = new WAV_YARI(); se_yari_flg = false; se_katana = new WAV_KATANA(); se_katana_flg = false; se_shuriken = new WAV_SHURIKEN(); se_shuriken_flg = false; se_fire_ball = new WAV_FIRE_BALL(); se_fire_ball_flg = false; se_fire_bomb = new WAV_FIRE_BOMB(); se_fire_bomb_flg = false; se_sniper = new WAV_SNIPER(); se_sniper_flg = false; se_sniper2 = new WAV_SNIPER2(); se_sniper2_flg = false; se_knight_sword = new WAV_KNIGHT_SWORD(); se_knight_sword_flg = false; se_nagi = new WAV_NAGI(); se_nagi_flg = false; se_escape = new WAV_ESCAPE(); se_escape_flg = false; se_warcry = new WAV_WARCRY(); se_warcry_flg = false; se_sien = new WAV_TOBI_BOMB(); se_sien_flg = false; se_lose = new WAV_LOSE(); se_lose_flg = false; se_pon = new WAV_PON(); se_pon_flg = false; se_dora = new WAV_DORA(); se_dora_flg = false; se_ikimono = new WAV_IKIMONO(); se_ikimono_flg = false; se_kaminari = new WAV_KAMINARI(); se_kaminari_flg = false; se_boss = new WAV_BOSS(); se_boss_flg = false; se_alert = new WAV_ALERT(); se_alert_flg = false; se_gameover = new WAV_GAMEOVER(); se_gameover_flg = false; se_ending = new WAV_ENDING(); se_ending_flg = false; ken_link_data = new Array(); ken_link_data[1] = [2, 49]; ken_link_data[2] = [1, 3, 4]; ken_link_data[3] = [2, 4, 5]; ken_link_data[4] = [2, 3, 6]; ken_link_data[5] = [3, 6, 7, 8]; ken_link_data[6] = [4, 5, 8]; ken_link_data[7] = [5, 8, 11, 12, 13]; ken_link_data[8] = [5, 6, 7, 9, 13, 14]; ken_link_data[9] = [8, 10, 14, 15]; ken_link_data[10] = [9, 15, 16]; ken_link_data[11] = [7, 12, 20, 22]; ken_link_data[12] = [7, 11, 13, 15, 18, 19, 20, 21]; ken_link_data[13] = [7, 8, 12, 14, 15]; ken_link_data[14] = [8, 9, 13, 15]; ken_link_data[15] = [9, 10, 12, 13, 14, 16, 18]; ken_link_data[16] = [10, 15, 17, 18]; ken_link_data[17] = [16, 18, 19]; ken_link_data[18] = [12, 15, 16, 17, 19]; ken_link_data[19] = [12, 17, 18, 21]; ken_link_data[20] = [11, 12, 21, 22, 23, 24]; ken_link_data[21] = [12, 19, 20, 25]; ken_link_data[22] = [11, 20, 23, 50]; ken_link_data[23] = [20, 22, 24, 26]; ken_link_data[24] = [20, 23, 25, 26]; ken_link_data[25] = [21, 24, 27, 29]; ken_link_data[26] = [23, 24, 27, 28, 30]; ken_link_data[27] = [25, 26, 28, 29]; ken_link_data[28] = [26, 27, 29, 30, 36]; ken_link_data[29] = [25, 27, 28]; ken_link_data[30] = [26, 28, 31, 32]; ken_link_data[31] = [30, 32, 33]; ken_link_data[32] = [30, 31, 34]; ken_link_data[33] = [31, 34, 35]; ken_link_data[34] = [32, 33, 35]; ken_link_data[35] = [33, 34, 40]; ken_link_data[36] = [28, 37, 38]; ken_link_data[37] = [36, 38, 39]; ken_link_data[38] = [36, 37, 39, 40]; ken_link_data[39] = [37, 38]; ken_link_data[40] = [35, 41, 42, 45, 38]; ken_link_data[41] = [40, 44, 45]; ken_link_data[42] = [40, 43, 45]; ken_link_data[43] = [42, 46]; ken_link_data[44] = [41, 45, 47]; ken_link_data[45] = [40, 41, 42, 44]; ken_link_data[46] = [43, 48]; ken_link_data[47] = [44]; ken_link_data[48] = [46, 50, 51]; ken_link_data[49] = [1, 50, 51]; ken_link_data[50] = [22, 48, 49, 51]; ken_link_data[51] = [48, 49, 50]; ken_Special = [-1, 0, 5, 2, 9, 2, 3, 0, 9, 1, 9, 2, 3, 2, 1, 2, 1, 6, 0, 1, 8, 3, 9, 4, 6, 6, 1, 4, 7, 5, 3, 2, 8, 6, 4, 9, 2, 1, 2, 1, 0, 2, 1, 9, 7, 3, 1, 3, 10, 10, 10, 10]; ken_color = new Array(); ken_color[1] = new ColorTransform(1, 1, 1, 1, 64, 64, 64, 0); ken_color[2] = new ColorTransform(1, 1, 1, 1, 128, 64, 64, 0); ken_color[3] = new ColorTransform(1, 1, 1, 1, 192, 64, 64, 0); ken_color[4] = new ColorTransform(1, 1, 1, 1, 0xFF, 64, 64, 0); ken_color[5] = new ColorTransform(1, 1, 1, 1, 64, 128, 64, 0); ken_color[6] = new ColorTransform(1, 1, 1, 1, 128, 128, 64, 0); ken_color[7] = new ColorTransform(1, 1, 1, 1, 192, 128, 64, 0); ken_color[8] = new ColorTransform(1, 1, 1, 1, 0xFF, 128, 64, 0); ken_color[9] = new ColorTransform(1, 1, 1, 1, 64, 192, 64, 0); ken_color[10] = new ColorTransform(1, 1, 1, 1, 128, 192, 64, 0); ken_color[11] = new ColorTransform(1, 1, 1, 1, 192, 192, 64, 0); ken_color[12] = new ColorTransform(1, 1, 1, 1, 0xFF, 192, 64, 0); ken_color[13] = new ColorTransform(1, 1, 1, 1, 64, 0xFF, 64, 0); ken_color[14] = new ColorTransform(1, 1, 1, 1, 128, 0xFF, 64, 0); ken_color[15] = new ColorTransform(1, 1, 1, 1, 192, 0xFF, 64, 0); ken_color[16] = new ColorTransform(1, 1, 1, 1, 0xFF, 0xFF, 64, 0); ken_color[17] = new ColorTransform(1, 1, 1, 1, 64, 64, 128, 0); ken_color[18] = new ColorTransform(1, 1, 1, 1, 128, 64, 128, 0); ken_color[19] = new ColorTransform(1, 1, 1, 1, 192, 64, 128, 0); ken_color[20] = new ColorTransform(1, 1, 1, 1, 0xFF, 64, 128, 0); ken_color[21] = new ColorTransform(1, 1, 1, 1, 64, 128, 128, 0); ken_color[22] = new ColorTransform(1, 1, 1, 1, 128, 128, 128, 0); ken_color[23] = new ColorTransform(1, 1, 1, 1, 192, 128, 128, 0); ken_color[24] = new ColorTransform(1, 1, 1, 1, 0xFF, 128, 128, 0); ken_color[25] = new ColorTransform(1, 1, 1, 1, 64, 192, 128, 0); ken_color[26] = new ColorTransform(1, 1, 1, 1, 128, 192, 128, 0); ken_color[27] = new ColorTransform(1, 1, 1, 1, 192, 192, 128, 0); ken_color[28] = new ColorTransform(1, 1, 1, 1, 0xFF, 192, 128, 0); ken_color[29] = new ColorTransform(1, 1, 1, 1, 64, 0xFF, 128, 0); ken_color[30] = new ColorTransform(1, 1, 1, 1, 128, 0xFF, 128, 0); ken_color[31] = new ColorTransform(1, 1, 1, 1, 192, 0xFF, 128, 0); ken_color[32] = new ColorTransform(1, 1, 1, 1, 0xFF, 0xFF, 128, 0); ken_color[33] = new ColorTransform(1, 1, 1, 1, 64, 64, 192, 0); ken_color[34] = new ColorTransform(1, 1, 1, 1, 128, 64, 192, 0); ken_color[35] = new ColorTransform(1, 1, 1, 1, 192, 64, 192, 0); ken_color[36] = new ColorTransform(1, 1, 1, 1, 0xFF, 64, 192, 0); ken_color[37] = new ColorTransform(1, 1, 1, 1, 64, 128, 192, 0); ken_color[38] = new ColorTransform(1, 1, 1, 1, 128, 128, 192, 0); ken_color[39] = new ColorTransform(1, 1, 1, 1, 192, 128, 192, 0); ken_color[40] = new ColorTransform(1, 1, 1, 1, 0xFF, 128, 192, 0); ken_color[41] = new ColorTransform(1, 1, 1, 1, 64, 192, 192, 0); ken_color[42] = new ColorTransform(1, 1, 1, 1, 128, 192, 192, 0); ken_color[43] = new ColorTransform(1, 1, 1, 1, 192, 192, 192, 0); ken_color[44] = new ColorTransform(1, 1, 1, 1, 0xFF, 192, 192, 0); ken_color[45] = new ColorTransform(1, 1, 1, 1, 64, 0xFF, 192, 0); ken_color[46] = new ColorTransform(1, 1, 1, 1, 128, 0xFF, 192, 0); ken_color[47] = new ColorTransform(1, 1, 1, 1, 192, 0xFF, 192, 0); ken_color[48] = new ColorTransform(1, 1, 1, 1, 32, 32, 32, 0); ken_color[49] = new ColorTransform(1, 1, 1, 1, 32, 32, 32, 0); ken_color[50] = new ColorTransform(1, 1, 1, 1, 32, 32, 32, 0); ken_color[51] = new ColorTransform(1, 1, 1, 1, 32, 32, 32, 0); color_shadow = new ColorTransform(0, 0, 0, 1, 0, 0, 0, 0); color_normal = new ColorTransform(1, 1, 1, 1, 0, 0, 0, 0); color_black = new ColorTransform(0.1, 0.1, 0.1, 1, 128, 128, 128, 0); color_red = new ColorTransform(2, -2, -2, 1, 0xFF, -255, -255, 0); color_white = new ColorTransform(2, 2, 2, 1, 0xFF, 0xFF, 0xFF, 0); mini_x1 = 0; mini_x2 = 0; mini_y1 = 0; mini_y2 = 0; win_x = 0; win_y = 0; win_aj_x = 0; win_aj_y = 0; win_disp_xs = 0; win_disp_ys = 0; win_xx = 0; win_yy = 0; minimode = false; old_x = 0; old_y = 0; slidemode = false; wrk_dis = 0; wrk_wheel = 0; scroll_flg = false; mouse_old_x = 0; mouse_old_y = 0; turn = 0; now_ken_id = 0; player_id = 0; player_flg = false; live = new Array(); gold = new Array(); tech_tam = new Array(); tech_tac = new Array(); wrk_max = 0; wrk_min = 0; target_ken = 0; battle_point = 0; battle_point_now = 0; battle_point_adj = 0; danger_point_max = 0; danger_point_min = 0; send_point_max = 0; send_point_min = 0; send_cnt_max = 0; send_cnt_min = 0; ai_unit_point = 0; ai_wall_flg = false; ai_build_flg = false; ai_build_ootama_flg = false; ai_enemy_cnt = 0; ai_send_id = 0; ai_send_cnt = 0; ai_flg1 = new Array(); ai_flg2 = new Array(); ai_flg3 = new Array(); ai_flg4 = new Array(); ai_flg5 = new Array(); ai_flg7 = new Array(); ai_flg8 = new Array(); ai_flg10 = new Array(); ai_flg11 = new Array(); ai_flg12 = new Array(); ken_cnt = 51; ken_side = new Array(); ken_income = new Array(); ken_TotalUnitCnt = new Array(); ken_UnitCnt = new Array(); ken_UnitEndCnt = new Array(); ken_Bld = new Array(); income = 0; i = 1; while (i <= ken_cnt) { ken_UnitCnt[i] = new Array(); ken_UnitEndCnt[i] = new Array(); i++; }; ken_atk_id = 0; ken_def_id = 0; war_UnitID = new Array(); war_UnitCnt = new Array(); war_UnitCnt_Brain = new Array(); war_TotalUnitCnt = new Array(); war_TotalUnitCnt_start = new Array(); war_TotalUnitCnt_disp = new Array(); war_UnitMode = new Array(); war_UnitX = new Array(); war_time_cnt = 0; war_drag_id = 0; war_start_x = [0, 219, 84, 273, 192, 138, 111, 165, 57, 30, 246, 300, 150, 0, 30, 30, 30, 30]; war_Escape_UnitCnt = 0; war_Escape_Mode = 0; war_Wall_ID = 0; war_PlayerSide = 0; war_Wall_LV = 0; war_CannonCnt = 0; war_TacUseMode = new Array(); war_Tac_Flg = new Array(); war_Tac_No = new Array(); war_Tac_Cnt = new Array(); war_Adj_SPEED = new Array(); war_Adj_ATK = new Array(); war_Adj_DEF = new Array(); war_Adj_DEF_S = new Array(); war_Adj_DEF_L = new Array(); war_Mes_Cnt = new Array(); war_Capture = new Array(); war_Brain = new Array(); war_Heal = new Array(); war_Sien = new Array(); war_Sippai = new Array(); war_Anti_Tac = new Array(); war_end_cnt = 0; war_AI_Tac = new Array(); total_point = new Array(); atk_point = new Array(); def_point = new Array(); anti_ken = 0; anti_yumi = 0; anti_tac = 0; war_dammage = 0; info_flg = false; info_idx = 0; info_ken = 0; tam_cost = [0, 30, 30, 40, 40, 60, 60, 60, 80, 100, 100, 0, 0, 0]; tam_pow = [0, 2, 1, 3, 3, 3, 3, 4, 6, 6, 8, 1, 20, 2, 3, 5, 30]; drag_flg = false; drag_x1 = 0; drag_x2 = 0; drag_y1 = 0; drag_y2 = 0; selected_id = -1; selected_cnt = 0; link_cnt = 0; link_enemy_flg = false; menu_btn_flg = false; buy_bld_flg = false; buy_unit_flg = false; buy_unit_id = -1; buy_target_id = -1; alw_flg = false; alw_xs = 0; alw_ys = 0; alw_xg = 0; alw_yg = 0; alw_x1 = 0; alw_x2 = 0; alw_x3 = 0; alw_x4 = 0; alw_x5 = 0; alw_x6 = 0; alw_x7 = 0; alw_y1 = 0; alw_y2 = 0; alw_y3 = 0; alw_y4 = 0; alw_y5 = 0; alw_y6 = 0; alw_y7 = 0; dis_x = 0; dis_y = 0; dis = 0; l_pos = new Point(); g_pos = new Point(); help_mode = 0; help_mode2 = 0; dict["root"] = new Sprite(); Object(root).addChild(dict["root"]); dict["btn_visual"] = new BTN04_VISUAL(15, 465); dict["btn_visual"].visible = false; Object(root).addChild(dict["btn_visual"]); dict["btn_sound"] = new BTN05_SOUND(40, 465); dict["btn_sound"].visible = false; Object(root).addChild(dict["btn_sound"]); dict["btn_pause"] = new BTN03_PAUSE(65, 465); dict["btn_pause"].visible = false; Object(root).addChild(dict["btn_pause"]); dict["btn_speed"] = new BTN27_HAYAOKURI(90, 465); dict["btn_speed"].visible = false; Object(root).addChild(dict["btn_speed"]); dict["ad_Coolbuddy3"] = new ad_Coolbuddy3(165, 465); dict["ad_Coolbuddy3"].visible = false; Object(root).addChild(dict["ad_Coolbuddy3"]); dict["fade"] = new fade_effect(); dict["fade"].x = 0; dict["fade"].y = 0; dict["fade"].alpha = 0; dict["fade"].visible = false; Object(root).addChild(dict["fade"]); Mouse.hide(); dict["MOUSE"] = new MOU_C(); Object(root).addChild(dict["MOUSE"]); stage.addEventListener(MouseEvent.MOUSE_MOVE, function (_arg1:MouseEvent){ if (scroll_flg){ dict["MOUSE"].gotoAndStop(2); } else { dict["MOUSE"].gotoAndStop(1); }; dict["MOUSE"].x = stage.mouseX; dict["MOUSE"].y = stage.mouseY; _arg1.updateAfterEvent(); }); stage.addEventListener(MouseEvent.MOUSE_WHEEL, MouseWheelFunc); stage.addEventListener(Event.ENTER_FRAME, function (_arg1:Event){ switch (game_mode){ case "ad_set_up": dict["ad_Coolbuddy"] = new ad_Coolbuddy(-640, 240); dict["root"].addChild(dict["ad_Coolbuddy"]); j = 0; k = 0; game_mode = "ad_main"; break; case "ad_main": if (((!(Object(root).pause_flg)) && ((k == 0)))){ dict["ad_Coolbuddy"].x = (dict["ad_Coolbuddy"].x + ((320 - dict["ad_Coolbuddy"].x) / 8)); if (dict["ad_Coolbuddy"].x > 319){ k = 1; }; }; if (((!(Object(root).pause_flg)) && ((k == 1)))){ dict["ad_Coolbuddy"].x = 320; j++; if (j > 90){ k = 2; }; }; if (((!(Object(root).pause_flg)) && ((k == 2)))){ dict["ad_Coolbuddy"].x = (dict["ad_Coolbuddy"].x + ((960 - dict["ad_Coolbuddy"].x) / 8)); if (dict["ad_Coolbuddy"].x > 930){ game_mode = "ad_close"; }; }; break; case "ad_close": dict["ad_Coolbuddy"].kill(); dict["fade"].visible = true; dict["fade"].alpha = 1; dict["btn_visual"].visible = true; dict["btn_sound"].visible = true; dict["btn_pause"].visible = true; dict["btn_speed"].visible = true; dict["ad_Coolbuddy3"].visible = true; game_mode = "title_setup"; break; case "event_wait": break; case "title_setup": minimode = false; slidemode = false; drag_flg = false; if (fade_flg){ dict["fade"].alpha = (dict["fade"].alpha - 0.25); if (dict["fade"].alpha <= 0){ fade_flg = false; dict["fade"].visible = false; game_mode = "event_wait"; }; } else { dict["title"] = new title_bg(); dict["title"].x = 320; dict["title"].y = 103; dict["root"].addChild(dict["title"]); i = 1; while (i <= ken_cnt) { wrk_obj = dict["title"].map_bg.getChildByName(("ken" + i)); wrk_obj.getChildByName("body").transform.colorTransform = ken_color[i]; i++; }; dict["title"].map_bg.boss_line.visible = false; dict["title"].map_bg.ken48.visible = false; dict["title"].map_bg.ken49.visible = false; dict["title"].map_bg.ken50.visible = false; dict["title"].map_bg.ken51.visible = false; dict["ad_Coolbuddy"] = new ad_Coolbuddy2(320, 230); dict["root"].addChild(dict["ad_Coolbuddy"]); dict["btn_start"] = new BTN18_START(320, 290); dict["root"].addChild(dict["btn_start"]); dict["btn_continue"] = new BTN19_CONTINUE(320, 350); dict["root"].addChild(dict["btn_continue"]); dict["btn_continue"].alpha = 0.5; if (so){ if (!(so.size) == 0){ dict["btn_continue"].alpha = 1; }; }; dict["btn_help"] = new BTN20_HELP(320, 410); dict["root"].addChild(dict["btn_help"]); dict["btn_zigza"] = new ad_zigza(525, 472); dict["root"].addChild(dict["btn_zigza"]); fade_flg = true; }; break; case "title_close": if (((!(fade_flg)) && (!(dict["fade"].visible)))){ dict["fade"].visible = true; fade_flg = true; }; if (fade_flg){ dict["fade"].alpha = (dict["fade"].alpha + 0.25); if (dict["fade"].alpha >= 1){ fade_flg = false; }; } else { dict["root"].removeChild(dict["title"]); delete dict["title"]; dict["ad_Coolbuddy"].kill(); dict["root"].removeChild(dict["btn_start"]); delete dict["btn_start"]; dict["root"].removeChild(dict["btn_continue"]); delete dict["btn_continue"]; dict["root"].removeChild(dict["btn_help"]); delete dict["btn_help"]; dict["btn_zigza"].kill(); game_mode = game_mode2; }; break; case "asobikata": help_mode = 0; dict["help"] = new asobikata(); dict["root"].addChild(dict["help"]); dict["btn_next"] = new BTN24_NEXT(580, 450); dict["root"].addChild(dict["btn_next"]); dict["btn_back"] = new BTN25_BACK(450, 450); dict["root"].addChild(dict["btn_back"]); game_mode = "event_wait"; break; case "asobikata_close": dict["root"].removeChild(dict["help"]); delete dict["help"]; dict["btn_next"].kill(); dict["btn_back"].kill(); game_mode = "event_wait"; break; case "ken_select_setup": if (fade_flg){ dict["fade"].alpha = (dict["fade"].alpha - 0.25); if (dict["fade"].alpha <= 0){ fade_flg = false; dict["fade"].visible = false; game_mode = "event_wait"; }; } else { dict["s_bg"] = new select_bg(); dict["root"].addChild(dict["s_bg"]); dict["s_bg"].help.bg.visible = false; dict["s_bg"].help.h1.visible = false; dict["s_bg"].help.h2.visible = false; dict["s_bg"].help.h3.visible = false; dict["s_bg"].help.h4.visible = false; dict["s_bg"].flag.gotoAndStop(1); dict["s_bg"].special.gotoAndStop((ken_Special[1] + 1)); dict["s_bg"].help.gotoAndStop((38 + ken_Special[1])); dict["f_main"] = new japan_map(); dict["root"].addChild(dict["f_main"]); dict["f_main"].x = 120; dict["f_main"].y = 50; dict["f_main"].scaleX = 0.1; dict["f_main"].scaleY = 0.1; dict["f_main"].boss_line.visible = false; dict["f_main"].ken48.visible = false; dict["f_main"].ken49.visible = false; dict["f_main"].ken50.visible = false; dict["f_main"].ken51.visible = false; i = 1; while (i <= 47) { wrk_obj = dict["f_main"].getChildByName(("ken" + i)); wrk_obj.id = i; wrk_obj.removeChild(wrk_obj.getChildByName("flag")); wrk_obj.removeChild(wrk_obj.getChildByName("unit")); wrk_obj.removeChild(wrk_obj.getChildByName("house")); wrk_obj.getChildByName("body").transform.colorTransform = ken_color[i]; wrk_obj.addEventListener(Event.ENTER_FRAME, KenSelectEnterFrame); wrk_obj.addEventListener(MouseEvent.MOUSE_DOWN, KenSelectMouseDown); i++; }; fade_flg = true; }; break; case "ken_select_close": if (((!(fade_flg)) && (!(dict["fade"].visible)))){ dict["fade"].visible = true; fade_flg = true; }; if (fade_flg){ dict["fade"].alpha = (dict["fade"].alpha + 0.25); if (dict["fade"].alpha >= 1){ fade_flg = false; }; } else { dict["root"].removeChild(dict["s_bg"]); delete dict["s_bg"]; i = 1; while (i <= ken_cnt) { wrk_obj = dict["f_main"].getChildByName(("ken" + i)); wrk_obj.removeEventListener(Event.ENTER_FRAME, KenSelectEnterFrame); i++; }; dict["root"].removeChild(dict["f_main"]); delete dict["f_main"]; game_mode = "paramater_setup"; }; break; case "paramater_setup": turn = 0; boss_flg = false; i = 1; while (i <= 47) { live[i] = true; ai_flg1[i] = Math.floor((Math.random() * 3)); ai_flg2[i] = Math.floor((Math.random() * 2)); ai_flg3[i] = Math.floor((Math.random() * 2)); ai_flg4[i] = Math.floor((Math.random() * 3)); ai_flg5[i] = Math.floor((Math.random() * 3)); ai_flg7[i] = (Math.floor((Math.random() * 45)) + 5); ai_flg8[i] = Math.floor((Math.random() * 4)); ai_flg10[i] = Math.floor((Math.random() * 3)); ai_flg11[i] = Math.floor((Math.random() * 3)); ai_flg12[i] = Math.floor((Math.random() * 50)); gold[i] = 100; tech_tam[i] = 1; tech_tac[i] = 1; i++; }; live[48] = true; ai_flg1[48] = 2; ai_flg2[48] = 1; ai_flg3[48] = 1; ai_flg4[48] = 0; ai_flg5[48] = 0; ai_flg7[48] = 50; ai_flg8[48] = 0; ai_flg10[48] = 0; ai_flg11[48] = 0; ai_flg12[48] = 0; gold[48] = 999999; tech_tam[48] = 5; tech_tac[48] = 5; i = 1; while (i <= ken_cnt) { ken_Bld[i] = 0; ken_side[i] = i; ken_income[i] = 50; j = 1; while (j <= 16) { ken_UnitCnt[i][j] = 0; ken_UnitEndCnt[i][j] = 0; j++; }; ken_UnitCnt[i][1] = 3; ken_UnitCnt[i][2] = 0; ken_UnitCnt[i][3] = 0; ken_UnitCnt[i][4] = 0; ken_UnitCnt[i][5] = 0; ken_UnitCnt[i][6] = 0; ken_UnitCnt[i][7] = 0; ken_UnitCnt[i][8] = 0; ken_UnitCnt[i][9] = 0; ken_UnitCnt[i][10] = 0; ken_UnitCnt[i][11] = 0; ken_UnitCnt[i][12] = 0; ken_UnitCnt[i][13] = 0; ken_UnitCnt[i][14] = 0; ken_UnitCnt[i][15] = 0; ken_UnitCnt[i][16] = 0; ken_TotalUnitCnt[i] = 3; i++; }; i = 48; while (i <= 51) { ken_Bld[i] = 11; ken_side[i] = 48; ken_income[i] = 50; j = 1; while (j <= 16) { ken_UnitCnt[i][j] = 0; ken_UnitEndCnt[i][j] = 0; j++; }; if (i == 51){ ken_UnitCnt[i][1] = 0; ken_UnitCnt[i][2] = 0; ken_UnitCnt[i][3] = 0; ken_UnitCnt[i][4] = 0; ken_UnitCnt[i][5] = 0; ken_UnitCnt[i][6] = 0; ken_UnitCnt[i][7] = 0; ken_UnitCnt[i][8] = 0; ken_UnitCnt[i][9] = 0; ken_UnitCnt[i][10] = 0; ken_UnitCnt[i][11] = 0; ken_UnitCnt[i][12] = 0; ken_UnitCnt[i][13] = 9; ken_UnitCnt[i][14] = 7; ken_UnitCnt[i][15] = 8; ken_UnitCnt[i][16] = 1; } else { ken_UnitCnt[i][1] = 0; ken_UnitCnt[i][2] = 0; ken_UnitCnt[i][3] = 0; ken_UnitCnt[i][4] = 0; ken_UnitCnt[i][5] = 0; ken_UnitCnt[i][6] = 0; ken_UnitCnt[i][7] = 0; ken_UnitCnt[i][8] = 0; ken_UnitCnt[i][9] = 0; ken_UnitCnt[i][10] = 0; ken_UnitCnt[i][11] = 0; ken_UnitCnt[i][12] = 0; ken_UnitCnt[i][13] = 10; ken_UnitCnt[i][14] = 7; ken_UnitCnt[i][15] = 8; ken_UnitCnt[i][16] = 0; }; ken_TotalUnitCnt[i] = 25; i++; }; wrk_dis = 0.9; win_x = 9999; win_y = 9999; game_mode = "main_setup"; game_mode2 = "turn_start"; break; case "main_asobikata": if (help_mode2 == 0){ if (dict["m_bg"].tab_bg.currentFrame == 1){ help_mode = 1; dict["help"] = new asobikata_1(); dict["root"].addChild(dict["help"]); dict["btn_next"] = new BTN24_NEXT(580, 450); dict["root"].addChild(dict["btn_next"]); dict["btn_back"] = new BTN25_BACK(450, 450); dict["root"].addChild(dict["btn_back"]); } else { if (dict["m_bg"].tab_bg.currentFrame == 2){ help_mode = 2; dict["help"] = new asobikata_2(); dict["root"].addChild(dict["help"]); dict["btn_back"] = new BTN25_BACK(580, 450); dict["root"].addChild(dict["btn_back"]); } else { if (dict["m_bg"].tab_bg.currentFrame == 3){ help_mode = 3; dict["help"] = new asobikata_3(); dict["root"].addChild(dict["help"]); dict["btn_back"] = new BTN25_BACK(580, 450); dict["root"].addChild(dict["btn_back"]); }; }; }; } else { help_mode = 4; dict["help"] = new asobikata(); dict["root"].addChild(dict["help"]); dict["btn_next"] = new BTN24_NEXT(580, 450); dict["root"].addChild(dict["btn_next"]); dict["btn_back"] = new BTN25_BACK(450, 450); dict["root"].addChild(dict["btn_back"]); }; game_mode = "event_wait"; break; case "main_asobikata_close": if ((((help_mode == 1)) || ((help_mode == 4)))){ dict["root"].removeChild(dict["help"]); delete dict["help"]; dict["btn_next"].kill(); dict["btn_back"].kill(); } else { if (help_mode == 2){ dict["root"].removeChild(dict["help"]); delete dict["help"]; dict["btn_back"].kill(); } else { if (help_mode == 3){ dict["root"].removeChild(dict["help"]); delete dict["help"]; dict["btn_back"].kill(); }; }; }; game_mode = "main_map"; break; case "main_setup": if (fade_flg){ dict["fade"].alpha = (dict["fade"].alpha - 0.25); if (dict["fade"].alpha <= 0){ fade_flg = false; dict["fade"].visible = false; game_mode = game_mode2; }; } else { stage.addEventListener(MouseEvent.MOUSE_DOWN, StageMouseDown); stage.addEventListener(MouseEvent.MOUSE_UP, StageMouseUp); dict["f_main"] = new japan_map(); dict["root"].addChild(dict["f_main"]); dict["f_main"].x = 0; dict["f_main"].y = 0; dict["f_main"].scaleX = wrk_dis; dict["f_main"].scaleY = wrk_dis; dict["f_main"].mouseEnabled = false; if (!boss_flg){ dict["f_main"].boss_line.visible = false; dict["f_main"].ken48.visible = false; dict["f_main"].ken49.visible = false; dict["f_main"].ken50.visible = false; dict["f_main"].ken51.visible = false; }; if ((((win_x == 9999)) && ((win_y == 9999)))){ win_x = (-(dict["f_main"].getChildByName(("ken" + player_id)).x) + 220); win_y = (-(dict["f_main"].getChildByName(("ken" + player_id)).y) + 240); }; dict["select_box"] = new Sprite(); dict["f_main"].addChild(dict["select_box"]); dict["select_box"].x = 0; dict["select_box"].y = 0; i = 1; while (i <= ken_cnt) { wrk_obj = dict["f_main"].getChildByName(("ken" + i)); wrk_obj.id = i; wrk_obj.mouseEnabled = false; j = 1; while (j <= Unit_Max) { dict[((("unitdisp_" + i) + "_") + j)] = new MAP_SET_UNIT(); dict[((("unitdisp_" + i) + "_") + j)].id = i; dict[((("unitdisp_" + i) + "_") + j)].idx = j; dict[((("unitdisp_" + i) + "_") + j)].dbc_cnt = 0; dict[((("unitdisp_" + i) + "_") + j)].type = -1; dict[((("unitdisp_" + i) + "_") + j)].end_flg = false; wrk_obj.unit.addChild(dict[((("unitdisp_" + i) + "_") + j)]); dict[((("unitdisp_" + i) + "_") + j)].scaleX = 0.4; dict[((("unitdisp_" + i) + "_") + j)].scaleY = 0.4; dict[((("unitdisp_" + i) + "_") + j)].visible = false; dict[((("unitdisp_" + i) + "_") + j)].addEventListener(MouseEvent.MOUSE_OVER, UnitMouseOver); j++; }; wrk_obj.house.b1.visible = true; wrk_obj.house.b1.gotoAndStop((ken_Special[i] + 1)); wrk_obj.house.b1.id = 1; wrk_obj.house.b3.visible = false; wrk_obj.house.b3.id = 3; wrk_obj.house.b1.addEventListener(MouseEvent.MOUSE_OVER, SpecialMouseOver); wrk_obj.house.b3.addEventListener(MouseEvent.MOUSE_OVER, BldMouseOver); i++; }; dict["m_bg"] = new menu_bg(); dict["root"].addChild(dict["m_bg"]); dict["btn_save"] = new BTN16_SAVE(477, 177); dict["root"].addChild(dict["btn_save"]); dict["btn_load"] = new BTN17_LOAD(542, 177); dict["root"].addChild(dict["btn_load"]); dict["btn_quit"] = new BTN22_BACKTITLE(607, 177); dict["root"].addChild(dict["btn_quit"]); dict["btn_load"].alpha = 0.5; if (so){ if (!(so.size) == 0){ dict["btn_load"].alpha = 1; }; }; i = 1; while (i <= 3) { dict[("tab" + i)] = new BTN09_TAB((421 + (60 * i)), 267, i); dict["root"].addChild(dict[("tab" + i)]); i++; }; i = 0; while (i < 10) { dict[("btn" + (i + 1))] = new BTN02_BUY((473 + (34 * (i % 5))), (310 + (40 * Math.floor((i / 5)))), (i + 1)); dict["root"].addChild(dict[("btn" + (i + 1))]); dict[("btn" + (i + 1))].visible = true; i++; }; i = 0; while (i < 10) { dict[("btn" + (i + 11))] = new BTN10_BLD((473 + (34 * (i % 5))), (310 + (40 * Math.floor((i / 5)))), (i + 1)); dict["root"].addChild(dict[("btn" + (i + 11))]); dict[("btn" + (i + 11))].visible = false; i++; }; i = 0; while (i < 10) { dict[("btn" + (i + 21))] = new BTN11_TAC((473 + (34 * (i % 5))), (310 + (40 * Math.floor((i / 5)))), (i + 1)); dict["root"].addChild(dict[("btn" + (i + 21))]); dict[("btn" + (i + 21))].visible = false; i++; }; dict["btn_help"] = new BTN_HELP(620, 378); dict["root"].addChild(dict["btn_help"]); dict["m_bg"].help.gotoAndStop(49); dict["m_bg"].help.h1.visible = false; dict["m_bg"].help.h2.visible = false; dict["m_bg"].help.h3.visible = false; dict["m_bg"].help.h4.visible = false; dict["btn_turnend"] = new BTN01_TURNEND(540, 465); dict["root"].addChild(dict["btn_turnend"]); dict["btn_turnend"].visible = false; dict["mini_map"] = new japan_map(); dict["root"].addChild(dict["mini_map"]); dict["mini_map"].x = 470; dict["mini_map"].y = 38.5; dict["mini_map"].scaleX = 0.03; dict["mini_map"].scaleY = 0.03; i = 1; while (i <= ken_cnt) { wrk_obj = dict["mini_map"].getChildByName(("ken" + i)); wrk_obj.id = i; if (wrk_obj.getChildByName("unit")){ wrk_obj.removeChild(wrk_obj.getChildByName("flag")); wrk_obj.removeChild(wrk_obj.getChildByName("unit")); wrk_obj.removeChild(wrk_obj.getChildByName("house")); }; i++; }; if (!boss_flg){ dict["mini_map"].boss_line.visible = false; dict["mini_map"].ken48.visible = false; dict["mini_map"].ken49.visible = false; dict["mini_map"].ken50.visible = false; dict["mini_map"].ken51.visible = false; }; dict["mini_box"] = new Sprite(); dict["root"].addChild(dict["mini_box"]); dict["mini_box"].x = 470; dict["mini_box"].y = 38.5; dict["mini_box"].addEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFuncMM); dict["slide_bar"] = new slide_bar(); dict["root"].addChild(dict["slide_bar"]); dict["slide_bar"].x = 615; dict["slide_bar"].y = (153 - (((wrk_dis - 0.1) * 110) / 1.2)); dict["slide_bar"].addEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFuncSB); i = 1; while (i <= 8) { dict[("allow" + i)] = new MovieClip(); dict["f_main"].addChild(dict[("allow" + i)]); dict[("allow" + i)].x = 0; dict[("allow" + i)].y = 0; dict[("allow" + i)].alpha = 0.5; dict[("allow" + i)].id = -1; dict[("allow" + i)].link = -1; dict[("allow" + i)].link_ok = false; dict[("allow" + i)].link_enemy_flg = false; dict[("allow" + i)].xc = 0; dict[("allow" + i)].yc = 0; dict[("allow" + i)].addEventListener(MouseEvent.MOUSE_OVER, AllowMouseOver); dict[("allow" + i)].addEventListener(MouseEvent.MOUSE_OUT, AllowMouseOut); dict[("allow" + i)].addEventListener(MouseEvent.MOUSE_DOWN, AllowMouseDOWN); i++; }; dict["buy_unit"] = new map_unit(); dict["root"].addChild(dict["buy_unit"]); dict["buy_unit"].visible = false; dict["buy_unit"].mouseEnabled = false; dict["buy_unit"].scaleX = 0.6; dict["buy_unit"].scaleY = 0.6; dict["buy_bld"] = new bld_unit(); dict["root"].addChild(dict["buy_bld"]); dict["buy_bld"].visible = false; dict["buy_bld"].mouseEnabled = false; dict["buy_bld"].scaleX = 1.2; dict["buy_bld"].scaleY = 1.2; dict["btn_help2"] = new BTN_HELP2(240, 465); dict["root"].addChild(dict["btn_help2"]); i = 1; while (i <= ken_cnt) { KenUnitDisp(i); i++; }; MapView(); KenDisp(); fade_flg = true; }; break; case "main_close": if (((!(fade_flg)) && (!(dict["fade"].visible)))){ dict["fade"].visible = true; fade_flg = true; }; if (fade_flg){ dict["fade"].alpha = (dict["fade"].alpha + 0.25); if (dict["fade"].alpha >= 1){ fade_flg = false; }; } else { i = 1; while (i <= e_id) { if (dict[("ETC" + i)]){ dict[("ETC" + i)].kill(); }; i++; }; e_id = 0; dict["btn_help2"].kill(); dict["root"].removeChild(dict["buy_bld"]); delete dict["buy_bld"]; dict["root"].removeChild(dict["buy_unit"]); delete dict["buy_unit"]; i = 1; while (i <= 8) { dict[("allow" + i)].removeEventListener(MouseEvent.MOUSE_OVER, AllowMouseOver); dict[("allow" + i)].removeEventListener(MouseEvent.MOUSE_OUT, AllowMouseOut); dict[("allow" + i)].removeEventListener(MouseEvent.MOUSE_DOWN, AllowMouseDOWN); dict["f_main"].removeChild(dict[("allow" + i)]); delete dict[("allow" + i)]; i++; }; dict["slide_bar"].removeEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFuncSB); dict["root"].removeChild(dict["slide_bar"]); delete dict["slide_bar"]; slidemode = false; dict["mini_box"].removeEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFuncMM); dict["root"].removeChild(dict["mini_box"]); delete dict["mini_box"]; minimode = false; dict["root"].removeChild(dict["mini_map"]); delete dict["mini_map"]; dict["btn_turnend"].kill(); i = 1; while (i <= 30) { dict[("btn" + i)].kill(); i++; }; i = 1; while (i <= 3) { dict[("tab" + i)].kill(); i++; }; dict["btn_save"].kill(); dict["btn_load"].kill(); dict["btn_quit"].kill(); dict["btn_help"].kill(); if (dict["btn_gameover"]){ dict["btn_gameover"].kill(); }; if (dict["ending"]){ dict["root"].removeChild(dict["ending"]); delete dict["ending"]; }; if (dict["ad_Coolbuddy4"]){ dict["ad_Coolbuddy4"].kill(); }; dict["root"].removeChild(dict["m_bg"]); delete dict["m_bg"]; i = 1; while (i <= ken_cnt) { wrk_obj = dict["f_main"].getChildByName(("ken" + i)); j = 1; while (j <= Unit_Max) { dict[((("unitdisp_" + i) + "_") + j)].removeEventListener(MouseEvent.MOUSE_OVER, UnitMouseOver); wrk_obj.unit.removeChild(dict[((("unitdisp_" + i) + "_") + j)]); delete dict[((("unitdisp_" + i) + "_") + j)]; j++; }; wrk_obj.house.b1.removeEventListener(MouseEvent.MOUSE_OVER, SpecialMouseOver); wrk_obj.house.b3.removeEventListener(MouseEvent.MOUSE_OVER, BldMouseOver); i++; }; dict["f_main"].removeChild(dict["select_box"]); delete dict["select_box"]; dict["root"].removeChild(dict["f_main"]); delete dict["f_main"]; stage.removeEventListener(MouseEvent.MOUSE_DOWN, StageMouseDown); stage.removeEventListener(MouseEvent.MOUSE_UP, StageMouseUp); game_mode = game_mode3; }; break; case "data_load": data_load(); wrk_dis = 1.3; wrk_dis = 0.9; win_x = 9999; win_y = 9999; game_mode = "main_setup"; game_mode2 = "ken_start"; break; case "turn_start": turn++; se_pon_flg = true; e_id++; dict[("ETC" + e_id)] = new ETC33_TURN_START(e_id, turn, 320, 240); dict["root"].addChild(dict[("ETC" + e_id)]); i = 1; while (i <= ken_cnt) { j = 1; while (j <= 16) { ken_UnitEndCnt[i][j] = 0; j++; }; i++; }; i = 1; while (i <= ken_cnt) { j = 1; while (j <= ken_cnt) { if (ken_side[j] == i){ gold[i] = (gold[i] + ken_income[j]); }; j++; }; i++; }; i = 1; while (i <= ken_cnt) { if ((((ken_Bld[i] == 10)) && (((turn % 15) == 0)))){ j = 1; while (j <= 1) { if (ken_TotalUnitCnt[i] < Unit_Max){ var _local2 = ken_UnitCnt[i]; var _local3 = 12; var _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = ken_UnitEndCnt[i]; _local3 = 12; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = ken_TotalUnitCnt; _local3 = i; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; }; j++; }; }; if ((((ken_Special[i] == 7)) && (((turn % 3) == 0)))){ j = 1; while (j <= 1) { if (ken_TotalUnitCnt[i] < Unit_Max){ _local2 = ken_UnitCnt[i]; _local3 = 9; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = ken_UnitEndCnt[i]; _local3 = 9; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = ken_TotalUnitCnt; _local3 = i; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; }; j++; }; }; if ((((ken_Special[i] == 6)) && (((turn % 2) == 0)))){ j = 1; while (j <= 1) { if (ken_TotalUnitCnt[i] < Unit_Max){ _local2 = ken_UnitCnt[i]; _local3 = 7; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = ken_UnitEndCnt[i]; _local3 = 7; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = ken_TotalUnitCnt; _local3 = i; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; }; j++; }; }; if (ken_Special[i] == 8){ j = 1; while (j <= 1) { if (ken_TotalUnitCnt[i] < Unit_Max){ _local2 = ken_UnitCnt[i]; _local3 = 1; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = ken_UnitEndCnt[i]; _local3 = 1; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = ken_TotalUnitCnt; _local3 = i; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; }; j++; }; }; if (ken_Special[i] == 5){ j = 1; while (j <= 3) { if (ken_TotalUnitCnt[i] < Unit_Max){ _local2 = ken_UnitCnt[i]; _local3 = 11; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = ken_UnitEndCnt[i]; _local3 = 11; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = ken_TotalUnitCnt; _local3 = i; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; }; j++; }; }; if (ken_Bld[i] == 8){ j = 1; while (j <= 2) { if (ken_TotalUnitCnt[i] < Unit_Max){ _local2 = ken_UnitCnt[i]; _local3 = 11; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = ken_UnitEndCnt[i]; _local3 = 11; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = ken_TotalUnitCnt; _local3 = i; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; }; j++; }; }; if (ken_Bld[i] == 11){ j = 1; while (j <= 15) { if (ken_TotalUnitCnt[i] < Unit_Max){ wrk = Math.floor((Math.random() * 3)); _local2 = ken_UnitCnt[i]; _local3 = (13 + wrk); _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = ken_UnitEndCnt[i]; _local3 = (13 + wrk); _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = ken_TotalUnitCnt; _local3 = i; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; }; j++; }; }; i++; }; i = 1; while (i <= ken_cnt) { KenUnitDisp(i); i++; }; now_ken_id = 1; game_mode = "ken_start"; break; case "ken_start": wrk_cnt = 0; i = 1; while (i <= 48) { if (live[i]){ wrk_flg = false; j = 1; while (j <= ken_cnt) { if (ken_side[j] == i){ wrk_flg = true; break; }; j++; }; if (!wrk_flg){ se_lose_flg = true; live[i] = false; e_id++; dict[("ETC" + e_id)] = new ETC32_KEN_DEAD(e_id, i, 320, (240 - 35)); dict["root"].addChild(dict[("ETC" + e_id)]); } else { wrk_cnt++; }; }; i++; }; if (!live[player_id]){ wrk_cnt = 0; game_mode = "game_over"; break; }; if (((!(boss_flg)) && ((wrk_cnt == 2)))){ wrk_cnt = 0; game_mode = "boss_rise"; break; } else { if (((boss_flg) && ((wrk_cnt == 1)))){ wrk_cnt = 0; game_mode = "ending"; break; }; }; if (now_ken_id > 48){ game_mode = "turn_start"; break; }; if (((!(boss_flg)) && ((now_ken_id == 48)))){ game_mode = "turn_start"; break; }; wrk_txt = ("000" + turn).slice(-3); dict["m_bg"].g1.gotoAndStop((Number(wrk_txt.charAt(0)) + 1)); dict["m_bg"].g2.gotoAndStop((Number(wrk_txt.charAt(1)) + 1)); dict["m_bg"].g3.gotoAndStop((Number(wrk_txt.charAt(2)) + 1)); selected_id = -1; if (live[now_ken_id]){ if (dict["mini_map"]){ i = 1; while (i <= ken_cnt) { mini_self = dict["mini_map"].getChildByName(("ken" + i)); if (mini_self){ if (ken_side[i] == now_ken_id){ mini_self.body.transform.colorTransform = color_red; } else { mini_self.body.transform.colorTransform = ken_color[ken_side[i]]; }; }; i++; }; }; if (player_id == now_ken_id){ if (!player_flg){ player_flg = true; se_pon_flg = true; e_id++; dict[("ETC" + e_id)] = new ETC34_PLAYER_START(e_id, 320, (240 + 35)); dict["root"].addChild(dict[("ETC" + e_id)]); }; dict["btn_turnend"].visible = true; game_mode = "main_map"; } else { player_flg = false; dict["btn_turnend"].visible = false; game_mode = "main_map_ai"; }; KenDisp(); } else { now_ken_id++; game_mode = "ken_start"; }; break; case "main_map_ai": MapView(); if (!pause_flg){ target_ken = 1; while (target_ken <= ken_cnt) { if (ken_side[target_ken] == now_ken_id){ if (ken_Bld[target_ken] == 0){ wrk = 0; wrk_cnt = 0; i = 1; while (i <= ken_cnt) { if (ken_side[i] == now_ken_id){ switch (ken_Bld[i]){ case 3: case 4: case 7: case 8: case 9: case 10: wrk_cnt++; break; }; }; i++; }; switch (ai_flg8[now_ken_id]){ case 0: if (tech_tam[now_ken_id] < 5){ wrk = 1; } else { if ((((tech_tac[now_ken_id] < 5)) && ((tech_tac[now_ken_id] <= wrk_cnt)))){ wrk = 2; } else { wrk = 3; }; }; break; case 1: if (tech_tac[now_ken_id] < 5){ wrk = 2; } else { if ((((tech_tam[now_ken_id] < 5)) && ((tech_tam[now_ken_id] <= wrk_cnt)))){ wrk = 1; } else { wrk = 3; }; }; break; case 2: if ((((tech_tam[now_ken_id] < 5)) && ((tech_tam[now_ken_id] <= tech_tac[now_ken_id])))){ wrk = 1; } else { if ((((tech_tac[now_ken_id] < 5)) && ((tech_tac[now_ken_id] <= tech_tam[now_ken_id])))){ wrk = 2; } else { wrk = 3; }; }; break; case 3: if ((((((tech_tam[now_ken_id] < 5)) && ((tech_tam[now_ken_id] <= tech_tac[now_ken_id])))) && ((tech_tam[now_ken_id] <= wrk_cnt)))){ wrk = 1; } else { if ((((((tech_tac[now_ken_id] < 5)) && ((tech_tac[now_ken_id] <= tech_tam[now_ken_id])))) && ((tech_tac[now_ken_id] <= wrk_cnt)))){ wrk = 2; } else { wrk = 3; }; }; break; }; if (wrk == 3){ wrk = (Math.floor((Math.random() * 8)) + 3); }; if (now_ken_id == 48){ wrk = 11; }; ken_Bld[target_ken] = wrk; KenUnitDisp(target_ken); KenDisp(); }; }; target_ken++; }; target_ken = 1; for (;target_ken <= ken_cnt;if (danger_point_max < 0){ danger_point_max = 0; }, if (ken_TotalUnitCnt[target_ken] < Unit_Max){ if (gold[now_ken_id] >= 1000){ battle_point_adj = 9999999; } else { switch (ai_flg4[now_ken_id]){ case 0: battle_point_adj = (danger_point_max * 4); break; case 1: battle_point_adj = (danger_point_max * 2); break; case 2: battle_point_adj = danger_point_max; break; case 3: battle_point_adj = (danger_point_max / 2); break; case 4: battle_point_adj = (danger_point_max / 4); break; }; }; ai_unit_point = (battle_point_adj - battle_point); if (now_ken_id == 48){ ai_unit_point = 0; }; if (ai_unit_point > 0){ if (battle_point_adj == 9999999){ wrk_cnt = 0; while (true) { i = (tech_tam[now_ken_id] * 2); while (i >= 1) { wrk_cnt++; if ((((i == 6)) && (!(ai_wall_flg)))){ } else { if ((((tam_cost[i] <= gold[now_ken_id])) && ((Math.floor((Math.random() * 100)) <= 50)))){ gold[now_ken_id] = (gold[now_ken_id] - tam_cost[i]); _local2 = ken_UnitCnt[target_ken]; _local3 = i; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = ken_UnitEndCnt[target_ken]; _local3 = i; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = ken_TotalUnitCnt; _local3 = target_ken; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; ai_unit_point = (ai_unit_point - tam_pow[i]); break; }; }; i--; }; if ((((((((ai_unit_point <= 0)) || ((wrk_cnt > 1000)))) || ((ken_TotalUnitCnt[target_ken] >= Unit_Max)))) || ((gold[now_ken_id] < tam_cost[1])))){ break; }; }; } else { switch (ai_flg5[now_ken_id]){ case 0: wrk_cnt = 0; while (true) { i = 1; while (i <= (tech_tam[now_ken_id] * 2)) { if ((((i == 6)) && (!(ai_wall_flg)))){ } else { wrk_cnt++; if ((((tam_cost[i] <= gold[now_ken_id])) && ((Math.floor((Math.random() * 100)) <= 50)))){ gold[now_ken_id] = (gold[now_ken_id] - tam_cost[i]); _local2 = ken_UnitCnt[target_ken]; _local3 = i; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = ken_UnitEndCnt[target_ken]; _local3 = i; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = ken_TotalUnitCnt; _local3 = target_ken; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; ai_unit_point = (ai_unit_point - tam_pow[i]); break; }; }; i++; }; if ((((((((ai_unit_point <= 0)) || ((wrk_cnt > 1000)))) || ((ken_TotalUnitCnt[target_ken] >= Unit_Max)))) || ((gold[now_ken_id] < tam_cost[1])))){ break; }; }; break; case 1: wrk_cnt = 0; while (true) { i = (tech_tam[now_ken_id] * 2); while (i >= 1) { wrk_cnt++; if ((((i == 6)) && (!(ai_wall_flg)))){ } else { if ((((tam_cost[i] <= gold[now_ken_id])) && ((Math.floor((Math.random() * 100)) <= 50)))){ gold[now_ken_id] = (gold[now_ken_id] - tam_cost[i]); _local2 = ken_UnitCnt[target_ken]; _local3 = i; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = ken_UnitEndCnt[target_ken]; _local3 = i; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = ken_TotalUnitCnt; _local3 = target_ken; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; ai_unit_point = (ai_unit_point - tam_pow[i]); break; }; }; i--; }; if ((((((((ai_unit_point <= 0)) || ((wrk_cnt > 1000)))) || ((ken_TotalUnitCnt[target_ken] >= Unit_Max)))) || ((gold[now_ken_id] < tam_cost[1])))){ break; }; }; break; case 2: wrk_cnt = 0; while (true) { i = (Math.floor((Math.random() * (tech_tam[now_ken_id] * 2))) + 1); wrk_cnt++; if ((((i == 6)) && (!(ai_wall_flg)))){ } else { if (tam_cost[i] <= gold[now_ken_id]){ gold[now_ken_id] = (gold[now_ken_id] - tam_cost[i]); _local2 = ken_UnitCnt[target_ken]; _local3 = i; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = ken_UnitEndCnt[target_ken]; _local3 = i; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = ken_TotalUnitCnt; _local3 = target_ken; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; ai_unit_point = (ai_unit_point - tam_pow[i]); break; }; }; if ((((((((ai_unit_point <= 0)) || ((wrk_cnt > 1000)))) || ((ken_TotalUnitCnt[target_ken] >= Unit_Max)))) || ((gold[now_ken_id] < tam_cost[1])))){ break; }; }; break; }; }; KenUnitDisp(target_ken); }; }, target_ken++) { //unresolved if danger_point_max = -100; danger_point_min = 999999; wrk_max = -1; wrk_min = -1; ai_enemy_cnt = 0; i = 0; while (i <= (ken_link_data[target_ken].length - 1)) { wrk_id = ken_link_data[target_ken][i]; if (ken_side[wrk_id] != now_ken_id){ if (((!(boss_flg)) && ((wrk_id > 47)))){ } else { ai_enemy_cnt++; wrk = 0; j = 1; while (j <= 16) { wrk = (wrk + (ken_UnitCnt[wrk_id][j] * tam_pow[j])); j++; }; if (danger_point_max < wrk){ wrk_max = wrk_id; danger_point_max = wrk; }; if (danger_point_min > wrk){ wrk_min = wrk_id; danger_point_min = wrk; }; }; }; i++; }; //unresolved if ai_wall_flg = false; if ((((ken_Bld[target_ken] == 3)) || ((ken_Bld[target_ken] == 4)))){ ai_wall_flg = true; }; battle_point = 0; battle_point_now = 0; j = 1; while (j <= 16) { if (((!(ai_wall_flg)) && ((j == 6)))){ battle_point = (battle_point + 0); } else { battle_point = (battle_point + (ken_UnitCnt[target_ken][j] * tam_pow[j])); battle_point_now = (battle_point_now + ((ken_UnitCnt[target_ken][j] - ken_UnitEndCnt[target_ken][j]) * tam_pow[j])); }; j++; }; if (ai_enemy_cnt == 1){ battle_point_adj = battle_point; } else { switch (ai_flg1[now_ken_id]){ case 0: battle_point_adj = (battle_point - danger_point_max); break; case 1: battle_point_adj = (battle_point - (danger_point_max / 2)); break; case 2: battle_point_adj = (battle_point - (danger_point_max / 4)); break; }; }; wrk = 0; if ((((((ai_enemy_cnt == 1)) && ((battle_point_adj <= danger_point_min)))) && ((ken_TotalUnitCnt[target_ken] == Unit_Max)))){ wrk_id = wrk_min; j = 0; while (j <= (ken_link_data[wrk_id].length - 1)) { if ((((ken_side[ken_link_data[wrk_id][j]] == now_ken_id)) && (!((ken_link_data[wrk_id][j] == target_ken))))){ battle_point_adj = 999999; battle_point_now = 999999; wrk = 50; break; }; j++; }; }; if ((((ken_TotalUnitCnt[target_ken] == Unit_Max)) && ((gold[now_ken_id] >= 1000)))){ battle_point_adj = 999999; battle_point_now = 999999; wrk = 50; }; if ((((((battle_point_adj > danger_point_min)) && ((battle_point_now >= battle_point_adj)))) && ((battle_point_adj > 0)))){ if (Math.floor((Math.random() * 100)) <= (ai_flg7[i] + wrk)){ danger_point_max = -100; danger_point_min = 999999; wrk_max = -1; wrk_min = -1; i = 0; while (i <= (ken_link_data[target_ken].length - 1)) { wrk_id = ken_link_data[target_ken][i]; if (ken_side[wrk_id] != now_ken_id){ if (((!(boss_flg)) && ((wrk_id > 47)))){ } else { wrk = 0; j = 1; while (j <= 16) { wrk = (wrk + (ken_UnitCnt[wrk_id][j] * tam_pow[j])); j++; }; if (wrk <= battle_point_adj){ if (danger_point_max < wrk){ wrk_max = wrk_id; danger_point_max = wrk; }; if (danger_point_min > wrk){ wrk_min = wrk_id; danger_point_min = wrk; }; }; }; }; i++; }; ken_atk_id = target_ken; switch (ai_flg2[now_ken_id]){ case 0: ken_def_id = wrk_max; break; case 1: ken_def_id = wrk_min; break; }; war_UnitCnt[0] = new Array(); war_UnitCnt[1] = new Array(); war_UnitCnt_Brain[0] = new Array(); war_UnitCnt_Brain[1] = new Array(); i = 1; while (i <= 16) { war_UnitCnt[0][i] = 0; war_UnitCnt[1][i] = 0; war_UnitCnt_Brain[0][i] = 0; war_UnitCnt_Brain[1][i] = 0; i++; }; if ((((ken_side[ken_def_id] == player_id)) && ((ken_TotalUnitCnt[ken_def_id] > 0)))){ game_mode2 = "main_close"; game_mode3 = "battle_setup"; } else { game_mode2 = "ai_battle"; }; wrk = 0; wrk_cnt = 0; while (true) { i = (Math.floor((Math.random() * 16)) + 1); if (((((!((i == 6))) && (!((i == 16))))) && (((ken_UnitCnt[ken_atk_id][i] - ken_UnitEndCnt[ken_atk_id][i]) > 0)))){ _local2 = ken_UnitCnt[ken_atk_id]; _local3 = i; _local4 = (_local2[_local3] - 1); _local2[_local3] = _local4; _local2 = ken_TotalUnitCnt; _local3 = ken_atk_id; _local4 = (_local2[_local3] - 1); _local2[_local3] = _local4; _local2 = war_UnitCnt[0]; _local3 = i; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; wrk = (wrk + tam_pow[i]); }; wrk_cnt++; if ((((battle_point_adj <= wrk)) || ((wrk_cnt >= 500)))){ break; }; }; if (wrk > 0){ i = 1; while (i <= 16) { war_UnitCnt[1][i] = ken_UnitCnt[ken_def_id][i]; ken_UnitCnt[ken_def_id][i] = 0; i++; }; ken_TotalUnitCnt[ken_def_id] = 0; game_mode = "battle_effect_setup"; break; continue; }; }; }; }; if (game_mode == "battle_effect_setup"){ break; }; target_ken = 1; while (target_ken <= ken_cnt) { if ((((ken_side[target_ken] == now_ken_id)) && ((ken_TotalUnitCnt[target_ken] > 0)))){ ai_enemy_cnt = 0; i = 0; while (i <= (ken_link_data[target_ken].length - 1)) { wrk_id = ken_link_data[target_ken][i]; if (ken_side[wrk_id] != now_ken_id){ if (((!(boss_flg)) && ((wrk_id > 47)))){ } else { ai_enemy_cnt++; }; }; i++; }; if (ai_enemy_cnt == 0){ ai_send_id = -1; send_point_max = -999999; send_point_min = 999999; wrk_max = -1; wrk_min = -1; i = 0; while (i <= (ken_link_data[target_ken].length - 1)) { wrk_id = ken_link_data[target_ken][i]; if (ken_side[wrk_id] == now_ken_id){ wrk = 0; j = 0; while (j <= (ken_link_data[wrk_id].length - 1)) { if (ken_side[ken_link_data[wrk_id][j]] != now_ken_id){ if (((!(boss_flg)) && ((wrk_id > 47)))){ } else { wrk = 1; break; }; }; j++; }; if (wrk == 0){ } else { if (ken_TotalUnitCnt[wrk_id] >= Unit_Max){ } else { wrk = 0; j = 1; while (j <= 16) { wrk = (wrk + (ken_UnitCnt[wrk_id][j] * tam_pow[j])); j++; }; if (send_point_max < wrk){ wrk_max = wrk_id; send_point_max = wrk; }; if (send_point_min > wrk){ wrk_min = wrk_id; send_point_min = wrk; }; }; }; }; i++; }; if ((((wrk_max == -1)) || ((wrk_min == -1)))){ i = Math.floor((Math.random() * ken_link_data[target_ken].length)); wrk_id = ken_link_data[target_ken][i]; if (ken_side[wrk_id] == now_ken_id){ if (ken_TotalUnitCnt[wrk_id] >= Unit_Max){ } else { wrk_max = wrk_id; wrk_min = wrk_id; }; }; }; switch (ai_flg3[now_ken_id]){ case 0: ai_send_id = wrk_min; break; case 1: ai_send_id = wrk_max; break; }; if (ai_send_id == -1){ } else { i = 1; while (i <= (16 - 1)) { wrk = (ken_UnitCnt[target_ken][i] - ken_UnitEndCnt[target_ken][i]); if (wrk > 0){ if ((ken_TotalUnitCnt[ai_send_id] + wrk) > Unit_Max){ wrk = (Unit_Max - ken_TotalUnitCnt[ai_send_id]); }; ken_UnitCnt[ai_send_id][i] = (ken_UnitCnt[ai_send_id][i] + wrk); ken_UnitEndCnt[ai_send_id][i] = (ken_UnitEndCnt[ai_send_id][i] + wrk); ken_TotalUnitCnt[ai_send_id] = (ken_TotalUnitCnt[ai_send_id] + wrk); ken_UnitCnt[target_ken][i] = (ken_UnitCnt[target_ken][i] - wrk); ken_TotalUnitCnt[target_ken] = (ken_TotalUnitCnt[target_ken] - wrk); if (ken_TotalUnitCnt[ai_send_id] >= Unit_Max){ break; }; }; i++; }; KenUnitDisp(target_ken); KenUnitDisp(ai_send_id); }; }; }; target_ken++; }; now_ken_id++; game_mode = "ken_start"; }; break; case "main_map": MapView(); if (buy_unit_flg){ dict["buy_unit"].gotoAndStop(buy_unit_id); dict["buy_unit"].visible = true; dict["buy_unit"].x = dict["MOUSE"].x; dict["buy_unit"].y = dict["MOUSE"].y; buy_target_id = -1; i = 1; while (i <= ken_cnt) { wrk_obj = dict["f_main"].getChildByName(("ken" + i)); if (ken_side[i] == player_id){ if (((((wrk_obj.hitTestPoint(dict["MOUSE"].x, dict["MOUSE"].y, true)) && ((ken_TotalUnitCnt[i] < Unit_Max)))) && ((dict["MOUSE"].x < 440)))){ wrk_obj.body.transform.colorTransform = color_red; buy_target_id = i; } else { wrk_obj.body.transform.colorTransform = ken_color[ken_side[i]]; }; }; i++; }; } else { dict["buy_unit"].visible = false; }; if (buy_bld_flg){ dict["buy_bld"].gotoAndStop(buy_unit_id); dict["buy_bld"].visible = true; dict["buy_bld"].x = dict["MOUSE"].x; dict["buy_bld"].y = dict["MOUSE"].y; buy_target_id = -1; i = 1; while (i <= ken_cnt) { wrk_obj = dict["f_main"].getChildByName(("ken" + i)); if (ken_side[i] == player_id){ if (((wrk_obj.hitTestPoint(dict["MOUSE"].x, dict["MOUSE"].y, true)) && ((dict["MOUSE"].x < 440)))){ if (!wrk_obj.house.getChildByName("b3").visible){ wrk_obj.body.transform.colorTransform = color_red; buy_target_id = i; }; } else { wrk_obj.body.transform.colorTransform = ken_color[ken_side[i]]; }; }; i++; }; } else { dict["buy_bld"].visible = false; }; dict["select_box"].graphics.clear(); if (drag_flg){ g_pos.x = dict["MOUSE"].x; g_pos.y = dict["MOUSE"].y; l_pos = dict["f_main"].globalToLocal(g_pos); drag_x2 = l_pos.x; drag_y2 = l_pos.y; dis_x = (drag_x2 - drag_x1); dis_y = (drag_y2 - drag_y1); dis = Math.sqrt((Math.pow(dis_x, 2) + Math.pow(dis_y, 2))); if (dis > 10){ dict["select_box"].graphics.lineStyle(1, 0xFFFFFF, 1); dict["select_box"].graphics.beginFill(0xFFFFFF, 0.3); dict["select_box"].graphics.drawRect(drag_x1, drag_y1, (drag_x2 - drag_x1), (drag_y2 - drag_y1)); if (selected_id == -1){ i = 1; while (i <= ken_cnt) { wrk_obj = dict["f_main"].getChildByName(("ken" + i)); if (ken_side[i] == now_ken_id){ j = 1; while (j <= Unit_Max) { wrk_obj = dict[((("unitdisp_" + i) + "_") + j)].getChildByName("hits"); if (((((!(dict[((("unitdisp_" + i) + "_") + j)].end_flg)) && (dict[((("unitdisp_" + i) + "_") + j)].visible))) && (wrk_obj.hitTestObject(dict["select_box"])))){ dict[((("unitdisp_" + i) + "_") + j)].unit_waku.visible = true; alw_flg = false; selected_id = i; i = 99; j = 99; }; j++; }; }; i++; }; } else { j = 1; while (j <= Unit_Max) { wrk_obj = dict[((("unitdisp_" + selected_id) + "_") + j)].getChildByName("hits"); if (((!(dict[((("unitdisp_" + selected_id) + "_") + j)].end_flg)) && (wrk_obj.hitTestObject(dict["select_box"])))){ dict[((("unitdisp_" + selected_id) + "_") + j)].unit_waku.visible = true; alw_flg = false; }; j++; }; }; }; }; if (!alw_flg){ i = 1; while (i <= 8) { dict[("allow" + i)].graphics.clear(); i++; }; }; if ((((selected_id > -1)) && (!(alw_flg)))){ alw_flg = true; selected_cnt = 0; i = 1; while (i <= Unit_Max) { if (((dict[((("unitdisp_" + selected_id) + "_") + i)].visible) && (dict[((("unitdisp_" + selected_id) + "_") + i)].unit_waku.visible))){ selected_cnt++; }; i++; }; i = 1; while (i <= ken_link_data[selected_id].length) { wrk_id = ken_link_data[selected_id][(i - 1)]; if (((!(boss_flg)) && ((wrk_id > 47)))){ } else { dict[("allow" + i)].id = selected_id; dict[("allow" + i)].link = wrk_id; if (ken_side[selected_id] != ken_side[wrk_id]){ link_enemy_flg = true; } else { link_enemy_flg = false; }; dict[("allow" + i)].link_enemy_flg = link_enemy_flg; dict[("allow" + i)].link_ok = true; dict[("allow" + i)].alpha = 0.5; if (!link_enemy_flg){ link_cnt = 0; j = 1; while (j <= Unit_Max) { if (dict[((("unitdisp_" + wrk_id) + "_") + j)].visible){ link_cnt++; }; j++; }; if ((selected_cnt + link_cnt) > Unit_Max){ dict[("allow" + i)].link_ok = false; dict[("allow" + i)].alpha = 0.2; }; }; alw_xs = (dict["f_main"].getChildByName(("ken" + selected_id)).x + (dict["f_main"].getChildByName(("ken" + selected_id)).unit.x * 1.38)); alw_ys = (dict["f_main"].getChildByName(("ken" + selected_id)).y + (dict["f_main"].getChildByName(("ken" + selected_id)).unit.y * 1.38)); alw_xg = (dict["f_main"].getChildByName(("ken" + wrk_id)).x + (dict["f_main"].getChildByName(("ken" + wrk_id)).unit.x * 1.38)); alw_yg = (dict["f_main"].getChildByName(("ken" + wrk_id)).y + (dict["f_main"].getChildByName(("ken" + wrk_id)).unit.y * 1.38)); wrk_rot = ((Math.atan2((alw_yg - alw_ys), (alw_xg - alw_xs)) * 180) / Math.PI); wrk_rad = ((wrk_rot * Math.PI) / 180); alw_xs = (alw_xs + (Math.cos(wrk_rad) * 75)); alw_ys = (alw_ys + (Math.sin(wrk_rad) * 75)); dis_x = (alw_xg - alw_xs); dis_y = (alw_yg - alw_ys); dis = Math.sqrt((Math.pow(dis_x, 2) + Math.pow(dis_y, 2))); dict[("allow" + i)].xc = (alw_xs + (Math.cos(wrk_rad) * (dis / 2))); dict[("allow" + i)].yc = (alw_ys + (Math.sin(wrk_rad) * (dis / 2))); wrk_rad = (((wrk_rot - 90) * Math.PI) / 180); alw_x1 = (alw_xs + (Math.cos(wrk_rad) * 15)); alw_y1 = (alw_ys + (Math.sin(wrk_rad) * 15)); wrk_rad = ((wrk_rot * Math.PI) / 180); alw_x2 = (alw_x1 + (Math.cos(wrk_rad) * (dis - 50))); alw_y2 = (alw_y1 + (Math.sin(wrk_rad) * (dis - 50))); wrk_rad = (((wrk_rot - 90) * Math.PI) / 180); alw_x3 = (alw_x2 + (Math.cos(wrk_rad) * 30)); alw_y3 = (alw_y2 + (Math.sin(wrk_rad) * 30)); alw_x4 = alw_xg; alw_y4 = alw_yg; wrk_rad = (((wrk_rot + 90) * Math.PI) / 180); alw_x7 = (alw_xs + (Math.cos(wrk_rad) * 15)); alw_y7 = (alw_ys + (Math.sin(wrk_rad) * 15)); wrk_rad = ((wrk_rot * Math.PI) / 180); alw_x6 = (alw_x7 + (Math.cos(wrk_rad) * (dis - 50))); alw_y6 = (alw_y7 + (Math.sin(wrk_rad) * (dis - 50))); wrk_rad = (((wrk_rot + 90) * Math.PI) / 180); alw_x5 = (alw_x6 + (Math.cos(wrk_rad) * 30)); alw_y5 = (alw_y6 + (Math.sin(wrk_rad) * 30)); dict[("allow" + i)].graphics.clear(); dict[("allow" + i)].graphics.lineStyle(4, 0xFFFFFF, 1); if (link_enemy_flg){ dict[("allow" + i)].graphics.beginFill(0xFF0000, 1); } else { dict[("allow" + i)].graphics.beginFill(0xFF, 1); }; dict[("allow" + i)].graphics.moveTo(alw_x1, alw_y1); dict[("allow" + i)].graphics.lineTo(alw_x2, alw_y2); dict[("allow" + i)].graphics.lineTo(alw_x3, alw_y3); dict[("allow" + i)].graphics.lineTo(alw_x4, alw_y4); dict[("allow" + i)].graphics.lineTo(alw_x5, alw_y5); dict[("allow" + i)].graphics.lineTo(alw_x6, alw_y6); dict[("allow" + i)].graphics.lineTo(alw_x7, alw_y7); dict[("allow" + i)].graphics.endFill(); }; i++; }; }; break; case "battle_effect_setup": MapView(); se_warcry_flg = true; KenUnitDisp(ken_atk_id); wrk_cnt = 0; wrk = 0; wrk_flg = false; alw_xs = (dict["f_main"].getChildByName(("ken" + ken_atk_id)).x + (dict["f_main"].getChildByName(("ken" + ken_atk_id)).unit.x * 1.38)); alw_ys = (dict["f_main"].getChildByName(("ken" + ken_atk_id)).y + (dict["f_main"].getChildByName(("ken" + ken_atk_id)).unit.y * 1.38)); alw_xg = (dict["f_main"].getChildByName(("ken" + ken_def_id)).x + (dict["f_main"].getChildByName(("ken" + ken_def_id)).unit.x * 1.38)); alw_yg = (dict["f_main"].getChildByName(("ken" + ken_def_id)).y + (dict["f_main"].getChildByName(("ken" + ken_def_id)).unit.y * 1.38)); i = 1; while (i <= 16) { j = 1; while (j <= war_UnitCnt[0][i]) { e_id++; wrk_cnt++; dict[("ETC" + e_id)] = new ETC28_MAP_WAR(e_id, i, ((alw_xs + Math.floor((Math.random() * 120))) - 60), ((alw_ys + Math.floor((Math.random() * 120))) - 60), alw_xg, alw_yg); dict["f_main"].addChild(dict[("ETC" + e_id)]); j++; }; i++; }; if ((((ken_atk_id == ken_def_id)) || ((wrk_cnt <= 0)))){ game_mode = "event_wait"; } else { game_mode = "battle_effect"; }; break; case "battle_effect": MapView(); if (!pause_flg){ wrk++; mini_self = dict["mini_map"].getChildByName(("ken" + ken_def_id)); if ((wrk % 2) == 0){ mini_self.body.transform.colorTransform = color_red; } else { mini_self.body.transform.colorTransform = ken_color[ken_side[ken_def_id]]; }; mini_self = dict["mini_map"].getChildByName(("ken" + ken_atk_id)); if ((wrk % 2) == 0){ mini_self.body.transform.colorTransform = color_red; } else { mini_self.body.transform.colorTransform = color_white; }; }; if (wrk_cnt <= 0){ mini_self = dict["mini_map"].getChildByName(("ken" + ken_def_id)); mini_self.body.transform.colorTransform = ken_color[ken_side[ken_def_id]]; mini_self = dict["mini_map"].getChildByName(("ken" + ken_atk_id)); mini_self.body.transform.colorTransform = color_white; game_mode = game_mode2; }; break; case "boss_rise": if (!pause_flg){ if (!boss_flg){ boss_flg = true; dict["f_main"].boss_line.alpha = 0; dict["f_main"].ken48.alpha = 0; dict["f_main"].ken49.alpha = 0; dict["f_main"].ken50.alpha = 0; dict["f_main"].ken51.alpha = 0; dict["mini_map"].boss_line.alpha = 0; dict["mini_map"].ken48.alpha = 0; dict["mini_map"].ken49.alpha = 0; dict["mini_map"].ken50.alpha = 0; dict["mini_map"].ken51.alpha = 0; dict["f_main"].boss_line.visible = true; dict["f_main"].ken48.visible = true; dict["f_main"].ken49.visible = true; dict["f_main"].ken50.visible = true; dict["f_main"].ken51.visible = true; dict["mini_map"].boss_line.visible = true; dict["mini_map"].ken48.visible = true; dict["mini_map"].ken49.visible = true; dict["mini_map"].ken50.visible = true; dict["mini_map"].ken51.visible = true; }; if (wrk_cnt < 60){ MapView(); }; if (wrk_cnt == 60){ wrk_dis = 0.1; dict["f_main"].scaleX = wrk_dis; dict["f_main"].scaleY = wrk_dis; dict["slide_bar"].y = (153 - (((wrk_dis - 0.1) * 110) / 1.2)); win_x = -1733; win_y = -1796; MapView(); }; if ((((wrk_cnt >= 90)) && ((dict["f_main"].boss_line.alpha < 1)))){ if ((wrk_cnt % 15) == 0){ se_earth_flg = true; }; dict["root"].x = (Math.floor((Math.random() * 32)) - 16); dict["root"].y = (Math.floor((Math.random() * 32)) - 16); wrk = 0.01; dict["f_main"].boss_line.alpha = (dict["f_main"].boss_line.alpha + wrk); dict["f_main"].ken48.alpha = (dict["f_main"].ken48.alpha + wrk); dict["f_main"].ken49.alpha = (dict["f_main"].ken49.alpha + wrk); dict["f_main"].ken50.alpha = (dict["f_main"].ken50.alpha + wrk); dict["f_main"].ken51.alpha = (dict["f_main"].ken51.alpha + wrk); dict["mini_map"].boss_line.alpha = (dict["mini_map"].boss_line.alpha + wrk); dict["mini_map"].ken48.alpha = (dict["mini_map"].ken48.alpha + wrk); dict["mini_map"].ken49.alpha = (dict["mini_map"].ken49.alpha + wrk); dict["mini_map"].ken50.alpha = (dict["mini_map"].ken50.alpha + wrk); dict["mini_map"].ken51.alpha = (dict["mini_map"].ken51.alpha + wrk); }; if (dict["f_main"].boss_line.alpha >= 1){ dict["root"].x = 0; dict["root"].y = 0; }; if (wrk_cnt == 240){ se_alert_flg = true; e_id++; dict[("ETC" + e_id)] = new ETC42_BOSS_RISE(e_id, 320, 240); dict["root"].addChild(dict[("ETC" + e_id)]); }; if (wrk_cnt >= 330){ se_alert_flg = true; game_mode = "ken_start"; }; wrk_cnt++; }; break; case "game_over": MapView(); if (!pause_flg){ if (wrk_cnt == 90){ se_gameover_flg = true; dict["btn_gameover"] = new BTN21_GAMEOVER(320, 240); dict["root"].addChild(dict["btn_gameover"]); }; wrk_cnt++; }; break; case "ending": MapView(); if (!pause_flg){ if (wrk_cnt == 120){ se_ending_flg = true; dict["ending"] = new ending(); dict["ending"].x = 320; dict["ending"].y = 240; dict["ending"].body.transform.colorTransform = ken_color[now_ken_id]; dict["ending"].flag.gotoAndStop(now_ken_id); dict["ending"].flag2.gotoAndStop(now_ken_id); dict["root"].addChild(dict["ending"]); dict["btn_gameover"] = new BTN26_ENDING(468, 426); dict["root"].addChild(dict["btn_gameover"]); dict["ad_Coolbuddy4"] = new ad_Coolbuddy4(500, 465); dict["root"].addChild(dict["ad_Coolbuddy4"]); }; wrk_cnt++; }; break; case "battle_setup": if (fade_flg){ dict["fade"].alpha = (dict["fade"].alpha - 0.25); if (dict["fade"].alpha <= 0){ fade_flg = false; dict["fade"].visible = false; wrk_flg = false; wrk_cnt = 0; game_mode = "battle_start"; }; } else { id = 0; war_Escape_UnitCnt = 0; war_Escape_Mode = 0; dict["f_main"] = new Sprite(); dict["root"].addChild(dict["f_main"]); dict["f_bg"] = new battle_bg(); dict["f_main"].addChild(dict["f_bg"]); dict["f_shadow"] = new Sprite(); dict["f_main"].addChild(dict["f_shadow"]); dict["f_unit"] = new Sprite(); dict["f_main"].addChild(dict["f_unit"]); dict["f_move"] = new Sprite(); dict["f_main"].addChild(dict["f_move"]); dict["btn_tacuse"] = new BTN14_TACUSE(540, 465); dict["f_main"].addChild(dict["btn_tacuse"]); dict["btn_escape"] = new BTN13_ESCAPE(350, 465); dict["f_main"].addChild(dict["btn_escape"]); if (ken_side[ken_atk_id] == player_id){ war_PlayerSide = 0; } else { if (ken_side[ken_def_id] == player_id){ dict["btn_escape"].visible = false; war_PlayerSide = 1; } else { dict["btn_tacuse"].visible = false; dict["btn_escape"].visible = false; war_PlayerSide = -1; }; }; j = 0; while (j <= 1) { war_TacUseMode[j] = 0; war_Tac_No[j] = 0; war_Tac_Cnt[j] = 0; war_Tac_Flg[j] = 0; war_Adj_SPEED[j] = 0; war_Adj_ATK[j] = 0; war_Adj_DEF[j] = 0; war_Adj_DEF_S[j] = 0; war_Adj_DEF_L[j] = 0; war_Capture[j] = 0; war_Brain[j] = 0; war_Heal[j] = 0; war_Sien[j] = 0; war_Sippai[j] = 0; war_Anti_Tac[j] = 0; war_AI_Tac[j] = 0; war_UnitID[j] = new Array(); war_UnitMode[j] = new Array(); war_UnitX[j] = new Array(); war_TotalUnitCnt[j] = 0; war_TotalUnitCnt_start[j] = 0; war_Mes_Cnt[j] = 0; j++; }; war_Wall_LV = 0; war_Wall_ID = -1; if (ken_Bld[ken_def_id] == 3){ war_Wall_LV = 3; }; if (war_Wall_LV > 0){ id++; dict[id] = new BLD01_WALL(id, 320, 225, war_Wall_LV); dict["f_main"].addChild(dict[id]); war_Wall_ID = id; war_UnitID[1].push(id); }; war_CannonCnt = 0; if (ken_Bld[ken_def_id] == 4){ war_CannonCnt = 3; }; if (war_CannonCnt > 0){ wrk = (320 / war_CannonCnt); i = 1; while (i <= war_CannonCnt) { wrk_y = (65 + ((wrk * i) - (wrk / 2))); id++; dict[id] = new BLD02_TOWER(id, 600, wrk_y); dict["f_unit"].addChild(dict[id]); war_UnitID[1].push(id); i++; }; }; j = 0; while (j <= 1) { if (j == 0){ wrk_side = ken_side[ken_atk_id]; } else { wrk_side = ken_side[ken_def_id]; }; if (j != war_PlayerSide){ i = (tech_tac[wrk_side] * 2); while (i >= 1) { wrk = 0; if (Math.floor((Math.random() * 100)) < 50){ wrk = 1; }; if (i == 4){ wrk = 0; }; if (i == 5){ if ((((j == 0)) || ((war_Wall_LV == 0)))){ wrk = 0; }; }; if (i == 9){ if (wrk_side == 48){ wrk = 0; }; }; if ((((wrk == 1)) || ((i == 1)))){ break; }; i--; }; war_AI_Tac[j] = i; }; j++; }; j = 0; while (j <= 1) { tp = 1; while (tp <= 16) { war_UnitMode[j][tp] = "deffence"; if (j == 0){ war_UnitX[j][tp] = war_start_x[tp]; } else { war_UnitX[j][tp] = (640 - war_start_x[tp]); }; if (j == war_PlayerSide){ dict[("war_btn" + tp)] = new BTN12_BATTLE(war_UnitX[j][tp], 435, j, tp); dict[("war_btn" + tp)].visible = false; dict["f_move"].addChild(dict[("war_btn" + tp)]); }; if (war_UnitCnt[j][tp] > 0){ wrk = (320 / war_UnitCnt[j][tp]); i = 1; while (i <= war_UnitCnt[j][tp]) { wrk_y = (65 + ((wrk * i) - (wrk / 2))); id++; switch (tp){ case 1: dict[id] = new UNIT01_KEN(id, war_UnitX[j][tp], wrk_y, j); break; case 2: dict[id] = new UNIT02_YUMI(id, war_UnitX[j][tp], wrk_y, j); break; case 3: dict[id] = new UNIT03_TATE(id, war_UnitX[j][tp], wrk_y, j); break; case 4: dict[id] = new UNIT04_YARI(id, war_UnitX[j][tp], wrk_y, j); break; case 5: dict[id] = new UNIT05_HEAL(id, war_UnitX[j][tp], wrk_y, j); break; case 6: dict[id] = new UNIT06_REPAIR(id, war_UnitX[j][tp], wrk_y, j); break; case 7: dict[id] = new UNIT07_NIN(id, war_UnitX[j][tp], wrk_y, j); break; case 8: dict[id] = new UNIT08_FIRE(id, war_UnitX[j][tp], wrk_y, j); break; case 9: dict[id] = new UNIT09_SNIPER(id, war_UnitX[j][tp], wrk_y, j); break; case 10: dict[id] = new UNIT10_KNIGHT(id, war_UnitX[j][tp], wrk_y, j); break; case 11: dict[id] = new UNIT11_HONE(id, war_UnitX[j][tp], wrk_y, j); break; case 12: dict[id] = new UNIT12_BIG(id, war_UnitX[j][tp], wrk_y, j); break; case 13: dict[id] = new UNIT13_YOWAI(id, war_UnitX[j][tp], wrk_y, j); break; case 14: dict[id] = new UNIT14_BIRIBIRI(id, war_UnitX[j][tp], wrk_y, j); break; case 15: dict[id] = new UNIT15_KATAI(id, war_UnitX[j][tp], wrk_y, j); break; case 16: dict[id] = new UNIT16_BOSS(id, war_UnitX[j][tp], wrk_y, j); break; }; dict["f_unit"].addChild(dict[id]); dict[("SHADOW" + id)] = new ETC20_SHADOW(); dict["f_shadow"].addChild(dict[("SHADOW" + id)]); dict[("SHADOW" + id)].x = dict[id].x; dict[("SHADOW" + id)].y = (dict[id].y + 17); _local2 = war_TotalUnitCnt; _local3 = j; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; war_UnitID[j].push(id); if (dict[("war_btn" + tp)]){ dict[("war_btn" + tp)].visible = false; }; i++; }; }; tp++; }; war_TotalUnitCnt_start[j] = war_TotalUnitCnt[j]; j++; }; wrk = 0; if (ken_Special[ken_def_id] == 1){ wrk = 3; } else { if (ken_Special[ken_def_id] == 3){ wrk = 2; }; }; if (wrk > 0){ war_Adj_DEF_S[0] = (-10 + (20 * wrk)); _local2 = war_Mes_Cnt; _local3 = 0; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; dict[(("MES" + "0") + (3 + wrk))] = new ETC21_MES((3 + wrk), war_Mes_Cnt[0], 0); dict["f_main"].addChild(dict[(("MES" + "0") + (3 + wrk))]); }; wrk = 0; if (ken_Special[ken_def_id] == 2){ wrk = 3; } else { if (ken_Special[ken_def_id] == 3){ wrk = 2; }; }; if (wrk > 0){ war_Adj_DEF_L[0] = (-10 + (20 * wrk)); _local2 = war_Mes_Cnt; _local3 = 0; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; dict[(("MES" + "0") + (6 + wrk))] = new ETC21_MES((6 + wrk), war_Mes_Cnt[0], 0); dict["f_main"].addChild(dict[(("MES" + "0") + (6 + wrk))]); }; wrk = 0; if (ken_Special[ken_def_id] == 4){ wrk = 2; }; if (wrk > 0){ war_Anti_Tac[0] = wrk; _local2 = war_Mes_Cnt; _local3 = 0; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; dict[(("MES" + "0") + (15 + wrk))] = new ETC21_MES((15 + wrk), war_Mes_Cnt[0], 0); dict["f_main"].addChild(dict[(("MES" + "0") + (15 + wrk))]); if (wrk == 3){ war_TacUseMode[0] = 1; dict["btn_tacuse"].confirm.gotoAndStop(4); }; }; if (ken_Bld[ken_def_id] == 5){ war_Heal[1] = 1; _local2 = war_Mes_Cnt; _local3 = 1; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; dict["MES121"] = new ETC21_MES(21, war_Mes_Cnt[1], 1); dict["f_main"].addChild(dict["MES121"]); }; if (ken_Bld[ken_atk_id] == 6){ war_Sien[0] = 1; _local2 = war_Mes_Cnt; _local3 = 0; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; dict["MES022"] = new ETC21_MES(22, war_Mes_Cnt[0], 0); dict["f_main"].addChild(dict["MES022"]); }; wrk = 0; if (ken_Bld[ken_def_id] == 7){ wrk = 3; }; if (wrk > 0){ war_Capture[1] = (wrk * 5); _local2 = war_Mes_Cnt; _local3 = 1; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; dict[(("MES" + "1") + (9 + wrk))] = new ETC21_MES((9 + wrk), war_Mes_Cnt[1], 1); dict["f_main"].addChild(dict[(("MES" + "1") + (9 + wrk))]); }; wrk = 0; if (ken_Bld[ken_def_id] == 9){ wrk = 3; }; if (wrk > 0){ war_Brain[1] = (wrk * 5); _local2 = war_Mes_Cnt; _local3 = 1; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; dict[(("MES" + "1") + (12 + wrk))] = new ETC21_MES((12 + wrk), war_Mes_Cnt[1], 1); dict["f_main"].addChild(dict[(("MES" + "1") + (12 + wrk))]); }; if (ken_Special[ken_def_id] == 9){ war_Adj_SPEED[0] = -1; _local2 = war_Mes_Cnt; _local3 = 0; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; dict["MES020"] = new ETC21_MES(20, war_Mes_Cnt[0], 0); dict["f_main"].addChild(dict["MES020"]); }; if ((((ken_Special[ken_def_id] == 10)) && ((ken_side[ken_def_id] == 48)))){ war_Sippai[1] = 1; _local2 = war_Mes_Cnt; _local3 = 1; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; dict["MES023"] = new ETC21_MES(23, war_Mes_Cnt[1], 1); dict["f_main"].addChild(dict["MES023"]); }; dict["f_bg"].flag1.gotoAndStop(ken_side[ken_atk_id]); dict["f_bg"].name1.gotoAndStop(ken_side[ken_atk_id]); dict["f_bg"].flag2.gotoAndStop(ken_side[ken_def_id]); dict["f_bg"].name2.gotoAndStop(ken_side[ken_def_id]); war_TotalUnitCnt_disp[0] = war_TotalUnitCnt[0]; war_TotalUnitCnt_disp[1] = war_TotalUnitCnt[1]; wrk_txt = ("00" + war_TotalUnitCnt_disp[0]).slice(-2); dict["f_bg"].i1.gotoAndStop((Number(wrk_txt.charAt(0)) + 1)); dict["f_bg"].i2.gotoAndStop((Number(wrk_txt.charAt(1)) + 1)); wrk_txt = ("00" + war_TotalUnitCnt_disp[1]).slice(-2); dict["f_bg"].i3.gotoAndStop((Number(wrk_txt.charAt(0)) + 1)); dict["f_bg"].i4.gotoAndStop((Number(wrk_txt.charAt(1)) + 1)); war_time_cnt = 0; dict["f_bg"].sand_timer.mask = dict["f_bg"].sand_timer.sand_mask; dict["f_bg"].sand_timer.sand1.scaleY = 1; dict["f_bg"].sand_timer.sand2.scaleY = 0; dict["f_bg"].sand_timer.sand_ani.visible = false; stage.addEventListener(MouseEvent.MOUSE_UP, StageMouseUp); war_end_cnt = 0; fade_flg = true; }; break; case "battle_start": if (!wrk_flg){ wrk_flg = true; se_dora_flg = true; dict["war_start"] = new war_start(); dict["war_start"].x = 320; dict["war_start"].y = 240; dict["war_start"].atk_side.gotoAndStop(ken_side[ken_atk_id]); dict["war_start"].def_side.gotoAndStop(ken_side[ken_def_id]); dict["f_main"].addChild(dict["war_start"]); e_id++; dict[("ETC" + e_id)] = new ETC35_WAR_START(e_id, 320, 240); dict["f_main"].addChild(dict[("ETC" + e_id)]); }; sort_mc_y(0, (dict["f_unit"].numChildren - 1)); if (war_PlayerSide > -1){ i = 1; while (i <= 12) { if (dict[("war_btn" + i)]){ if (war_UnitCnt[war_PlayerSide][i] == 0){ dict[("war_btn" + i)].visible = false; } else { dict[("war_btn" + i)].visible = true; }; }; i++; }; }; if (!pause_flg){ wrk_cnt++; if (wrk_cnt > 40){ dict["f_main"].removeChild(dict["war_start"]); delete dict["war_start"]; game_mode = "battle_main"; }; }; break; case "battle_end": if (!wrk_flg){ wrk_flg = true; se_dora_flg = true; dict["war_end"] = new war_end(); dict["war_end"].x = 320; dict["war_end"].y = 240; dict["war_end"].gotoAndStop((wrk_id + 1)); if (wrk_id == 0){ dict["war_end"].win_side1.gotoAndStop(ken_side[ken_def_id]); dict["war_end"].win_side1.visible = true; dict["war_end"].win_side2.visible = false; } else { dict["war_end"].win_side2.gotoAndStop(ken_side[ken_atk_id]); dict["war_end"].win_side1.visible = false; dict["war_end"].win_side2.visible = true; }; dict["f_main"].addChild(dict["war_end"]); }; wrk_cnt++; if (wrk_cnt > 60){ dict["f_main"].removeChild(dict["war_end"]); delete dict["war_end"]; game_mode = "battle_close"; }; break; case "battle_main": if (!pause_flg){ sort_mc_y(0, (dict["f_unit"].numChildren - 1)); j = 0; while (j <= 1) { if (j == 0){ wrk_side = ken_side[ken_atk_id]; } else { wrk_side = ken_side[ken_def_id]; }; if (j != war_PlayerSide){ if (war_TacUseMode[j] == 0){ switch (war_AI_Tac[j]){ case 1: case 2: case 3: case 6: case 8: if (Math.floor((Math.random() * 100)) < 3){ war_Tac_Flg[j] = 1; war_TacUseMode[j] = 1; war_Tac_No[j] = war_AI_Tac[j]; }; break; case 5: if (((dict[war_Wall_ID].hp * 100) / dict[war_Wall_ID].MAX_HP) <= 30){ war_Tac_Flg[j] = 1; war_Tac_No[j] = war_AI_Tac[j]; war_TacUseMode[j] = 1; }; break; case 7: i = 0; while (i < war_UnitID[j].length) { wrk_id = war_UnitID[j][i]; if (dict[war_UnitID[j][i]]){ if (((dict[wrk_id].live_flg) && ((dict[wrk_id].type >= 1)))){ if ((((dict[wrk_id].hp <= 100)) && ((Math.floor((Math.random() * 100)) < 10)))){ war_Tac_Flg[j] = 1; war_TacUseMode[j] = 1; war_Tac_No[j] = war_AI_Tac[j]; }; }; }; i++; }; break; case 9: case 10: if (((war_TotalUnitCnt[j] * 100) / war_TotalUnitCnt_start[j]) <= 35){ war_Tac_Flg[j] = 1; war_TacUseMode[j] = 1; war_Tac_No[j] = war_AI_Tac[j]; }; break; }; }; if ((((j == 0)) && (!((wrk_side == 48))))){ if ((((((war_Escape_Mode == 0)) && ((((war_TotalUnitCnt[j] * 100) / war_TotalUnitCnt[(1 - j)]) <= ai_flg12[wrk_side])))) && ((war_TotalUnitCnt[j] > 1)))){ if ((((war_TacUseMode[j] == 0)) && ((tech_tac[wrk_side] >= 4)))){ war_Tac_Flg[j] = 1; war_TacUseMode[j] = 1; war_Tac_No[j] = 4; } else { war_Escape_Mode = 1.5; se_escape_flg = true; }; }; }; wrk = (-9999999 * (-1 * j)); i = 0; while (i < war_UnitID[(1 - j)].length) { wrk_id = war_UnitID[(1 - j)][i]; if (dict[wrk_id]){ if (dict[wrk_id].live_flg){ if ((((j == 0)) && ((wrk < dict[wrk_id].x)))){ wrk = (dict[wrk_id].x - 30); } else { if ((((j == 1)) && ((wrk > dict[wrk_id].x)))){ wrk = (dict[wrk_id].x + 30); }; }; }; }; i++; }; i = 1; while (i <= 12) { switch (i){ case 1: case 4: case 7: case 10: case 11: case 12: if ((((j == 1)) && ((war_Wall_LV > 0)))){ war_UnitMode[j][i] = "deffence"; } else { switch (ai_flg10[wrk_side]){ case 0: war_UnitMode[j][i] = "attack"; break; case 1: if ((war_time_cnt % 90) == 0){ if (war_UnitMode[j][i] != "deffence"){ war_UnitMode[j][i] = "deffence"; war_UnitX[j][i] = wrk; } else { war_UnitMode[j][i] = "attack"; }; }; break; case 2: if ((war_time_cnt % 90) == 0){ if (Math.floor((Math.random() * 100)) < 50){ war_UnitMode[j][i] = "attack"; } else { war_UnitMode[j][i] = "deffence"; if ((war_time_cnt % 30) == 0){ war_UnitX[j][i] = wrk; }; }; }; break; }; }; break; case 3: if ((((j == 1)) && ((war_Wall_LV > 0)))){ war_UnitMode[j][i] = "deffence"; } else { war_UnitMode[j][i] = "attack"; }; break; case 2: case 8: case 9: switch (ai_flg11[wrk_side]){ case 0: war_UnitMode[j][i] = "attack"; break; case 1: war_UnitMode[j][i] = "deffence"; break; case 2: if ((war_time_cnt % 300) == 0){ if (Math.floor((Math.random() * 100)) < 50){ war_UnitMode[j][i] = "attack"; } else { war_UnitMode[j][i] = "deffence"; }; }; break; }; break; case 5: case 6: war_UnitMode[j][i] = "attack"; break; }; i++; }; }; j++; }; j = 0; while (j <= 1) { if (war_Tac_Flg[j] != 0){ _local2 = war_Tac_Cnt; _local3 = j; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; if (war_Tac_Cnt[j] == 1){ se_tac_flg = true; e_id++; dict[("ETC" + e_id)] = new ETC07_TAC_NAME(e_id, (160 + (320 * j)), 240, war_Tac_No[j]); dict["f_main"].addChild(dict[("ETC" + e_id)]); }; switch (war_Tac_No[j]){ case 1: if ((((war_Tac_Flg[j] == 1)) && ((war_Tac_Cnt[j] > 15)))){ se_wind_flg = true; i = 0; while (i < war_UnitID[j].length) { wrk_id = war_UnitID[j][i]; if (dict[wrk_id]){ if (((dict[wrk_id].live_flg) && (!((dict[wrk_id].type == -1))))){ e_id++; dict[("ETC" + e_id)] = new ETC12_KAZE(e_id, dict[wrk_id].x, dict[wrk_id].y); dict["f_main"].addChild(dict[("ETC" + e_id)]); }; }; i++; }; i = 0; while (i < war_UnitID[j].length) { wrk_id = war_UnitID[j][i]; if (dict[wrk_id]){ if (((dict[wrk_id].live_flg) && (!((dict[wrk_id].type == -1))))){ e_id++; dict[("ETC" + e_id)] = new ETC06_TAC_EFFECT(e_id, dict[wrk_id].x, (dict[wrk_id].y - 10), 1); dict["f_main"].addChild(dict[("ETC" + e_id)]); }; }; i++; }; _local2 = war_Mes_Cnt; _local3 = j; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; dict[(("MES" + j) + "1")] = new ETC21_MES(1, war_Mes_Cnt[j], j); dict["f_main"].addChild(dict[(("MES" + j) + "1")]); if (war_Anti_Tac[j] == 0){ war_Adj_SPEED[j] = (war_Adj_SPEED[j] + 2); } else { if (war_Anti_Tac[j] == 1){ war_Adj_SPEED[j] = (war_Adj_SPEED[j] + 1.5); } else { if (war_Anti_Tac[j] == 2){ war_Adj_SPEED[j] = (war_Adj_SPEED[j] + 1); }; }; }; war_Tac_Flg[j] = 2; }; if (war_Tac_Flg[j] == 2){ if (war_Tac_Cnt[j] >= 450){ if (war_Anti_Tac[j] == 0){ war_Adj_SPEED[j] = (war_Adj_SPEED[j] - 2); } else { if (war_Anti_Tac[j] == 1){ war_Adj_SPEED[j] = (war_Adj_SPEED[j] - 1.5); } else { if (war_Anti_Tac[j] == 2){ war_Adj_SPEED[j] = (war_Adj_SPEED[j] - 1); }; }; }; war_Tac_Flg[j] = 0; i = 0; while (i < war_UnitID[j].length) { wrk_id = war_UnitID[j][i]; if (dict[wrk_id]){ if (((dict[wrk_id].live_flg) && (!((dict[wrk_id].type == -1))))){ e_id++; dict[("ETC" + e_id)] = new ETC06_TAC_EFFECT(e_id, dict[wrk_id].x, (dict[wrk_id].y - 10), 2); dict["f_main"].addChild(dict[("ETC" + e_id)]); }; }; i++; }; dict[(("MES" + j) + "1")].move_mode = "frame_out"; }; }; break; case 2: if ((((war_Tac_Flg[j] == 1)) && ((war_Tac_Cnt[j] > 15)))){ se_fire_flg = true; i = 0; while (i < war_UnitID[j].length) { wrk_id = war_UnitID[j][i]; if (dict[wrk_id]){ if (((dict[wrk_id].live_flg) && (!((dict[wrk_id].type == -1))))){ e_id++; dict[("ETC" + e_id)] = new ETC13_FRAME(e_id, dict[wrk_id].x, dict[wrk_id].y); dict["f_main"].addChild(dict[("ETC" + e_id)]); }; }; i++; }; i = 0; while (i < war_UnitID[j].length) { wrk_id = war_UnitID[j][i]; if (dict[wrk_id]){ if (((dict[wrk_id].live_flg) && (!((dict[wrk_id].type == -1))))){ e_id++; dict[("ETC" + e_id)] = new ETC06_TAC_EFFECT(e_id, dict[wrk_id].x, (dict[wrk_id].y - 10), 3); dict["f_main"].addChild(dict[("ETC" + e_id)]); }; }; i++; }; _local2 = war_Mes_Cnt; _local3 = j; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; dict[(("MES" + j) + "2")] = new ETC21_MES(2, war_Mes_Cnt[j], j); dict["f_main"].addChild(dict[(("MES" + j) + "2")]); war_Tac_Flg[j] = 2; }; if (war_Tac_Flg[j] == 2){ if (war_Tac_Cnt[j] < 450){ if (war_Anti_Tac[j] == 0){ war_Adj_ATK[j] = 10; } else { if (war_Anti_Tac[j] == 1){ war_Adj_ATK[j] = 8; } else { if (war_Anti_Tac[j] == 2){ war_Adj_ATK[j] = 5; }; }; }; } else { war_Adj_ATK[j] = 0; war_Tac_Flg[j] = 0; i = 0; while (i < war_UnitID[j].length) { wrk_id = war_UnitID[j][i]; if (dict[wrk_id]){ if (((dict[wrk_id].live_flg) && (!((dict[wrk_id].type == -1))))){ e_id++; dict[("ETC" + e_id)] = new ETC06_TAC_EFFECT(e_id, dict[wrk_id].x, (dict[wrk_id].y - 10), 4); dict["f_main"].addChild(dict[("ETC" + e_id)]); }; }; i++; }; dict[(("MES" + j) + "2")].move_mode = "frame_out"; }; }; break; case 3: if ((((war_Tac_Flg[j] == 1)) && ((war_Tac_Cnt[j] > 15)))){ se_earth_flg = true; i = 0; while (i < war_UnitID[j].length) { wrk_id = war_UnitID[j][i]; if (dict[wrk_id]){ if (((dict[wrk_id].live_flg) && (!((dict[wrk_id].type == -1))))){ e_id++; dict[("ETC" + e_id)] = new ETC14_EARTH(e_id, dict[wrk_id].x, dict[wrk_id].y); dict["f_main"].addChild(dict[("ETC" + e_id)]); }; }; i++; }; i = 0; while (i < war_UnitID[j].length) { wrk_id = war_UnitID[j][i]; if (dict[wrk_id]){ if (((dict[wrk_id].live_flg) && (!((dict[wrk_id].type == -1))))){ e_id++; dict[("ETC" + e_id)] = new ETC06_TAC_EFFECT(e_id, dict[wrk_id].x, (dict[wrk_id].y - 10), 5); dict["f_main"].addChild(dict[("ETC" + e_id)]); }; }; i++; }; _local2 = war_Mes_Cnt; _local3 = j; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; dict[(("MES" + j) + "3")] = new ETC21_MES(3, war_Mes_Cnt[j], j); dict["f_main"].addChild(dict[(("MES" + j) + "3")]); war_Tac_Flg[j] = 2; }; if (war_Tac_Flg[j] == 2){ if (war_Tac_Cnt[j] < 450){ if (war_Anti_Tac[j] == 0){ war_Adj_DEF[j] = 20; } else { if (war_Anti_Tac[j] == 1){ war_Adj_DEF[j] = 15; } else { if (war_Anti_Tac[j] == 2){ war_Adj_DEF[j] = 10; }; }; }; } else { war_Adj_DEF[j] = 0; war_Tac_Flg[j] = 0; i = 0; while (i < war_UnitID[j].length) { wrk_id = war_UnitID[j][i]; if (dict[wrk_id]){ if (((dict[wrk_id].live_flg) && (!((dict[wrk_id].type == -1))))){ e_id++; dict[("ETC" + e_id)] = new ETC06_TAC_EFFECT(e_id, dict[wrk_id].x, (dict[wrk_id].y - 10), 6); dict["f_main"].addChild(dict[("ETC" + e_id)]); }; }; i++; }; dict[(("MES" + j) + "3")].move_mode = "frame_out"; }; }; break; case 4: if ((((war_Tac_Flg[j] == 1)) && ((war_Tac_Cnt[j] > 15)))){ se_smoke_flg = true; se_escape_flg = true; i = 0; while (i < war_UnitID[j].length) { wrk_id = war_UnitID[j][i]; if (dict[wrk_id]){ if (dict[wrk_id].live_flg){ e_id++; dict[("ETC" + e_id)] = new ETC11_KEMURI(e_id, ((dict[wrk_id].x + Math.floor((Math.random() * 200))) - 100), ((dict[wrk_id].y + Math.floor((Math.random() * 200))) - 100)); dict["f_main"].addChild(dict[("ETC" + e_id)]); e_id++; dict[("ETC" + e_id)] = new ETC11_KEMURI(e_id, ((dict[wrk_id].x + Math.floor((Math.random() * 200))) - 100), ((dict[wrk_id].y + Math.floor((Math.random() * 200))) - 100)); dict["f_main"].addChild(dict[("ETC" + e_id)]); e_id++; dict[("ETC" + e_id)] = new ETC11_KEMURI(e_id, ((dict[wrk_id].x + Math.floor((Math.random() * 200))) - 100), ((dict[wrk_id].y + Math.floor((Math.random() * 200))) - 100)); dict["f_main"].addChild(dict[("ETC" + e_id)]); e_id++; dict[("ETC" + e_id)] = new ETC11_KEMURI(e_id, ((dict[wrk_id].x + Math.floor((Math.random() * 200))) - 100), ((dict[wrk_id].y + Math.floor((Math.random() * 200))) - 100)); dict["f_main"].addChild(dict[("ETC" + e_id)]); }; }; i++; }; if (war_Anti_Tac[j] == 0){ war_Escape_Mode = 9; } else { if (war_Anti_Tac[j] == 1){ war_Escape_Mode = 7; } else { if (war_Anti_Tac[j] == 2){ war_Escape_Mode = 4.5; }; }; }; war_Tac_Flg[j] = 2; }; break; case 5: if ((((war_Tac_Flg[j] == 1)) && ((war_Tac_Cnt[j] > 15)))){ if (!dict[war_Wall_ID].live_flg){ war_Tac_Flg[j] = 2; } else { i = 0; while (i < 64) { wrk_x = (Math.floor((Math.random() * 60)) - 30); wrk_y = (Math.floor((Math.random() * 350)) - 175); e_id++; dict[("ETC" + e_id)] = new ETC09_REPAIR_EFFECT(e_id, (dict[war_Wall_ID].x + wrk_x), (dict[war_Wall_ID].y + wrk_y)); dict["f_main"].addChild(dict[("ETC" + e_id)]); i++; }; if (war_Anti_Tac[j] == 0){ wrk = (dict[war_Wall_ID].MAX_HP - dict[war_Wall_ID].hp); } else { if (war_Anti_Tac[j] == 1){ wrk = Math.floor(((dict[war_Wall_ID].MAX_HP - dict[war_Wall_ID].hp) * 0.75)); } else { if (war_Anti_Tac[j] == 2){ wrk = Math.floor(((dict[war_Wall_ID].MAX_HP - dict[war_Wall_ID].hp) * 0.5)); }; }; }; dict[war_Wall_ID].heal(wrk, dict[war_Wall_ID].x, dict[war_Wall_ID].y); war_Tac_Flg[j] = 2; }; }; break; case 6: if ((((war_Tac_Flg[j] == 1)) && ((war_Tac_Cnt[j] > 15)))){ se_earth_flg = true; i = 0; while (i < war_UnitID[(1 - j)].length) { wrk_id = war_UnitID[(1 - j)][i]; if (dict[wrk_id]){ if (((dict[wrk_id].live_flg) && ((dict[wrk_id].type >= 1)))){ if (war_Anti_Tac[j] == 0){ wrk = (Math.floor((Math.random() * 2)) + 1); } else { if (war_Anti_Tac[j] == 1){ wrk = (Math.floor((Math.random() * 1)) + 1); } else { if (war_Anti_Tac[j] == 2){ wrk = 1; }; }; }; e_id++; dict[("ETC" + e_id)] = new ETC10_OMORI(e_id, wrk_id, dict[wrk_id].x, (dict[wrk_id].y - (400 + Math.floor((Math.random() * 400)))), wrk); dict["f_main"].addChild(dict[("ETC" + e_id)]); }; }; i++; }; war_Tac_Flg[j] = 2; }; break; case 7: if ((((war_Tac_Flg[j] == 1)) && ((war_Tac_Cnt[j] > 15)))){ i = 0; while (i < war_UnitID[j].length) { wrk_id = war_UnitID[j][i]; if (dict[wrk_id]){ if (((dict[wrk_id].live_flg) && (!((dict[wrk_id].type == -1))))){ if (war_Anti_Tac[j] == 0){ wrk = Math.floor((dict[wrk_id].MAX_HP / 2)); } else { if (war_Anti_Tac[j] == 1){ wrk = Math.floor((dict[wrk_id].MAX_HP / 3)); } else { if (war_Anti_Tac[j] == 2){ wrk = Math.floor((dict[wrk_id].MAX_HP / 4)); }; }; }; e_id++; dict[("ETC" + e_id)] = new ETC15_SIZUKU(e_id, wrk_id, dict[wrk_id].x, (dict[wrk_id].y - (400 + Math.floor((Math.random() * 400)))), wrk); dict["f_main"].addChild(dict[("ETC" + e_id)]); }; }; i++; }; war_Tac_Flg[j] = 2; }; break; case 8: if ((((war_Tac_Flg[j] == 1)) && ((war_Tac_Cnt[j] > 15)))){ se_flash_flg = true; e_id++; dict[("ETC" + e_id)] = new ETC17_FLASH(e_id, 320, 240); dict["f_main"].addChild(dict[("ETC" + e_id)]); if (war_Anti_Tac[j] == 0){ wrk = 120; } else { if (war_Anti_Tac[j] == 1){ wrk = 90; } else { if (war_Anti_Tac[j] == 2){ wrk = 60; }; }; }; i = 0; while (i < war_UnitID[(1 - j)].length) { wrk_id = war_UnitID[(1 - j)][i]; if (dict[wrk_id]){ if (((dict[wrk_id].live_flg) && (!((dict[wrk_id].type == -1))))){ dict[wrk_id].mahi(wrk); }; }; i++; }; war_Tac_Flg[j] = 2; }; break; case 9: if ((((war_Tac_Flg[j] == 1)) && ((war_Tac_Cnt[j] > 15)))){ i = 0; while (i < id) { wrk_id = i; if (dict[wrk_id]){ if (war_Anti_Tac[j] == 0){ wrk = 100; } else { if (war_Anti_Tac[j] == 1){ wrk = 75; } else { if (war_Anti_Tac[j] == 2){ wrk = 50; }; }; }; if (((((((((((!(dict[wrk_id].live_flg)) && (!(dict[wrk_id].brain_flg)))) && ((dict[wrk_id].side == j)))) && (!((dict[wrk_id].type == -1))))) && ((dict[wrk_id].type <= 11)))) && ((Math.floor((Math.random() * 100)) <= wrk)))){ wrk++; e_id++; dict[("ETC" + e_id)] = new ETC19_HONE_RISE(e_id, j, dict[wrk_id].x, dict[wrk_id].y); dict["f_main"].addChild(dict[("ETC" + e_id)]); war_end_cnt = 0; }; }; i++; }; war_Tac_Flg[j] = 2; }; break; case 10: if ((((war_Tac_Flg[j] == 1)) && ((war_Tac_Cnt[j] > 15)))){ se_holy_flg = true; i = 0; while (i < id) { wrk_id = i; if (dict[wrk_id]){ if (war_Anti_Tac[j] == 0){ wrk = 60; } else { if (war_Anti_Tac[j] == 1){ wrk = 40; } else { if (war_Anti_Tac[j] == 2){ wrk = 20; }; }; }; if (((((((((((!(dict[wrk_id].live_flg)) && (!(dict[wrk_id].brain_flg)))) && ((dict[wrk_id].side == j)))) && (!((dict[wrk_id].type == -1))))) && (!((dict[wrk_id].type == 16))))) && ((Math.floor((Math.random() * 100)) <= wrk)))){ wrk = dict[wrk_id].MAX_HP; e_id++; dict[("ETC" + e_id)] = new ETC18_HOLY(e_id, wrk_id, dict[wrk_id].x, dict[wrk_id].y, wrk); dict["f_main"].addChild(dict[("ETC" + e_id)]); war_end_cnt = 0; }; }; i++; }; war_Tac_Flg[j] = 2; }; break; }; }; j++; }; j = 0; while (j <= 1) { if ((((((war_Sippai[j] > 0)) && (((war_time_cnt % 60) == 0)))) && ((war_end_cnt == 0)))){ e_id++; dict[("ETC" + e_id)] = new ETC41_SIPPAI(e_id, (Math.floor((Math.random() * 576)) + 32), -32, (Math.floor((Math.random() * 576)) + 32), (Math.floor((Math.random() * 318)) + 66), j); dict["f_main"].addChild(dict[("ETC" + e_id)]); }; if ((((war_Sien[j] > 0)) && (((war_time_cnt % 50) == 0)))){ i = Math.floor((Math.random() * war_UnitID[(1 - j)].length)); wrk_id = war_UnitID[(1 - j)][i]; if (dict[wrk_id]){ se_sien_flg = true; e_id++; dict[("ETC" + e_id)] = new ETC31_SIEN(e_id, dict[wrk_id].x, dict[wrk_id].y, 0); dict["f_main"].addChild(dict[("ETC" + e_id)]); }; }; if ((((war_Heal[j] > 0)) && (((war_time_cnt % 120) == 0)))){ i = 0; while (i < war_UnitID[j].length) { wrk_id = war_UnitID[j][i]; if (dict[wrk_id]){ if (((dict[wrk_id].live_flg) && ((dict[wrk_id].type >= 1)))){ dict[wrk_id].heal((war_Heal[j] * 30), dict[wrk_id].x, dict[wrk_id].y); }; }; i++; }; }; j++; }; if (war_TotalUnitCnt_disp[0] > war_TotalUnitCnt[0]){ _local2 = war_TotalUnitCnt_disp; _local3 = 0; _local4 = (_local2[_local3] - 1); _local2[_local3] = _local4; }; if (war_TotalUnitCnt_disp[0] < war_TotalUnitCnt[0]){ _local2 = war_TotalUnitCnt_disp; _local3 = 0; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; }; if (war_TotalUnitCnt_disp[1] > war_TotalUnitCnt[1]){ _local2 = war_TotalUnitCnt_disp; _local3 = 1; _local4 = (_local2[_local3] - 1); _local2[_local3] = _local4; }; if (war_TotalUnitCnt_disp[1] < war_TotalUnitCnt[1]){ _local2 = war_TotalUnitCnt_disp; _local3 = 1; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; }; wrk_txt = ("00" + war_TotalUnitCnt_disp[0]).slice(-2); dict["f_bg"].i1.gotoAndStop((Number(wrk_txt.charAt(0)) + 1)); dict["f_bg"].i2.gotoAndStop((Number(wrk_txt.charAt(1)) + 1)); wrk_txt = ("00" + war_TotalUnitCnt_disp[1]).slice(-2); dict["f_bg"].i3.gotoAndStop((Number(wrk_txt.charAt(0)) + 1)); dict["f_bg"].i4.gotoAndStop((Number(wrk_txt.charAt(1)) + 1)); if (war_PlayerSide > -1){ i = 1; while (i <= 12) { if (dict[("war_btn" + i)]){ if (war_UnitCnt[war_PlayerSide][i] == 0){ dict[("war_btn" + i)].visible = false; } else { dict[("war_btn" + i)].visible = true; }; }; i++; }; }; war_time_cnt++; if (war_time_cnt < 1800){ dict["f_bg"].sand_timer.sand_ani.visible = true; dict["f_bg"].sand_timer.sand_ani.nextFrame(); dict["f_bg"].sand_timer.sand1.scaleY = ((1800 - war_time_cnt) / 1800); dict["f_bg"].sand_timer.sand2.scaleY = (war_time_cnt / 1800); } else { dict["f_bg"].sand_timer.sand_ani.visible = false; dict["f_bg"].sand_timer.sand1.scaleY = 0; dict["f_bg"].sand_timer.sand2.scaleY = 1; }; if (war_TotalUnitCnt[0] <= 0){ war_end_cnt++; if ((((((war_end_cnt > 20)) && ((war_TotalUnitCnt_disp[0] == war_TotalUnitCnt[0])))) && ((war_TotalUnitCnt_disp[1] == war_TotalUnitCnt[1])))){ i = 1; while (i <= 16) { ken_UnitCnt[ken_def_id][i] = war_UnitCnt[1][i]; ken_TotalUnitCnt[ken_def_id] = (ken_TotalUnitCnt[ken_def_id] + war_UnitCnt[1][i]); i++; }; i = 1; while (i <= 16) { if (war_UnitCnt_Brain[1][i] > 0){ if ((ken_TotalUnitCnt[ken_def_id] + war_UnitCnt_Brain[1][i]) < Unit_Max){ ken_UnitCnt[ken_def_id][i] = (ken_UnitCnt[ken_def_id][i] + war_UnitCnt_Brain[1][i]); ken_TotalUnitCnt[ken_def_id] = (ken_TotalUnitCnt[ken_def_id] + war_UnitCnt_Brain[1][i]); } else { ken_UnitCnt[ken_def_id][i] = (ken_UnitCnt[ken_def_id][i] + (Unit_Max - ken_TotalUnitCnt[ken_def_id])); ken_TotalUnitCnt[ken_def_id] = (ken_TotalUnitCnt[ken_def_id] + (Unit_Max - ken_TotalUnitCnt[ken_def_id])); break; }; }; i++; }; i = 1; while (i <= 16) { if (ken_UnitEndCnt[ken_def_id][i] > ken_UnitCnt[ken_def_id][i]){ ken_UnitEndCnt[ken_def_id][i] = ken_UnitCnt[ken_def_id][i]; }; i++; }; info_flg = true; info_idx = 2; info_ken = ken_def_id; wrk_flg = false; wrk_id = 0; game_mode = "battle_end"; break; }; } else { if (war_TotalUnitCnt[1] <= 0){ war_end_cnt++; if ((((((war_end_cnt > 20)) && ((war_TotalUnitCnt_disp[0] == war_TotalUnitCnt[0])))) && ((war_TotalUnitCnt_disp[1] == war_TotalUnitCnt[1])))){ ken_side[ken_def_id] = ken_side[ken_atk_id]; ken_Bld[ken_def_id] = 0; i = 1; while (i <= 16) { ken_UnitCnt[ken_def_id][i] = war_UnitCnt[0][i]; ken_UnitEndCnt[ken_def_id][i] = war_UnitCnt[0][i]; ken_TotalUnitCnt[ken_def_id] = (ken_TotalUnitCnt[ken_def_id] + war_UnitCnt[0][i]); i++; }; info_flg = true; info_idx = 1; info_ken = ken_def_id; wrk_flg = false; wrk_id = 1; game_mode = "battle_end"; break; }; } else { if ((((war_time_cnt >= 1800)) || ((((war_TotalUnitCnt[0] > 0)) && ((war_Escape_UnitCnt >= war_TotalUnitCnt[0])))))){ war_end_cnt++; if (war_end_cnt > 20){ i = 1; while (i <= 16) { ken_UnitCnt[ken_atk_id][i] = (ken_UnitCnt[ken_atk_id][i] + war_UnitCnt[0][i]); ken_UnitEndCnt[ken_atk_id][i] = (ken_UnitEndCnt[ken_atk_id][i] + war_UnitCnt[0][i]); ken_TotalUnitCnt[ken_atk_id] = (ken_TotalUnitCnt[ken_atk_id] + war_UnitCnt[0][i]); i++; }; i = 1; while (i <= 16) { ken_UnitCnt[ken_def_id][i] = war_UnitCnt[1][i]; ken_TotalUnitCnt[ken_def_id] = (ken_TotalUnitCnt[ken_def_id] + war_UnitCnt[1][i]); i++; }; i = 1; while (i <= 16) { if (war_UnitCnt_Brain[1][i] > 0){ if ((ken_TotalUnitCnt[ken_def_id] + war_UnitCnt_Brain[1][i]) < Unit_Max){ ken_UnitCnt[ken_def_id][i] = (ken_UnitCnt[ken_def_id][i] + war_UnitCnt_Brain[1][i]); ken_TotalUnitCnt[ken_def_id] = (ken_TotalUnitCnt[ken_def_id] + war_UnitCnt_Brain[1][i]); } else { ken_UnitCnt[ken_def_id][i] = (ken_UnitCnt[ken_def_id][i] + (Unit_Max - ken_TotalUnitCnt[ken_def_id])); ken_TotalUnitCnt[ken_def_id] = (ken_TotalUnitCnt[ken_def_id] + (Unit_Max - ken_TotalUnitCnt[ken_def_id])); break; }; }; i++; }; info_flg = true; info_idx = 2; info_ken = ken_def_id; wrk_flg = false; wrk_id = 0; game_mode = "battle_end"; break; }; }; }; }; }; break; case "battle_close": if (((!(fade_flg)) && (!(dict["fade"].visible)))){ dict["fade"].visible = true; fade_flg = true; }; if (fade_flg){ dict["fade"].alpha = (dict["fade"].alpha + 0.25); if (dict["fade"].alpha >= 1){ fade_flg = false; }; } else { if (ken_TotalUnitCnt[ken_def_id] > Unit_Max){ wrk = (ken_TotalUnitCnt[ken_def_id] - Unit_Max); if (ken_UnitCnt[ken_def_id][13] >= wrk){ ken_UnitCnt[ken_def_id][13] = (ken_UnitCnt[ken_def_id][13] - wrk); ken_TotalUnitCnt[ken_def_id] = (ken_TotalUnitCnt[ken_def_id] - wrk); //unresolved jump }; }; i = 1; while (i <= 16) { if (ken_UnitEndCnt[ken_def_id][i] > ken_UnitCnt[ken_def_id][i]){ ken_UnitEndCnt[ken_def_id][i] = ken_UnitCnt[ken_def_id][i]; }; i++; }; i = 1; while (i <= id) { if (dict[i]){ dict[i].kill(); }; i++; }; i = 1; while (i <= e_id) { if (dict[("ETC" + i)]){ dict[("ETC" + i)].kill(); }; i++; }; e_id = 0; i = 0; while (i <= 1) { j = 1; while (j <= 18) { if (dict[(("MES" + j) + i)]){ dict[(("MES" + j) + i)].kill(); }; j++; }; i++; }; dict["btn_tacuse"].kill(); dict["btn_escape"].kill(); dict["f_main"].removeChild(dict["f_move"]); delete dict["f_move"]; dict["f_main"].removeChild(dict["f_unit"]); delete dict["f_unit"]; dict["f_main"].removeChild(dict["f_shadow"]); delete dict["f_shadow"]; dict["f_main"].removeChild(dict["f_bg"]); delete dict["f_bg"]; dict["root"].removeChild(dict["f_main"]); delete dict["f_main"]; drag_flg = false; minimode = false; slidemode = false; stage.removeEventListener(MouseEvent.MOUSE_UP, StageMouseUp); game_mode = "main_setup"; game_mode2 = "ken_start"; }; break; case "tac_setup": dict["tac_bg"] = new tac_bg(); dict["tac_bg"].x = 320; dict["tac_bg"].y = 240; dict["tac_bg"].help.bg.visible = false; dict["tac_bg"].help.h1.visible = false; dict["tac_bg"].help.h2.visible = false; dict["tac_bg"].help.h3.visible = false; dict["tac_bg"].help.h4.visible = false; dict["tac_bg"].help.transform.colorTransform = color_white; dict["root"].addChild(dict["tac_bg"]); i = 0; while (i < 10) { dict[("btn" + (i + 1))] = new BTN15_TAC_SELECT((-180 + (90 * (i % 5))), (-65 + (75 * Math.floor((i / 5)))), (i + 1)); dict["tac_bg"].addChild(dict[("btn" + (i + 1))]); if (((((((tech_tac[player_id] * 2) < (i + 1))) || ((((i == 3)) && ((war_PlayerSide == 1)))))) || ((((i == 4)) && ((((war_PlayerSide == 0)) || (!(dict[war_Wall_ID])))))))){ dict[("btn" + (i + 1))].unit_disp.transform.colorTransform = color_shadow; dict[("btn" + (i + 1))].locked_flg = true; } else { dict[("btn" + (i + 1))].unit_disp.transform.colorTransform = color_normal; dict[("btn" + (i + 1))].locked_flg = false; }; i++; }; dict["btn_cancel"] = new BTN23_TAC_CANCEL(0, 190); dict["tac_bg"].addChild(dict["btn_cancel"]); dict["tac_bg"].help.gotoAndStop(28); dict["tac_bg"].visible = true; game_mode = "event_wait"; break; case "tac_close": i = 0; while (i < 10) { dict[("btn" + (i + 1))].kill(); i++; }; dict["btn_cancel"].kill(); dict["root"].removeChild(dict["tac_bg"]); delete dict["tac_bg"]; game_mode = "battle_main"; break; case "ai_battle": i = 1; while (i <= 8) { dict[("allow" + i)].graphics.clear(); i++; }; wrk_cnt = 0; i = 1; while (i <= 16) { wrk_cnt = (wrk_cnt + war_UnitCnt[1][i]); i++; }; if (wrk_cnt == 0){ ken_side[ken_def_id] = ken_side[ken_atk_id]; ken_Bld[ken_def_id] = 0; i = 1; while (i <= 16) { ken_UnitCnt[ken_def_id][i] = war_UnitCnt[0][i]; ken_UnitEndCnt[ken_def_id][i] = war_UnitCnt[0][i]; ken_TotalUnitCnt[ken_def_id] = (ken_TotalUnitCnt[ken_def_id] + war_UnitCnt[0][i]); i++; }; info_flg = true; info_idx = 1; info_ken = ken_def_id; KenUnitDisp(ken_atk_id); KenUnitDisp(ken_def_id); game_mode = "ken_start"; break; }; i = 0; while (i <= 1) { total_point[i] = 0; atk_point[i] = 0; def_point[i] = 0; war_Capture[i] = 0; war_Brain[i] = 0; i++; }; anti_ken = 100; anti_yumi = 100; anti_tac = 100; if (ken_Bld[ken_atk_id] == 6){ atk_point[0] = (atk_point[0] + 25); }; ai_wall_flg = false; switch (ken_Bld[ken_def_id]){ case 3: ai_wall_flg = true; def_point[1] = (def_point[1] + 45); break; case 4: ai_wall_flg = true; atk_point[1] = (atk_point[1] + 45); break; case 5: atk_point[1] = (atk_point[1] + 15); def_point[1] = (def_point[1] + 30); break; case 7: war_Capture[1] = (war_Capture[1] + 15); break; case 9: war_Brain[1] = (war_Brain[1] + 15); break; }; switch (ken_Special[ken_def_id]){ case 1: anti_ken = 50; break; case 2: anti_yumi = 50; break; case 3: anti_ken = 70; anti_yumi = 70; break; case 4: anti_tac = 50; break; case 9: anti_ken = 90; anti_yumi = 90; anti_tac = 90; break; }; if (anti_tac == 25){ anti_tac = 0; }; i = 0; while (i <= 1) { j = 1; while (j <= 16) { switch (j){ case 1: case 4: case 7: case 10: case 11: case 12: case 13: case 15: case 16: wrk = (war_UnitCnt[i][j] * tam_pow[j]); def_point[i] = (def_point[i] + wrk); if ((((i == 0)) && ((anti_ken < 100)))){ wrk = Math.floor(((wrk * anti_ken) / 100)); }; atk_point[i] = (atk_point[i] + wrk); break; case 2: case 8: case 9: case 14: wrk = (war_UnitCnt[i][j] * tam_pow[j]); if ((((i == 0)) && ((anti_yumi < 100)))){ wrk = Math.floor(((wrk * anti_yumi) / 100)); }; atk_point[i] = (atk_point[i] + wrk); break; case 3: case 5: wrk = ((war_UnitCnt[i][j] * tam_pow[j]) * 2); def_point[i] = (def_point[i] + wrk); break; case 6: if ((((i == 1)) && (ai_wall_flg))){ wrk = ((war_UnitCnt[i][j] * tam_pow[j]) * 2); def_point[i] = (def_point[i] + wrk); }; break; }; j++; }; if (i == 0){ wrk_side = ken_side[ken_atk_id]; } else { wrk_side = ken_side[ken_def_id]; }; wrk = (tech_tac[wrk_side] * 5); if ((((i == 0)) && ((anti_tac < 100)))){ wrk = Math.floor(((wrk * anti_tac) / 100)); }; atk_point[i] = (atk_point[i] + wrk); def_point[i] = (def_point[i] + wrk); i++; }; i = 0; while (i <= 1) { total_point[i] = Math.floor((atk_point[i] - (def_point[(1 - i)] / 2))); if (total_point[i] < 0){ total_point[i] = 0; }; wrk = Math.floor((Math.random() * 50)); total_point[i] = (total_point[i] + Math.floor(((total_point[i] * wrk) / 100))); i++; }; if (total_point[1] <= 0){ wrk_power = 999999; } else { wrk_power = Math.floor(((total_point[0] / total_point[1]) * 100)); }; wrk = (Math.floor((Math.random() * 100)) + 50); if (wrk <= wrk_power){ war_dammage = ((wrk * 2) - wrk_power); if (war_dammage < 5){ war_dammage = 5; } else { if (war_dammage > 90){ war_dammage = 90; }; }; ken_side[ken_def_id] = ken_side[ken_atk_id]; ken_Bld[ken_def_id] = 0; i = 1; while (i <= 16) { wrk_cnt = Math.floor(((war_UnitCnt[0][i] * war_dammage) / 100)); if (wrk_cnt > 0){ war_UnitCnt[0][i] = (war_UnitCnt[0][i] - wrk_cnt); if (war_UnitCnt[0][i] < 0){ war_UnitCnt[0][i] = 0; }; }; i++; }; i = 1; while (i <= 16) { ken_UnitCnt[ken_def_id][i] = war_UnitCnt[0][i]; ken_UnitEndCnt[ken_def_id][i] = war_UnitCnt[0][i]; ken_TotalUnitCnt[ken_def_id] = (ken_TotalUnitCnt[ken_def_id] + war_UnitCnt[0][i]); i++; }; info_flg = true; info_idx = 1; info_ken = ken_def_id; } else { war_dammage = (100 - (wrk - wrk_power)); if (war_dammage > 90){ war_dammage = 90; }; wrk2 = 0; i = 1; while (i <= 16) { wrk_cnt = Math.floor(((war_UnitCnt[1][i] * war_dammage) / 100)); if (wrk_cnt > 0){ war_UnitCnt[1][i] = (war_UnitCnt[1][i] - wrk_cnt); if (war_UnitCnt[1][i] < 0){ war_UnitCnt[1][i] = 0; }; }; wrk2 = (wrk2 + war_UnitCnt[1][i]); i++; }; war_dammage = ((wrk * 2) - wrk_power); if (war_dammage < 5){ war_dammage = 5; }; i = 1; while (i <= 16) { wrk_cnt = Math.floor(((war_UnitCnt[0][i] * war_dammage) / 100)); if ((war_UnitCnt[0][i] - wrk_cnt) < 0){ wrk_cnt = war_UnitCnt[0][i]; }; war_UnitCnt[0][i] = (war_UnitCnt[0][i] - wrk_cnt); if (war_Capture[1] > 0){ gold[ken_side[ken_def_id]] = (gold[ken_side[ken_def_id]] + (war_Capture[1] * wrk_cnt)); }; j = 1; while (j < wrk_cnt) { if ((((war_Brain[1] > Math.floor((Math.random() * 100)))) && ((wrk2 < Unit_Max)))){ _local2 = war_UnitCnt[1]; _local3 = i; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; wrk2++; }; j++; }; i++; }; i = 1; while (i <= 16) { ken_UnitCnt[ken_atk_id][i] = (ken_UnitCnt[ken_atk_id][i] + war_UnitCnt[0][i]); ken_UnitEndCnt[ken_atk_id][i] = (ken_UnitEndCnt[ken_atk_id][i] + war_UnitCnt[0][i]); ken_TotalUnitCnt[ken_atk_id] = (ken_TotalUnitCnt[ken_atk_id] + war_UnitCnt[0][i]); i++; }; i = 1; while (i <= 16) { ken_UnitCnt[ken_def_id][i] = war_UnitCnt[1][i]; ken_TotalUnitCnt[ken_def_id] = (ken_TotalUnitCnt[ken_def_id] + war_UnitCnt[1][i]); i++; }; i = 1; while (i <= 16) { if (ken_UnitEndCnt[ken_def_id][i] > ken_UnitCnt[ken_def_id][i]){ ken_UnitEndCnt[ken_def_id][i] = ken_UnitCnt[ken_def_id][i]; }; i++; }; info_flg = true; info_idx = 2; info_ken = ken_def_id; }; KenUnitDisp(ken_atk_id); KenUnitDisp(ken_def_id); game_mode = "ken_start"; break; }; if (sound_flg){ i = 0; while (i <= 3) { if (se_yarare_flg[i]){ se_yarare[i].play(0, 0, trans); se_yarare_flg[i] = false; }; i++; }; if (se_click_flg){ se_click.play(0, 0, trans); se_click_flg = false; }; if (se_poko_flg){ se_poko.play(0, 0, trans); se_poko_flg = false; }; if (se_save_flg){ se_save.play(0, 0, trans); se_save_flg = false; }; if (se_swing_flg){ se_swing.play(0, 0, trans); se_swing_flg = false; }; if (se_buy_flg){ se_buy.play(0, 0, trans); se_buy_flg = false; }; if (se_poi_flg){ se_poi.play(0, 0, trans); se_poi_flg = false; }; if (se_yumi_flg){ se_yumi.play(0, 0, trans); se_yumi_flg = false; }; if (se_metal_flg){ se_metal.play(0, 0, trans); se_metal_flg = false; }; if (se_cannon_flg){ se_cannon.play(0, 0, trans); se_cannon_flg = false; }; if (se_bomb_flg){ se_bomb.play(0, 0, trans); se_bomb_flg = false; }; if (se_repair_flg){ se_repair.play(0, 0, trans); se_repair_flg = false; }; if (se_wind_flg){ se_wind.play(0, 0, trans); se_wind_flg = false; }; if (se_fire_flg){ se_fire.play(0, 0, trans); se_fire_flg = false; }; if (se_earth_flg){ se_earth.play(0, 0, trans); se_earth_flg = false; }; if (se_smoke_flg){ se_smoke.play(0, 0, trans); se_smoke_flg = false; }; if (se_tac_flg){ se_tac.play(0, 0, trans); se_tac_flg = false; }; if (se_16t_fall_flg){ se_16t_fall.play(0, 0, trans); se_16t_fall_flg = false; }; if (se_16t_hit_flg){ se_16t_hit.play(0, 0, trans); se_16t_hit_flg = false; }; if (se_SIZUKU_fall_flg){ se_SIZUKU_fall.play(0, 0, trans); se_SIZUKU_fall_flg = false; }; if (se_SIZUKU_hit_flg){ se_SIZUKU_hit.play(0, 0, trans); se_SIZUKU_hit_flg = false; }; if (se_heal_flg){ se_heal.play(0, 0, trans); se_heal_flg = false; }; if (se_flash_flg){ se_flash.play(0, 0, trans); se_flash_flg = false; }; if (se_holy_flg){ se_holy.play(0, 0, trans); se_holy_flg = false; }; if (se_hone_attack_flg){ se_hone_attack.play(0, 0, trans); se_hone_attack_flg = false; }; if (se_hone_yarare_flg){ se_hone_yarare.play(0, 0, trans); se_hone_yarare_flg = false; }; if (se_brake_flg){ se_brake.play(0, 0, trans); se_brake_flg = false; }; if (se_brain_flg){ se_brain.play(0, 0, trans); se_brain_flg = false; }; if (se_yari_flg){ se_yari.play(0, 0, trans); se_yari_flg = false; }; if (se_katana_flg){ se_katana.play(0, 0, trans); se_katana_flg = false; }; if (se_shuriken_flg){ se_shuriken.play(0, 0, trans); se_shuriken_flg = false; }; if (se_fire_ball_flg){ se_fire_ball.play(0, 0, trans); se_fire_ball_flg = false; }; if (se_fire_bomb_flg){ se_fire_bomb.play(0, 0, trans); se_fire_bomb_flg = false; }; if (se_sniper_flg){ se_sniper.play(0, 0, trans); se_sniper_flg = false; }; if (se_sniper2_flg){ se_sniper2.play(0, 0, trans); se_sniper2_flg = false; }; if (se_knight_sword_flg){ se_knight_sword.play(0, 0, trans); se_knight_sword_flg = false; }; if (se_nagi_flg){ se_nagi.play(0, 0, trans); se_nagi_flg = false; }; if (se_escape_flg){ se_escape.play(0, 0, trans); se_escape_flg = false; }; if (se_warcry_flg){ se_warcry.play(0, 0, trans); se_warcry_flg = false; }; if (se_sien_flg){ se_sien.play(0, 0, trans); se_sien_flg = false; }; if (se_lose_flg){ se_lose.play(0, 0, trans); se_lose_flg = false; }; if (se_pon_flg){ se_pon.play(0, 0, trans); se_pon_flg = false; }; if (se_dora_flg){ se_dora.play(0, 0, trans); se_dora_flg = false; }; if (se_ikimono_flg){ se_ikimono.play(0, 0, trans); se_ikimono_flg = false; }; if (se_kaminari_flg){ se_kaminari.play(0, 0, trans); se_kaminari_flg = false; }; if (se_boss_flg){ se_boss.play(0, 0, trans); se_boss_flg = false; }; if (se_alert_flg){ se_alert.play(0, 0, trans); se_alert_flg = false; }; if (se_gameover_flg){ se_gameover.play(0, 0, trans); se_gameover_flg = false; }; if (se_ending_flg){ se_ending.play(0, 0, trans); se_ending_flg = false; }; }; }); this.stop(); } public function AllowMouseDOWN(_arg1:Event){ var _local2:Object; var _local3:int; _local2 = _arg1.target; _local3 = 0; if (((_local2.link_ok) && ((game_mode == "main_map")))){ se_click_flg = true; ken_atk_id = _local2.id; ken_def_id = _local2.link; if (_local2.link_enemy_flg){ war_UnitCnt[0] = new Array(); war_UnitCnt[1] = new Array(); war_UnitCnt_Brain[0] = new Array(); war_UnitCnt_Brain[1] = new Array(); _local3 = 1; while (_local3 <= 16) { war_UnitCnt[0][_local3] = 0; war_UnitCnt[1][_local3] = 0; war_UnitCnt_Brain[0][_local3] = 0; war_UnitCnt_Brain[1][_local3] = 0; _local3++; }; _local3 = 1; while (_local3 <= Unit_Max) { if (((dict[((("unitdisp_" + ken_atk_id) + "_") + _local3)].visible) && (dict[((("unitdisp_" + ken_atk_id) + "_") + _local3)].unit_waku.visible))){ var _local4 = ken_UnitCnt[ken_atk_id]; var _local5 = dict[((("unitdisp_" + ken_atk_id) + "_") + _local3)].type; var _local6 = (_local4[_local5] - 1); _local4[_local5] = _local6; _local4 = ken_TotalUnitCnt; _local5 = ken_atk_id; _local6 = (_local4[_local5] - 1); _local4[_local5] = _local6; _local4 = war_UnitCnt[0]; _local5 = dict[((("unitdisp_" + ken_atk_id) + "_") + _local3)].type; _local6 = (_local4[_local5] + 1); _local4[_local5] = _local6; }; _local3++; }; if (ken_TotalUnitCnt[ken_def_id] == 0){ game_mode = "battle_effect_setup"; game_mode2 = "ai_battle"; selected_id = -1; alw_flg = false; } else { wrk_flg = false; game_mode = "battle_effect_setup"; game_mode2 = "main_close"; game_mode3 = "battle_setup"; }; _local3 = 1; while (_local3 <= 16) { war_UnitCnt[1][_local3] = ken_UnitCnt[ken_def_id][_local3]; ken_UnitCnt[ken_def_id][_local3] = 0; _local3++; }; ken_TotalUnitCnt[ken_def_id] = 0; } else { _local3 = 1; while (_local3 <= Unit_Max) { if (((dict[((("unitdisp_" + ken_atk_id) + "_") + _local3)].visible) && (dict[((("unitdisp_" + ken_atk_id) + "_") + _local3)].unit_waku.visible))){ _local4 = ken_UnitCnt[ken_atk_id]; _local5 = dict[((("unitdisp_" + ken_atk_id) + "_") + _local3)].type; _local6 = (_local4[_local5] - 1); _local4[_local5] = _local6; _local4 = ken_TotalUnitCnt; _local5 = ken_atk_id; _local6 = (_local4[_local5] - 1); _local4[_local5] = _local6; _local4 = ken_UnitCnt[ken_def_id]; _local5 = dict[((("unitdisp_" + ken_atk_id) + "_") + _local3)].type; _local6 = (_local4[_local5] + 1); _local4[_local5] = _local6; _local4 = ken_TotalUnitCnt; _local5 = ken_def_id; _local6 = (_local4[_local5] + 1); _local4[_local5] = _local6; _local4 = ken_UnitEndCnt[ken_def_id]; _local5 = dict[((("unitdisp_" + ken_atk_id) + "_") + _local3)].type; _local6 = (_local4[_local5] + 1); _local4[_local5] = _local6; }; _local3++; }; KenUnitDisp(ken_atk_id); KenUnitDisp(ken_def_id); }; KenDisp(); }; } public function StageMouseDown(_arg1:MouseEvent){ var _local2:Object; var _local3:int; _local2 = _arg1.target.parent; _local3 = 0; if (game_mode == "main_map"){ if (((((((((!(minimode)) && (!(slidemode)))) && (!(buy_unit_flg)))) && (!(buy_bld_flg)))) && (!(scroll_flg)))){ if (dict["MOUSE"].x <= 440){ if (!_arg1.ctrlKey){ drag_flg = true; } else { scroll_flg = true; mouse_old_x = stage.mouseX; mouse_old_y = stage.mouseY; }; }; g_pos.x = dict["MOUSE"].x; g_pos.y = dict["MOUSE"].y; l_pos = dict["f_main"].globalToLocal(g_pos); drag_x1 = l_pos.x; drag_y1 = l_pos.y; alw_flg = false; if (_local2 != null){ if (_local2.propertyIsEnumerable("id")){ if (ken_side[_local2.id] == now_ken_id){ if (((_local2.propertyIsEnumerable("idx")) && (!(_local2.end_flg)))){ se_click_flg = true; _local3 = 1; if ((getTimer() - _local2.dbc_cnt) < 210){ if (((!((selected_id == -1))) && (!((selected_id == _local2.id))))){ i = 1; while (i <= Unit_Max) { dict[((("unitdisp_" + selected_id) + "_") + i)].unit_waku.visible = false; i++; }; }; i = 1; while (i <= Unit_Max) { if ((((dict[((("unitdisp_" + _local2.id) + "_") + i)].type == _local2.type)) && (!(dict[((("unitdisp_" + _local2.id) + "_") + i)].end_flg)))){ dict[((("unitdisp_" + _local2.id) + "_") + i)].unit_waku.visible = true; }; i++; }; selected_id = _local2.id; } else { if (_local2.unit_waku.visible){ _local2.unit_waku.visible = false; selected_id = -1; i = 1; while (i <= Unit_Max) { if (((dict[((("unitdisp_" + _local2.id) + "_") + i)].visible) && (dict[((("unitdisp_" + _local2.id) + "_") + i)].unit_waku.visible))){ selected_id = _local2.id; break; }; i++; }; } else { if (((!((selected_id == -1))) && (!((selected_id == _local2.id))))){ i = 1; while (i <= Unit_Max) { dict[((("unitdisp_" + selected_id) + "_") + i)].unit_waku.visible = false; i++; }; }; _local2.unit_waku.visible = true; selected_id = _local2.id; }; }; _local2.dbc_cnt = getTimer(); }; }; }; }; if (_local3 == 0){ if (selected_id != -1){ i = 1; while (i <= Unit_Max) { dict[((("unitdisp_" + selected_id) + "_") + i)].unit_waku.visible = false; i++; }; }; selected_id = -1; }; } else { if (buy_unit_flg){ if (menu_btn_flg){ menu_btn_flg = false; } else { if (buy_target_id > 0){ se_buy_flg = true; if (ken_TotalUnitCnt[buy_target_id] < Unit_Max){ var _local4 = ken_UnitCnt[buy_target_id]; var _local5 = buy_unit_id; var _local6 = (_local4[_local5] + 1); _local4[_local5] = _local6; _local4 = ken_UnitEndCnt[buy_target_id]; _local5 = buy_unit_id; _local6 = (_local4[_local5] + 1); _local4[_local5] = _local6; _local4 = ken_TotalUnitCnt; _local5 = buy_target_id; _local6 = (_local4[_local5] + 1); _local4[_local5] = _local6; gold[now_ken_id] = (gold[now_ken_id] - tam_cost[buy_unit_id]); }; if ((((gold[now_ken_id] < tam_cost[buy_unit_id])) || ((ken_TotalUnitCnt[buy_target_id] >= Unit_Max)))){ buy_unit_flg = false; buy_unit_id = -1; }; KenUnitDisp(buy_target_id); KenDisp(); } else { se_poi_flg = true; buy_unit_flg = false; buy_unit_id = -1; }; }; } else { if (buy_bld_flg){ if (menu_btn_flg){ menu_btn_flg = false; } else { if (buy_target_id > 0){ se_buy_flg = true; if (ken_Bld[buy_target_id] == 0){ ken_Bld[buy_target_id] = buy_unit_id; }; buy_bld_flg = false; buy_unit_id = -1; KenUnitDisp(buy_target_id); KenDisp(); } else { se_poi_flg = true; buy_bld_flg = false; buy_unit_id = -1; }; }; }; }; }; }; } public function UnitMouseOver(_arg1:Event){ var _local2:Object; _local2 = _arg1.target; if (_local2.currentFrame > 0){ dict["m_bg"].help.gotoAndStop(_local2.currentFrame); if (_local2.currentFrame < 11){ if (tam_cost[_local2.currentFrame] >= 1000){ dict["m_bg"].help.h1.visible = true; dict["m_bg"].help.h2.visible = true; dict["m_bg"].help.h3.visible = true; dict["m_bg"].help.h4.visible = true; wrk_txt = ("0000" + tam_cost[_local2.currentFrame]).slice(-4); dict["m_bg"].help.h1.gotoAndStop((Number(wrk_txt.charAt(0)) + 1)); dict["m_bg"].help.h2.gotoAndStop((Number(wrk_txt.charAt(1)) + 1)); dict["m_bg"].help.h3.gotoAndStop((Number(wrk_txt.charAt(2)) + 1)); dict["m_bg"].help.h4.gotoAndStop((Number(wrk_txt.charAt(3)) + 1)); } else { if (tam_cost[_local2.currentFrame] >= 100){ dict["m_bg"].help.h1.visible = true; dict["m_bg"].help.h2.visible = true; dict["m_bg"].help.h3.visible = true; dict["m_bg"].help.h4.visible = false; wrk_txt = ("000" + tam_cost[_local2.currentFrame]).slice(-3); dict["m_bg"].help.h1.gotoAndStop((Number(wrk_txt.charAt(0)) + 1)); dict["m_bg"].help.h2.gotoAndStop((Number(wrk_txt.charAt(1)) + 1)); dict["m_bg"].help.h3.gotoAndStop((Number(wrk_txt.charAt(2)) + 1)); } else { if (tam_cost[_local2.currentFrame] >= 10){ dict["m_bg"].help.h1.visible = true; dict["m_bg"].help.h2.visible = true; dict["m_bg"].help.h3.visible = false; dict["m_bg"].help.h4.visible = false; wrk_txt = ("00" + tam_cost[_local2.currentFrame]).slice(-2); dict["m_bg"].help.h1.gotoAndStop((Number(wrk_txt.charAt(0)) + 1)); dict["m_bg"].help.h2.gotoAndStop((Number(wrk_txt.charAt(1)) + 1)); } else { dict["m_bg"].help.h1.visible = true; dict["m_bg"].help.h2.visible = false; dict["m_bg"].help.h3.visible = false; dict["m_bg"].help.h4.visible = false; wrk_txt = ("0" + tam_cost[_local2.currentFrame]).slice(-1); dict["m_bg"].help.h1.gotoAndStop((Number(wrk_txt.charAt(0)) + 1)); }; }; }; }; }; } public function KenDisp(){ dict["m_bg"].turn_ken.gotoAndStop(now_ken_id); if (gold[now_ken_id] > 99999){ wrk_txt = "99999"; } else { wrk_txt = ("00000" + gold[now_ken_id]).slice(-5); }; dict["m_bg"].m1.gotoAndStop((Number(wrk_txt.charAt(0)) + 1)); dict["m_bg"].m2.gotoAndStop((Number(wrk_txt.charAt(1)) + 1)); dict["m_bg"].m3.gotoAndStop((Number(wrk_txt.charAt(2)) + 1)); dict["m_bg"].m4.gotoAndStop((Number(wrk_txt.charAt(3)) + 1)); dict["m_bg"].m5.gotoAndStop((Number(wrk_txt.charAt(4)) + 1)); income = 0; i = 1; while (i <= ken_cnt) { if (ken_side[i] == now_ken_id){ income = (income + ken_income[i]); }; i++; }; wrk_txt = ("0000" + income).slice(-4); dict["m_bg"].i1.gotoAndStop((Number(wrk_txt.charAt(0)) + 1)); dict["m_bg"].i2.gotoAndStop((Number(wrk_txt.charAt(1)) + 1)); dict["m_bg"].i3.gotoAndStop((Number(wrk_txt.charAt(2)) + 1)); dict["m_bg"].i4.gotoAndStop((Number(wrk_txt.charAt(3)) + 1)); i = 1; while (i <= ken_cnt) { if (live[i]){ tech_tam[i] = 1; tech_tac[i] = 1; j = 1; while (j <= ken_cnt) { if (ken_side[j] == i){ if (ken_Bld[j] == 1){ var _local1 = tech_tam; var _local2 = i; var _local3 = (_local1[_local2] + 1); _local1[_local2] = _local3; } else { if (ken_Bld[j] == 2){ _local1 = tech_tac; _local2 = i; _local3 = (_local1[_local2] + 1); _local1[_local2] = _local3; }; }; }; j++; }; if (tech_tam[i] > 5){ tech_tam[i] = 5; }; if (tech_tac[i] > 5){ tech_tac[i] = 5; }; }; i++; }; tech_tam[48] = 5; tech_tac[48] = 5; dict["m_bg"].tam_lv.gotoAndStop(tech_tam[now_ken_id]); dict["m_bg"].tac_lv.gotoAndStop(tech_tac[now_ken_id]); i = 1; while (i <= 10) { if (i > (tech_tam[now_ken_id] * 2)){ dict[("btn" + i)].unit_disp.transform.colorTransform = color_shadow; dict[("btn" + i)].locked_flg = true; dict[("btn" + i)].price_flg = false; dict[("btn" + i)].status_disp.gotoAndStop(2); } else { dict[("btn" + i)].unit_disp.transform.colorTransform = color_normal; dict[("btn" + i)].locked_flg = false; dict[("btn" + i)].price_flg = false; dict[("btn" + i)].status_disp.gotoAndStop(1); }; if (player_id != now_ken_id){ dict[("btn" + i)].body.gotoAndStop(1); }; i++; }; i = 11; while (i <= 20) { dict[("btn" + i)].unit_disp.transform.colorTransform = color_normal; dict[("btn" + i)].status_disp.gotoAndStop(1); if (player_id != now_ken_id){ dict[("btn" + i)].body.gotoAndStop(1); }; i++; }; i = 21; while (i <= 30) { if ((i - 20) > (tech_tac[now_ken_id] * 2)){ dict[("btn" + i)].unit_disp.transform.colorTransform = color_shadow; dict[("btn" + i)].locked_flg = true; dict[("btn" + i)].status_disp.gotoAndStop(2); } else { dict[("btn" + i)].unit_disp.transform.colorTransform = color_normal; dict[("btn" + i)].locked_flg = false; dict[("btn" + i)].status_disp.gotoAndStop(1); }; if (player_id != now_ken_id){ dict[("btn" + i)].body.gotoAndStop(1); }; i++; }; } public function root_get_timer():int{ return (getTimer()); } public function KenSelectEnterFrame(_arg1:Event){ var _local2:Object; _local2 = _arg1.target; if (_local2.hitTestPoint(stage.mouseX, stage.mouseY, true)){ dict["s_bg"].flag.gotoAndStop(_local2.id); dict["s_bg"].special.gotoAndStop((ken_Special[_local2.id] + 1)); dict["s_bg"].help.gotoAndStop((38 + ken_Special[_local2.id])); _local2.getChildByName("body").transform.colorTransform = color_red; } else { _local2.getChildByName("body").transform.colorTransform = ken_color[_local2.id]; }; } public function AllowMouseOver(_arg1:Event){ var _local2:Object; _local2 = _arg1.target; if (((_local2.link_ok) && ((game_mode == "main_map")))){ _local2.alpha = 1; }; } public function MouseWheelFunc(_arg1:MouseEvent){ wrk_wheel = _arg1.delta; } public function sort_mc_y(_arg1, _arg2){ var _local3:Number; var _local4:int; var _local5:int; _local3 = dict["f_unit"].getChildAt(Math.floor(((_arg1 + _arg2) / 2))).y; _local4 = _arg1; _local5 = _arg2; while (true) { while (dict["f_unit"].getChildAt(_local4).y < _local3) { _local4++; }; while (_local3 < dict["f_unit"].getChildAt(_local5).y) { _local5--; }; if (_local4 >= _local5){ break; }; if (dict["f_unit"].getChildAt(_local4).y == dict["f_unit"].getChildAt(_local5).y){ break; }; dict["f_unit"].swapChildren(dict["f_unit"].getChildAt(_local4), dict["f_unit"].getChildAt(_local5)); _local4++; _local5--; }; if (_arg1 < (_local4 - 1)){ sort_mc_y(_arg1, (_local4 - 1)); }; if ((_local5 + 1) < _arg2){ sort_mc_y((_local5 + 1), _arg2); }; } public function MapView(){ if (info_flg){ info_flg = false; e_id++; wrk_x = (dict["f_main"].getChildByName(("ken" + info_ken)).x + (dict["f_main"].getChildByName(("ken" + info_ken)).unit.x * 1.38)); wrk_y = (dict["f_main"].getChildByName(("ken" + info_ken)).y + (dict["f_main"].getChildByName(("ken" + info_ken)).unit.y * 1.38)); dict[("ETC" + e_id)] = new ETC30_MAP_INFO(e_id, info_idx, wrk_x, wrk_y); dict["f_main"].addChild(dict[("ETC" + e_id)]); }; if (slidemode){ dict["slide_bar"].y = stage.mouseY; if (dict["slide_bar"].y < 43){ dict["slide_bar"].y = 43; } else { if (dict["slide_bar"].y > 153){ dict["slide_bar"].y = 153; }; }; wrk_dis = (0.1 + ((1.2 * (153 - dict["slide_bar"].y)) / 110)); dict["f_main"].scaleX = wrk_dis; dict["f_main"].scaleY = wrk_dis; }; if (wrk_wheel != 0){ wrk_dis = (wrk_dis + (wrk_wheel / 50)); wrk_wheel = 0; if (wrk_dis < 0.1){ wrk_dis = 0.1; } else { if (wrk_dis > 1.3){ wrk_dis = 1.3; }; }; dict["slide_bar"].y = (153 - (((wrk_dis - 0.1) * 110) / 1.2)); dict["f_main"].scaleX = wrk_dis; dict["f_main"].scaleY = wrk_dis; }; if (minimode){ win_x = (win_x - ((stage.mouseX - old_x) / 0.03)); win_y = (win_y - ((stage.mouseY - old_y) / 0.03)); old_x = stage.mouseX; old_y = stage.mouseY; }; if (scroll_flg){ win_x = (win_x + ((stage.mouseX - mouse_old_x) / wrk_dis)); win_y = (win_y + ((stage.mouseY - mouse_old_y) / wrk_dis)); mouse_old_x = stage.mouseX; mouse_old_y = stage.mouseY; }; if (win_x > (0 + 64)){ win_x = (0 + 64); }; if (win_x < (-3560 - 64)){ win_x = (-3560 - 64); }; if (win_y > (0 + 64)){ win_y = (0 + 64); }; if (win_y < (-3520 - 64)){ win_y = (-3520 - 64); }; win_aj_x = (win_x - (440 / 2)); win_aj_y = (win_y - (480 / 2)); win_disp_xs = (win_aj_x * (1 - wrk_dis)); win_disp_ys = (win_aj_y * (1 - wrk_dis)); win_xx = (win_x - win_disp_xs); win_yy = (win_y - win_disp_ys); dict["f_main"].x = win_xx; dict["f_main"].y = win_yy; dict["mini_box"].x = (470 - ((win_xx * 0.03) / wrk_dis)); dict["mini_box"].y = (38.5 - ((win_yy * 0.03) / wrk_dis)); mini_x1 = 0; mini_y1 = 0; mini_x2 = (13.2 / wrk_dis); mini_y2 = (14.4 / wrk_dis); if ((dict["mini_box"].x + mini_x1) < 467){ mini_x1 = (467 - dict["mini_box"].x); }; if ((dict["mini_box"].x + mini_x2) > (467 + 126)){ mini_x2 = ((467 + 126) - dict["mini_box"].x); }; if ((dict["mini_box"].y + mini_y1) < 35.5){ mini_y1 = (35.5 - dict["mini_box"].y); }; if ((dict["mini_box"].y + mini_y2) > (35.5 + 126)){ mini_y2 = ((35.5 + 126) - dict["mini_box"].y); }; dict["mini_box"].graphics.clear(); dict["mini_box"].graphics.lineStyle(2, 0xFFFFFF, 1); dict["mini_box"].graphics.beginFill(0xFFFFFF, 0.3); dict["mini_box"].graphics.drawRect(mini_x1, mini_y1, (mini_x2 - mini_x1), (mini_y2 - mini_y1)); } public function yarare_set(){ var _local1:int; _local1 = Math.floor((Math.random() * 3)); se_yarare_flg[_local1] = true; } public function SpecialMouseOver(_arg1:Event){ var _local2:Object; _local2 = _arg1.target; if (_local2.currentFrame > 0){ dict["m_bg"].help.gotoAndStop((37 + _local2.currentFrame)); }; } public function MouseLDownFuncMM(_arg1:Event){ minimode = true; old_x = stage.mouseX; old_y = stage.mouseY; } public function AllowMouseOut(_arg1:Event){ var _local2:Object; _local2 = _arg1.target; if (((_local2.link_ok) && ((game_mode == "main_map")))){ _local2.alpha = 0.5; }; } public function BldMouseOver(_arg1:Event){ var _local2:Object; _local2 = _arg1.target; if (_local2.currentFrame > 0){ dict["m_bg"].help.gotoAndStop((16 + _local2.currentFrame)); }; } public function ChangeQuality(_arg1){ switch (_arg1){ case "H": stage.quality = StageQuality.HIGH; break; case "M": stage.quality = StageQuality.MEDIUM; break; case "L": stage.quality = StageQuality.LOW; break; }; } public function MouseLDownFuncSB(_arg1:Event){ slidemode = true; } public function KenUnitDisp(_arg1){ var _local2:int; var _local3:int; var _local4:int; var _local5:int; var _local6:Object; var _local7:int; _local2 = 0; _local3 = 0; _local4 = 0; _local5 = 0; _local7 = 0; _local6 = dict["f_main"].getChildByName(("ken" + _arg1)); _local3 = 0; _local2 = 1; while (_local2 <= 16) { _local3 = (_local3 + ken_UnitCnt[_arg1][_local2]); _local2++; }; if (((!((_local3 == ken_TotalUnitCnt[_arg1]))) || ((_local3 > Unit_Max)))){ _local2 = 1; while (_local2 <= 16) { _local2++; }; pause_flg = true; game_mode = "event_wait"; return; }; _local2 = 1; while (_local2 <= 16) { _local3 = 1; while (_local3 <= (ken_UnitCnt[_arg1][_local2] - ken_UnitEndCnt[_arg1][_local2])) { _local4++; dict[((("unitdisp_" + _arg1) + "_") + _local4)].visible = true; dict[((("unitdisp_" + _arg1) + "_") + _local4)].type = _local2; dict[((("unitdisp_" + _arg1) + "_") + _local4)].unit_waku.visible = false; dict[((("unitdisp_" + _arg1) + "_") + _local4)].unit.gotoAndStop(_local2); dict[((("unitdisp_" + _arg1) + "_") + _local4)].unit_waku.gotoAndStop(_local2); dict[((("unitdisp_" + _arg1) + "_") + _local4)].transform.colorTransform = color_normal; dict[((("unitdisp_" + _arg1) + "_") + _local4)].end_flg = false; _local3++; }; _local2++; }; _local2 = 1; while (_local2 <= 16) { _local3 = 1; while (_local3 <= ken_UnitEndCnt[_arg1][_local2]) { _local4++; dict[((("unitdisp_" + _arg1) + "_") + _local4)].visible = true; dict[((("unitdisp_" + _arg1) + "_") + _local4)].type = _local2; dict[((("unitdisp_" + _arg1) + "_") + _local4)].unit_waku.visible = false; dict[((("unitdisp_" + _arg1) + "_") + _local4)].unit.gotoAndStop(_local2); dict[((("unitdisp_" + _arg1) + "_") + _local4)].unit_waku.gotoAndStop(_local2); dict[((("unitdisp_" + _arg1) + "_") + _local4)].transform.colorTransform = color_black; dict[((("unitdisp_" + _arg1) + "_") + _local4)].end_flg = true; _local3++; }; _local2++; }; if (_local4 < Unit_Max){ _local3 = (_local4 + 1); while (_local3 <= Unit_Max) { dict[((("unitdisp_" + _arg1) + "_") + _local3)].type = -1; dict[((("unitdisp_" + _arg1) + "_") + _local3)].visible = false; _local3++; }; }; _local3 = 1; while (_local3 <= _local4) { if (_local4 <= 25){ dict[((("unitdisp_" + _arg1) + "_") + _local3)].x = (-33 + (((_local3 - 1) % 5) * 16)); dict[((("unitdisp_" + _arg1) + "_") + _local3)].y = (-34 + (Math.floor(((_local3 - 1) / 5)) * 16)); } else { if (_local4 <= 30){ dict[((("unitdisp_" + _arg1) + "_") + _local3)].x = (-33 + (((_local3 - 1) % 6) * 13)); dict[((("unitdisp_" + _arg1) + "_") + _local3)].y = (-34 + (Math.floor(((_local3 - 1) / 6)) * 16)); } else { if (_local4 <= 35){ dict[((("unitdisp_" + _arg1) + "_") + _local3)].x = (-33 + (((_local3 - 1) % 7) * 11)); dict[((("unitdisp_" + _arg1) + "_") + _local3)].y = (-34 + (Math.floor(((_local3 - 1) / 7)) * 16)); } else { if (_local4 <= 40){ dict[((("unitdisp_" + _arg1) + "_") + _local3)].x = (-34 + (((_local3 - 1) % 8) * 9.5)); dict[((("unitdisp_" + _arg1) + "_") + _local3)].y = (-34 + (Math.floor(((_local3 - 1) / 8)) * 16)); } else { if (_local4 <= 45){ dict[((("unitdisp_" + _arg1) + "_") + _local3)].x = (-33 + (((_local3 - 1) % 9) * 8)); dict[((("unitdisp_" + _arg1) + "_") + _local3)].y = (-34 + (Math.floor(((_local3 - 1) / 9)) * 16)); } else { dict[((("unitdisp_" + _arg1) + "_") + _local3)].x = (-33 + (((_local3 - 1) % 10) * 7)); dict[((("unitdisp_" + _arg1) + "_") + _local3)].y = (-34 + (Math.floor(((_local3 - 1) / 10)) * 16)); }; }; }; }; }; _local3++; }; _local6.body.transform.colorTransform = ken_color[ken_side[_arg1]]; _local6.flag.gotoAndStop(ken_side[_arg1]); if (dict["mini_map"]){ mini_self = dict["mini_map"].getChildByName(("ken" + _arg1)); if (mini_self){ if (now_ken_id == ken_side[_arg1]){ mini_self.body.transform.colorTransform = color_red; } else { mini_self.body.transform.colorTransform = ken_color[ken_side[_arg1]]; }; }; }; if (ken_Bld[_arg1] != 0){ _local6.house.getChildByName("b3").visible = true; _local6.house.getChildByName("b3").gotoAndStop(ken_Bld[_arg1]); } else { _local6.house.getChildByName("b3").visible = false; }; if (ken_Special[_arg1] == 0){ ken_income[_arg1] = 70; } else { ken_income[_arg1] = 50; }; } public function tab_change(_arg1){ dict["m_bg"].tab_bg.gotoAndStop(_arg1); i = 0; while (i < 30) { if ((Math.floor((i / 10)) + 1) == _arg1){ dict[("btn" + (i + 1))].visible = true; } else { dict[("btn" + (i + 1))].visible = false; }; i++; }; } } }//package TDW_E__fla
Section 57
//Timeline_10 (TDW_E__fla.Timeline_10) package TDW_E__fla { import flash.display.*; public dynamic class Timeline_10 extends MovieClip { public function Timeline_10(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 20, frame21, 21, frame22, 22, frame23, 23, frame24, 24, frame25, 25, frame26, 26, frame27, 27, frame28, 28, frame29, 29, frame30, 30, frame31, 31, frame32, 32, frame33, 33, frame34, 34, frame35, 35, frame36, 36, frame37, 37, frame38, 38, frame39, 39, frame40, 40, frame41, 41, frame42, 42, frame43, 43, frame44, 44, frame45, 45, frame46, 46, frame47, 47, frame48); } function frame10(){ this.stop(); } function frame14(){ this.stop(); } function frame18(){ this.stop(); } function frame12(){ this.stop(); } function frame3(){ this.stop(); } function frame6(){ this.stop(); } function frame7(){ this.stop(); } function frame1(){ this.stop(); } function frame19(){ this.stop(); } function frame25(){ this.stop(); } function frame13(){ this.stop(); } function frame17(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame9(){ this.stop(); } function frame22(){ this.stop(); } function frame16(){ this.stop(); } function frame8(){ this.stop(); } function frame21(){ this.stop(); } function frame2(){ this.stop(); } function frame15(){ this.stop(); } function frame23(){ this.stop(); } function frame24(){ this.stop(); } function frame28(){ this.stop(); } function frame36(){ this.stop(); } function frame20(){ this.stop(); } function frame30(){ this.stop(); } function frame31(){ this.stop(); } function frame34(){ this.stop(); } function frame27(){ this.stop(); } function frame11(){ this.stop(); } function frame35(){ this.stop(); } function frame37(){ this.stop(); } function frame43(){ this.stop(); } function frame29(){ this.stop(); } function frame33(){ this.stop(); } function frame40(){ this.stop(); } function frame41(){ this.stop(); } function frame39(){ this.stop(); } function frame26(){ this.stop(); } function frame32(){ this.stop(); } function frame42(){ this.stop(); } function frame45(){ this.stop(); } function frame46(){ this.stop(); } function frame44(){ this.stop(); } function frame48(){ this.stop(); } function frame47(){ this.stop(); } function frame38(){ this.stop(); } } }//package TDW_E__fla
Section 58
//Timeline_112 (TDW_E__fla.Timeline_112) package TDW_E__fla { import flash.display.*; public dynamic class Timeline_112 extends MovieClip { public function Timeline_112(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ this.stop(); } function frame1(){ this.stop(); } function frame2(){ this.stop(); } } }//package TDW_E__fla
Section 59
//Timeline_113 (TDW_E__fla.Timeline_113) package TDW_E__fla { import flash.display.*; public dynamic class Timeline_113 extends MovieClip { public function Timeline_113(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ this.stop(); } function frame2(){ this.stop(); } } }//package TDW_E__fla
Section 60
//Timeline_116 (TDW_E__fla.Timeline_116) package TDW_E__fla { import flash.display.*; public dynamic class Timeline_116 extends MovieClip { public function Timeline_116(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ this.stop(); } function frame1(){ this.stop(); } function frame2(){ this.stop(); } } }//package TDW_E__fla
Section 61
//Timeline_117 (TDW_E__fla.Timeline_117) package TDW_E__fla { import flash.display.*; public dynamic class Timeline_117 extends MovieClip { public function Timeline_117(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ this.stop(); } function frame2(){ this.stop(); } } }//package TDW_E__fla
Section 62
//Timeline_119 (TDW_E__fla.Timeline_119) package TDW_E__fla { import flash.display.*; public dynamic class Timeline_119 extends MovieClip { public function Timeline_119(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ this.stop(); } function frame2(){ this.stop(); } } }//package TDW_E__fla
Section 63
//Timeline_121 (TDW_E__fla.Timeline_121) package TDW_E__fla { import flash.display.*; public dynamic class Timeline_121 extends MovieClip { public function Timeline_121(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ this.stop(); } function frame2(){ this.stop(); } } }//package TDW_E__fla
Section 64
//Timeline_123 (TDW_E__fla.Timeline_123) package TDW_E__fla { import flash.display.*; public dynamic class Timeline_123 extends MovieClip { public function Timeline_123(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ this.stop(); } function frame1(){ this.stop(); } function frame2(){ this.stop(); } } }//package TDW_E__fla
Section 65
//Timeline_125 (TDW_E__fla.Timeline_125) package TDW_E__fla { import flash.display.*; public dynamic class Timeline_125 extends MovieClip { public function Timeline_125(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ this.stop(); } function frame1(){ this.stop(); } function frame2(){ this.stop(); } } }//package TDW_E__fla
Section 66
//Timeline_126 (TDW_E__fla.Timeline_126) package TDW_E__fla { import flash.display.*; public dynamic class Timeline_126 extends MovieClip { public function Timeline_126(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ this.stop(); } function frame2(){ this.stop(); } } }//package TDW_E__fla
Section 67
//Timeline_128 (TDW_E__fla.Timeline_128) package TDW_E__fla { import flash.display.*; public dynamic class Timeline_128 extends MovieClip { public function Timeline_128(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ this.stop(); } function frame1(){ this.stop(); } function frame2(){ this.stop(); } } }//package TDW_E__fla
Section 68
//Timeline_129 (TDW_E__fla.Timeline_129) package TDW_E__fla { import flash.display.*; public dynamic class Timeline_129 extends MovieClip { public function Timeline_129(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ this.stop(); } function frame2(){ this.stop(); } } }//package TDW_E__fla
Section 69
//Timeline_131 (TDW_E__fla.Timeline_131) package TDW_E__fla { import flash.display.*; public dynamic class Timeline_131 extends MovieClip { public function Timeline_131(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4); } function frame3(){ this.stop(); } function frame1(){ this.stop(); } function frame4(){ this.stop(); } function frame2(){ this.stop(); } } }//package TDW_E__fla
Section 70
//Timeline_133 (TDW_E__fla.Timeline_133) package TDW_E__fla { import flash.display.*; public dynamic class Timeline_133 extends MovieClip { public function Timeline_133(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11); } function frame10(){ this.stop(); } function frame3(){ this.stop(); } function frame6(){ this.stop(); } function frame7(){ this.stop(); } function frame1(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame9(){ this.stop(); } function frame8(){ this.stop(); } function frame2(){ this.stop(); } function frame11(){ this.stop(); } } }//package TDW_E__fla
Section 71
//Timeline_135 (TDW_E__fla.Timeline_135) package TDW_E__fla { import flash.display.*; public dynamic class Timeline_135 extends MovieClip { public function Timeline_135(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ this.stop(); } function frame1(){ this.stop(); } function frame2(){ this.stop(); } } }//package TDW_E__fla
Section 72
//Timeline_136 (TDW_E__fla.Timeline_136) package TDW_E__fla { import flash.display.*; public dynamic class Timeline_136 extends MovieClip { public function Timeline_136(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ this.stop(); } function frame1(){ this.stop(); } function frame2(){ this.stop(); } } }//package TDW_E__fla
Section 73
//Timeline_138 (TDW_E__fla.Timeline_138) package TDW_E__fla { import flash.display.*; public dynamic class Timeline_138 extends MovieClip { public function Timeline_138(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ this.stop(); } function frame1(){ this.stop(); } function frame2(){ this.stop(); } } }//package TDW_E__fla
Section 74
//Timeline_140 (TDW_E__fla.Timeline_140) package TDW_E__fla { import flash.display.*; public dynamic class Timeline_140 extends MovieClip { public function Timeline_140(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ this.stop(); } function frame2(){ this.stop(); } } }//package TDW_E__fla
Section 75
//Timeline_143 (TDW_E__fla.Timeline_143) package TDW_E__fla { import flash.display.*; public dynamic class Timeline_143 extends MovieClip { public function Timeline_143(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ this.stop(); } function frame1(){ this.stop(); } function frame2(){ this.stop(); } } }//package TDW_E__fla
Section 76
//Timeline_146 (TDW_E__fla.Timeline_146) package TDW_E__fla { import flash.display.*; public dynamic class Timeline_146 extends MovieClip { public function Timeline_146(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11); } function frame10(){ this.stop(); } function frame3(){ this.stop(); } function frame6(){ this.stop(); } function frame7(){ this.stop(); } function frame1(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame9(){ this.stop(); } function frame8(){ this.stop(); } function frame2(){ this.stop(); } function frame11(){ this.stop(); } } }//package TDW_E__fla
Section 77
//Timeline_155 (TDW_E__fla.Timeline_155) package TDW_E__fla { import flash.display.*; public dynamic class Timeline_155 extends MovieClip { public function Timeline_155(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11); } function frame10(){ this.stop(); } function frame3(){ this.stop(); } function frame6(){ this.stop(); } function frame7(){ this.stop(); } function frame1(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame9(){ this.stop(); } function frame8(){ this.stop(); } function frame2(){ this.stop(); } function frame11(){ this.stop(); } } }//package TDW_E__fla
Section 78
//Timeline_180 (TDW_E__fla.Timeline_180) package TDW_E__fla { import flash.display.*; public dynamic class Timeline_180 extends MovieClip { public function Timeline_180(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 20, frame21, 21, frame22, 22, frame23, 23, frame24, 24, frame25, 25, frame26, 26, frame27, 27, frame28, 28, frame29, 29, frame30, 30, frame31, 31, frame32, 32, frame33, 33, frame34, 34, frame35, 35, frame36, 36, frame37, 37, frame38, 38, frame39, 39, frame40, 40, frame41, 41, frame42, 42, frame43, 43, frame44, 44, frame45, 45, frame46, 46, frame47, 47, frame48); } function frame10(){ this.stop(); } function frame14(){ this.stop(); } function frame18(){ this.stop(); } function frame12(){ this.stop(); } function frame3(){ this.stop(); } function frame6(){ this.stop(); } function frame7(){ this.stop(); } function frame1(){ this.stop(); } function frame19(){ this.stop(); } function frame25(){ this.stop(); } function frame13(){ this.stop(); } function frame17(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame9(){ this.stop(); } function frame22(){ this.stop(); } function frame16(){ this.stop(); } function frame8(){ this.stop(); } function frame21(){ this.stop(); } function frame2(){ this.stop(); } function frame15(){ this.stop(); } function frame23(){ this.stop(); } function frame24(){ this.stop(); } function frame28(){ this.stop(); } function frame36(){ this.stop(); } function frame20(){ this.stop(); } function frame30(){ this.stop(); } function frame31(){ this.stop(); } function frame34(){ this.stop(); } function frame27(){ this.stop(); } function frame11(){ this.stop(); } function frame35(){ this.stop(); } function frame37(){ this.stop(); } function frame43(){ this.stop(); } function frame29(){ this.stop(); } function frame33(){ this.stop(); } function frame40(){ this.stop(); } function frame41(){ this.stop(); } function frame39(){ this.stop(); } function frame26(){ this.stop(); } function frame32(){ this.stop(); } function frame42(){ this.stop(); } function frame45(){ this.stop(); } function frame46(){ this.stop(); } function frame44(){ this.stop(); } function frame48(){ this.stop(); } function frame47(){ this.stop(); } function frame38(){ this.stop(); } } }//package TDW_E__fla
Section 79
//Timeline_187 (TDW_E__fla.Timeline_187) package TDW_E__fla { import flash.display.*; public dynamic class Timeline_187 extends MovieClip { public function Timeline_187(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10); } function frame10(){ this.stop(); } function frame3(){ this.stop(); } function frame6(){ this.stop(); } function frame7(){ this.stop(); } function frame1(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame9(){ this.stop(); } function frame8(){ this.stop(); } function frame2(){ this.stop(); } } }//package TDW_E__fla
Section 80
//Timeline_188 (TDW_E__fla.Timeline_188) package TDW_E__fla { import flash.display.*; public dynamic class Timeline_188 extends MovieClip { public function Timeline_188(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10); } function frame10(){ this.stop(); } function frame3(){ this.stop(); } function frame6(){ this.stop(); } function frame7(){ this.stop(); } function frame1(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame9(){ this.stop(); } function frame8(){ this.stop(); } function frame2(){ this.stop(); } } }//package TDW_E__fla
Section 81
//Timeline_189 (TDW_E__fla.Timeline_189) package TDW_E__fla { import flash.display.*; public dynamic class Timeline_189 extends MovieClip { public function Timeline_189(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10); } function frame10(){ this.stop(); } function frame3(){ this.stop(); } function frame6(){ this.stop(); } function frame7(){ this.stop(); } function frame1(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame9(){ this.stop(); } function frame8(){ this.stop(); } function frame2(){ this.stop(); } } }//package TDW_E__fla
Section 82
//Timeline_213 (TDW_E__fla.Timeline_213) package TDW_E__fla { import flash.display.*; public dynamic class Timeline_213 extends MovieClip { public function Timeline_213(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11); } function frame10(){ this.stop(); } function frame3(){ this.stop(); } function frame6(){ this.stop(); } function frame7(){ this.stop(); } function frame1(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame9(){ this.stop(); } function frame8(){ this.stop(); } function frame2(){ this.stop(); } function frame11(){ this.stop(); } } }//package TDW_E__fla
Section 83
//Timeline_216 (TDW_E__fla.Timeline_216) package TDW_E__fla { import flash.display.*; public dynamic class Timeline_216 extends MovieClip { public function Timeline_216(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11); } function frame10(){ this.stop(); } function frame3(){ this.stop(); } function frame6(){ this.stop(); } function frame7(){ this.stop(); } function frame1(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame9(){ this.stop(); } function frame8(){ this.stop(); } function frame2(){ this.stop(); } function frame11(){ this.stop(); } } }//package TDW_E__fla
Section 84
//Timeline_217 (TDW_E__fla.Timeline_217) package TDW_E__fla { import flash.display.*; public dynamic class Timeline_217 extends MovieClip { public function Timeline_217(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ this.stop(); } function frame1(){ this.stop(); } function frame2(){ this.stop(); } } }//package TDW_E__fla
Section 85
//Timeline_221 (TDW_E__fla.Timeline_221) package TDW_E__fla { import flash.display.*; public dynamic class Timeline_221 extends MovieClip { public function Timeline_221(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6); } function frame3(){ this.stop(); } function frame6(){ this.stop(); } function frame1(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame2(){ this.stop(); } } }//package TDW_E__fla
Section 86
//Timeline_222 (TDW_E__fla.Timeline_222) package TDW_E__fla { import flash.display.*; public dynamic class Timeline_222 extends MovieClip { public function Timeline_222(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6); } function frame3(){ this.stop(); } function frame6(){ this.stop(); } function frame1(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame2(){ this.stop(); } } }//package TDW_E__fla
Section 87
//Timeline_223 (TDW_E__fla.Timeline_223) package TDW_E__fla { import flash.display.*; public dynamic class Timeline_223 extends MovieClip { public function Timeline_223(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10); } function frame10(){ this.stop(); } function frame3(){ this.stop(); } function frame6(){ this.stop(); } function frame7(){ this.stop(); } function frame1(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame9(){ this.stop(); } function frame8(){ this.stop(); } function frame2(){ this.stop(); } } }//package TDW_E__fla
Section 88
//Timeline_226 (TDW_E__fla.Timeline_226) package TDW_E__fla { import flash.display.*; public dynamic class Timeline_226 extends MovieClip { public function Timeline_226(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 20, frame21, 21, frame22, 22, frame23, 23, frame24, 24, frame25, 25, frame26, 26, frame27, 27, frame28, 28, frame29, 29, frame30, 30, frame31, 31, frame32, 32, frame33, 33, frame34, 34, frame35, 35, frame36, 36, frame37, 37, frame38, 38, frame39, 39, frame40, 40, frame41, 41, frame42, 42, frame43, 43, frame44, 44, frame45, 45, frame46, 46, frame47, 47, frame48); } function frame10(){ this.stop(); } function frame14(){ this.stop(); } function frame18(){ this.stop(); } function frame12(){ this.stop(); } function frame3(){ this.stop(); } function frame6(){ this.stop(); } function frame7(){ this.stop(); } function frame1(){ this.stop(); } function frame19(){ this.stop(); } function frame25(){ this.stop(); } function frame13(){ this.stop(); } function frame17(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame9(){ this.stop(); } function frame22(){ this.stop(); } function frame16(){ this.stop(); } function frame8(){ this.stop(); } function frame21(){ this.stop(); } function frame2(){ this.stop(); } function frame15(){ this.stop(); } function frame23(){ this.stop(); } function frame24(){ this.stop(); } function frame28(){ this.stop(); } function frame36(){ this.stop(); } function frame20(){ this.stop(); } function frame30(){ this.stop(); } function frame31(){ this.stop(); } function frame34(){ this.stop(); } function frame27(){ this.stop(); } function frame11(){ this.stop(); } function frame35(){ this.stop(); } function frame37(){ this.stop(); } function frame43(){ this.stop(); } function frame29(){ this.stop(); } function frame33(){ this.stop(); } function frame40(){ this.stop(); } function frame41(){ this.stop(); } function frame39(){ this.stop(); } function frame26(){ this.stop(); } function frame32(){ this.stop(); } function frame42(){ this.stop(); } function frame45(){ this.stop(); } function frame46(){ this.stop(); } function frame44(){ this.stop(); } function frame48(){ this.stop(); } function frame47(){ this.stop(); } function frame38(){ this.stop(); } } }//package TDW_E__fla
Section 89
//Timeline_227 (TDW_E__fla.Timeline_227) package TDW_E__fla { import flash.display.*; public dynamic class Timeline_227 extends MovieClip { public function Timeline_227(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 20, frame21, 21, frame22, 22, frame23, 23, frame24, 24, frame25, 25, frame26, 26, frame27, 27, frame28, 28, frame29, 29, frame30, 30, frame31, 31, frame32, 32, frame33, 33, frame34, 34, frame35, 35, frame36, 36, frame37, 37, frame38, 38, frame39, 39, frame40, 40, frame41, 41, frame42, 42, frame43, 43, frame44, 44, frame45, 45, frame46, 46, frame47, 47, frame48); } function frame10(){ this.stop(); } function frame14(){ this.stop(); } function frame18(){ this.stop(); } function frame12(){ this.stop(); } function frame3(){ this.stop(); } function frame6(){ this.stop(); } function frame7(){ this.stop(); } function frame1(){ this.stop(); } function frame19(){ this.stop(); } function frame25(){ this.stop(); } function frame13(){ this.stop(); } function frame17(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame9(){ this.stop(); } function frame22(){ this.stop(); } function frame16(){ this.stop(); } function frame8(){ this.stop(); } function frame21(){ this.stop(); } function frame2(){ this.stop(); } function frame15(){ this.stop(); } function frame23(){ this.stop(); } function frame24(){ this.stop(); } function frame28(){ this.stop(); } function frame36(){ this.stop(); } function frame20(){ this.stop(); } function frame30(){ this.stop(); } function frame31(){ this.stop(); } function frame34(){ this.stop(); } function frame27(){ this.stop(); } function frame11(){ this.stop(); } function frame35(){ this.stop(); } function frame37(){ this.stop(); } function frame43(){ this.stop(); } function frame29(){ this.stop(); } function frame33(){ this.stop(); } function frame40(){ this.stop(); } function frame41(){ this.stop(); } function frame39(){ this.stop(); } function frame26(){ this.stop(); } function frame32(){ this.stop(); } function frame42(){ this.stop(); } function frame45(){ this.stop(); } function frame46(){ this.stop(); } function frame44(){ this.stop(); } function frame48(){ this.stop(); } function frame47(){ this.stop(); } function frame38(){ this.stop(); } } }//package TDW_E__fla
Section 90
//Timeline_228 (TDW_E__fla.Timeline_228) package TDW_E__fla { import flash.display.*; public dynamic class Timeline_228 extends MovieClip { public function Timeline_228(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10); } function frame10(){ this.stop(); } function frame3(){ this.stop(); } function frame6(){ this.stop(); } function frame7(){ this.stop(); } function frame1(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame9(){ this.stop(); } function frame8(){ this.stop(); } function frame2(){ this.stop(); } } }//package TDW_E__fla
Section 91
//Timeline_229 (TDW_E__fla.Timeline_229) package TDW_E__fla { import flash.display.*; public dynamic class Timeline_229 extends MovieClip { public var sand1:MovieClip; public var sand2:MovieClip; public var sand_ani:MovieClip; public var sand_mask:MovieClip; } }//package TDW_E__fla
Section 92
//Timeline_231 (TDW_E__fla.Timeline_231) package TDW_E__fla { import flash.display.*; public dynamic class Timeline_231 extends MovieClip { public function Timeline_231(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5); } function frame3(){ this.stop(); } function frame1(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.gotoAndPlay(1); } function frame2(){ this.stop(); } } }//package TDW_E__fla
Section 93
//Timeline_238 (TDW_E__fla.Timeline_238) package TDW_E__fla { import flash.display.*; public dynamic class Timeline_238 extends MovieClip { public function Timeline_238(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 20, frame21, 21, frame22, 22, frame23, 23, frame24, 24, frame25, 25, frame26, 26, frame27, 27, frame28, 28, frame29, 29, frame30, 30, frame31, 31, frame32, 32, frame33, 33, frame34, 34, frame35, 35, frame36, 36, frame37, 37, frame38, 38, frame39, 39, frame40, 40, frame41, 41, frame42, 42, frame43, 43, frame44, 44, frame45, 45, frame46, 46, frame47, 47, frame48); } function frame10(){ this.stop(); } function frame14(){ this.stop(); } function frame18(){ this.stop(); } function frame12(){ this.stop(); } function frame3(){ this.stop(); } function frame6(){ this.stop(); } function frame7(){ this.stop(); } function frame1(){ this.stop(); } function frame19(){ this.stop(); } function frame25(){ this.stop(); } function frame13(){ this.stop(); } function frame17(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame9(){ this.stop(); } function frame22(){ this.stop(); } function frame16(){ this.stop(); } function frame8(){ this.stop(); } function frame21(){ this.stop(); } function frame2(){ this.stop(); } function frame15(){ this.stop(); } function frame23(){ this.stop(); } function frame24(){ this.stop(); } function frame28(){ this.stop(); } function frame36(){ this.stop(); } function frame20(){ this.stop(); } function frame30(){ this.stop(); } function frame31(){ this.stop(); } function frame34(){ this.stop(); } function frame27(){ this.stop(); } function frame11(){ this.stop(); } function frame35(){ this.stop(); } function frame37(){ this.stop(); } function frame43(){ this.stop(); } function frame29(){ this.stop(); } function frame33(){ this.stop(); } function frame40(){ this.stop(); } function frame41(){ this.stop(); } function frame39(){ this.stop(); } function frame26(){ this.stop(); } function frame32(){ this.stop(); } function frame42(){ this.stop(); } function frame45(){ this.stop(); } function frame46(){ this.stop(); } function frame44(){ this.stop(); } function frame48(){ this.stop(); } function frame47(){ this.stop(); } function frame38(){ this.stop(); } } }//package TDW_E__fla
Section 94
//Timeline_247 (TDW_E__fla.Timeline_247) package TDW_E__fla { import flash.display.*; public dynamic class Timeline_247 extends MovieClip { public function Timeline_247(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ this.stop(); } function frame2(){ this.stop(); } } }//package TDW_E__fla
Section 95
//Timeline_250 (TDW_E__fla.Timeline_250) package TDW_E__fla { import flash.display.*; public dynamic class Timeline_250 extends MovieClip { public function Timeline_250(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ this.stop(); } function frame2(){ this.stop(); } } }//package TDW_E__fla
Section 96
//Timeline_256 (TDW_E__fla.Timeline_256) package TDW_E__fla { import flash.display.*; public dynamic class Timeline_256 extends MovieClip { public function Timeline_256(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ this.stop(); } function frame2(){ this.stop(); } } }//package TDW_E__fla
Section 97
//Timeline_262 (TDW_E__fla.Timeline_262) package TDW_E__fla { import flash.display.*; public dynamic class Timeline_262 extends MovieClip { public function Timeline_262(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ this.stop(); } function frame2(){ this.stop(); } } }//package TDW_E__fla
Section 98
//Timeline_267 (TDW_E__fla.Timeline_267) package TDW_E__fla { import flash.display.*; public dynamic class Timeline_267 extends MovieClip { public function Timeline_267(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ this.stop(); } function frame1(){ this.stop(); } function frame2(){ this.stop(); } } }//package TDW_E__fla
Section 99
//Timeline_268 (TDW_E__fla.Timeline_268) package TDW_E__fla { import flash.display.*; public dynamic class Timeline_268 extends MovieClip { public function Timeline_268(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ this.stop(); } function frame2(){ this.stop(); } } }//package TDW_E__fla
Section 100
//Timeline_271 (TDW_E__fla.Timeline_271) package TDW_E__fla { import flash.display.*; public dynamic class Timeline_271 extends MovieClip { public function Timeline_271(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 20, frame21, 21, frame22, 22, frame23, 23, frame24, 24, frame25, 25, frame26, 26, frame27, 27, frame28, 28, frame29, 29, frame30, 30, frame31, 31, frame32, 32, frame33, 33, frame34, 34, frame35, 35, frame36, 36, frame37, 37, frame38, 38, frame39, 39, frame40, 40, frame41, 41, frame42, 42, frame43, 43, frame44, 44, frame45, 45, frame46, 46, frame47, 47, frame48); } function frame10(){ this.stop(); } function frame14(){ this.stop(); } function frame18(){ this.stop(); } function frame12(){ this.stop(); } function frame3(){ this.stop(); } function frame6(){ this.stop(); } function frame7(){ this.stop(); } function frame1(){ this.stop(); } function frame19(){ this.stop(); } function frame25(){ this.stop(); } function frame13(){ this.stop(); } function frame17(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame9(){ this.stop(); } function frame22(){ this.stop(); } function frame16(){ this.stop(); } function frame8(){ this.stop(); } function frame21(){ this.stop(); } function frame2(){ this.stop(); } function frame15(){ this.stop(); } function frame23(){ this.stop(); } function frame24(){ this.stop(); } function frame28(){ this.stop(); } function frame36(){ this.stop(); } function frame20(){ this.stop(); } function frame30(){ this.stop(); } function frame31(){ this.stop(); } function frame34(){ this.stop(); } function frame27(){ this.stop(); } function frame11(){ this.stop(); } function frame35(){ this.stop(); } function frame37(){ this.stop(); } function frame43(){ this.stop(); } function frame29(){ this.stop(); } function frame33(){ this.stop(); } function frame40(){ this.stop(); } function frame41(){ this.stop(); } function frame39(){ this.stop(); } function frame26(){ this.stop(); } function frame32(){ this.stop(); } function frame42(){ this.stop(); } function frame45(){ this.stop(); } function frame46(){ this.stop(); } function frame44(){ this.stop(); } function frame48(){ this.stop(); } function frame47(){ this.stop(); } function frame38(){ this.stop(); } } }//package TDW_E__fla
Section 101
//Timeline_272 (TDW_E__fla.Timeline_272) package TDW_E__fla { import flash.display.*; public dynamic class Timeline_272 extends MovieClip { public function Timeline_272(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 20, frame21, 21, frame22, 22, frame23, 23, frame24, 24, frame25, 25, frame26, 26, frame27, 27, frame28, 28, frame29, 29, frame30, 30, frame31, 31, frame32, 32, frame33, 33, frame34, 34, frame35, 35, frame36, 36, frame37, 37, frame38, 38, frame39, 39, frame40, 40, frame41, 41, frame42, 42, frame43, 43, frame44, 44, frame45, 45, frame46, 46, frame47, 47, frame48); } function frame10(){ this.stop(); } function frame14(){ this.stop(); } function frame18(){ this.stop(); } function frame12(){ this.stop(); } function frame3(){ this.stop(); } function frame6(){ this.stop(); } function frame7(){ this.stop(); } function frame1(){ this.stop(); } function frame19(){ this.stop(); } function frame25(){ this.stop(); } function frame13(){ this.stop(); } function frame17(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame9(){ this.stop(); } function frame22(){ this.stop(); } function frame16(){ this.stop(); } function frame8(){ this.stop(); } function frame21(){ this.stop(); } function frame2(){ this.stop(); } function frame15(){ this.stop(); } function frame23(){ this.stop(); } function frame24(){ this.stop(); } function frame28(){ this.stop(); } function frame36(){ this.stop(); } function frame20(){ this.stop(); } function frame30(){ this.stop(); } function frame31(){ this.stop(); } function frame34(){ this.stop(); } function frame27(){ this.stop(); } function frame11(){ this.stop(); } function frame35(){ this.stop(); } function frame37(){ this.stop(); } function frame43(){ this.stop(); } function frame29(){ this.stop(); } function frame33(){ this.stop(); } function frame40(){ this.stop(); } function frame41(){ this.stop(); } function frame39(){ this.stop(); } function frame26(){ this.stop(); } function frame32(){ this.stop(); } function frame42(){ this.stop(); } function frame45(){ this.stop(); } function frame46(){ this.stop(); } function frame44(){ this.stop(); } function frame48(){ this.stop(); } function frame47(){ this.stop(); } function frame38(){ this.stop(); } } }//package TDW_E__fla
Section 102
//Timeline_8 (TDW_E__fla.Timeline_8) package TDW_E__fla { import flash.display.*; public dynamic class Timeline_8 extends MovieClip { public function Timeline_8(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11); } function frame10(){ this.stop(); } function frame3(){ this.stop(); } function frame6(){ this.stop(); } function frame7(){ this.stop(); } function frame1(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame9(){ this.stop(); } function frame8(){ this.stop(); } function frame2(){ this.stop(); } function frame11(){ this.stop(); } } }//package TDW_E__fla
Section 103
//ad_Coolbuddy (ad_Coolbuddy) package { import flash.display.*; import flash.events.*; import flash.net.*; public class ad_Coolbuddy extends SimpleButton { public function ad_Coolbuddy(_arg1, _arg2){ this.x = _arg1; this.y = _arg2; addEventListener(MouseEvent.CLICK, MouseClickFunc); } public function kill(){ removeEventListener(MouseEvent.CLICK, MouseClickFunc); Object(root).dict["ad_Coolbuddy"] = null; delete Object(root).dict["ad_Coolbuddy"]; this.parent.removeChild(this); } function MouseClickFunc(_arg1:Event){ var _local2:URLRequest; Object(root).se_click_flg = true; _local2 = new URLRequest("http://www.coolbuddy.com/?cid=164"); navigateToURL(_local2, "_blank"); } } }//package
Section 104
//ad_Coolbuddy2 (ad_Coolbuddy2) package { import flash.display.*; import flash.events.*; import flash.net.*; public class ad_Coolbuddy2 extends SimpleButton { public function ad_Coolbuddy2(_arg1, _arg2){ this.x = _arg1; this.y = _arg2; addEventListener(MouseEvent.CLICK, MouseClickFunc); } public function kill(){ removeEventListener(MouseEvent.CLICK, MouseClickFunc); Object(root).dict["ad_Coolbuddy"] = null; delete Object(root).dict["ad_Coolbuddy"]; this.parent.removeChild(this); } function MouseClickFunc(_arg1:Event){ var _local2:URLRequest; Object(root).se_click_flg = true; _local2 = new URLRequest("http://www.coolbuddy.com/?cid=164"); navigateToURL(_local2, "_blank"); } } }//package
Section 105
//ad_Coolbuddy3 (ad_Coolbuddy3) package { import flash.display.*; import flash.events.*; import flash.net.*; public class ad_Coolbuddy3 extends SimpleButton { public function ad_Coolbuddy3(_arg1, _arg2){ this.x = _arg1; this.y = _arg2; addEventListener(MouseEvent.CLICK, MouseClickFunc); } public function kill(){ removeEventListener(MouseEvent.CLICK, MouseClickFunc); Object(root).dict["ad_Coolbuddy3"] = null; delete Object(root).dict["ad_Coolbuddy3"]; this.parent.removeChild(this); } function MouseClickFunc(_arg1:Event){ var _local2:URLRequest; Object(root).se_click_flg = true; _local2 = new URLRequest("http://www.coolbuddy.com/?cid=164"); navigateToURL(_local2, "_blank"); } } }//package
Section 106
//ad_Coolbuddy4 (ad_Coolbuddy4) package { import flash.display.*; import flash.events.*; import flash.net.*; public class ad_Coolbuddy4 extends SimpleButton { public function ad_Coolbuddy4(_arg1, _arg2){ this.x = _arg1; this.y = _arg2; addEventListener(MouseEvent.CLICK, MouseClickFunc); } public function kill(){ removeEventListener(MouseEvent.CLICK, MouseClickFunc); Object(root).dict["ad_Coolbuddy4"] = null; delete Object(root).dict["ad_Coolbuddy4"]; this.parent.removeChild(this); } function MouseClickFunc(_arg1:Event){ var _local2:URLRequest; Object(root).se_click_flg = true; _local2 = new URLRequest("http://www.coolbuddy.com/?cid=164"); navigateToURL(_local2, "_blank"); } } }//package
Section 107
//ad_zigza (ad_zigza) package { import flash.display.*; import flash.events.*; import flash.net.*; public class ad_zigza extends SimpleButton { public function ad_zigza(_arg1, _arg2){ this.x = _arg1; this.y = _arg2; addEventListener(MouseEvent.CLICK, MouseClickFunc); } public function kill(){ removeEventListener(MouseEvent.CLICK, MouseClickFunc); Object(root).dict["btn_zigza"] = null; delete Object(root).dict["btn_zigza"]; this.parent.removeChild(this); } function MouseClickFunc(_arg1:Event){ var _local2:URLRequest; Object(root).se_click_flg = true; _local2 = new URLRequest("http://www.zigzagame.net/"); navigateToURL(_local2, "_blank"); } } }//package
Section 108
//asobikata (asobikata) package { import flash.display.*; public dynamic class asobikata extends MovieClip { public function asobikata(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9); } function frame3(){ this.stop(); } function frame6(){ this.stop(); } function frame7(){ this.stop(); } function frame1(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame9(){ this.stop(); } function frame8(){ this.stop(); } function frame2(){ this.stop(); } } }//package
Section 109
//asobikata_1 (asobikata_1) package { import flash.display.*; public dynamic class asobikata_1 extends MovieClip { public function asobikata_1(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4); } function frame3(){ this.stop(); } function frame1(){ this.stop(); } function frame4(){ this.stop(); } function frame2(){ this.stop(); } } }//package
Section 110
//asobikata_2 (asobikata_2) package { import flash.display.*; public dynamic class asobikata_2 extends MovieClip { public function asobikata_2(){ addFrameScript(0, frame1); } function frame1(){ this.stop(); } } }//package
Section 111
//asobikata_3 (asobikata_3) package { import flash.display.*; public dynamic class asobikata_3 extends MovieClip { public function asobikata_3(){ addFrameScript(0, frame1); } function frame1(){ this.stop(); } } }//package
Section 112
//battle_bg (battle_bg) package { import flash.display.*; public dynamic class battle_bg extends MovieClip { public var name1:MovieClip; public var i4:MovieClip; public var name2:MovieClip; public var flag1:MovieClip; public var flag2:MovieClip; public var sand_timer:MovieClip; public var i1:MovieClip; public var i2:MovieClip; public var i3:MovieClip; } }//package
Section 113
//bld_unit (bld_unit) package { import flash.display.*; public dynamic class bld_unit extends MovieClip { public function bld_unit(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11); } function frame10(){ this.stop(); } function frame3(){ this.stop(); } function frame6(){ this.stop(); } function frame7(){ this.stop(); } function frame1(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame9(){ this.stop(); } function frame8(){ this.stop(); } function frame2(){ this.stop(); } function frame11(){ this.stop(); } } }//package
Section 114
//BLD01_WALL (BLD01_WALL) package { import flash.display.*; import flash.events.*; public class BLD01_WALL extends MovieClip { public var MAX_HP:int;// = 0 private var DEF_POWER:int;// = 0 private var dmg:int;// = 0 public var hp:int;// = 0 private var id:int;// = 0 private var wall_lv:int;// = 0 private var col_cnt:Number;// = 0 public var kabe1:MovieClip; public var kabe4:MovieClip; public var kabe5:MovieClip; public var kabe7:MovieClip; public var kabe8:MovieClip; public var kabe6:MovieClip; public var kabe2:MovieClip; public var side:int;// = 0 public var hp_bar:HP_BAR; private var move_mode:String;// = "" public var kabe9:MovieClip; public var live_flg:Boolean;// = true public var brain_flg:Boolean;// = false public var kabe3:MovieClip; public var type:int;// = -1 private var i:int;// = 0 private var frame_lv:int;// = 0 public var kabe10:MovieClip; public function BLD01_WALL(_arg1, _arg2, _arg3, _arg4){ type = -1; DEF_POWER = 0; MAX_HP = 0; id = 0; side = 0; hp = 0; move_mode = ""; col_cnt = 0; dmg = 0; i = 0; wall_lv = 0; frame_lv = 0; live_flg = true; brain_flg = false; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3); this.id = _arg1; this.x = _arg2; this.y = _arg3; this.side = 1; this.scaleX = -1; this.hp_bar.bar_in.gotoAndStop(2); this.wall_lv = _arg4; this.gotoAndStop(this.wall_lv); this.MAX_HP = (1500 * this.wall_lv); this.hp = this.MAX_HP; this.move_mode = "nomal"; this.live_flg = true; addEventListener(Event.ENTER_FRAME, onEnterFrame); } function frame3(){ this.stop(); } function frame1(){ this.stop(); } public function kurai(_arg1, _arg2, _arg3, _arg4){ this.dmg = _arg1; this.dmg = Math.floor((this.dmg * ((100 - this.DEF_POWER) / 100))); this.hp = (this.hp - this.dmg); if (this.hp < 0){ this.hp = 0; }; this.col_cnt = 3; this.transform.colorTransform = Object(root).color_red; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC01_DMG(Object(root).e_id, _arg3, _arg4, this.dmg, _arg2); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); if (this.wall_lv < 3){ Object(root).se_poko_flg = true; } else { Object(root).se_metal_flg = true; }; if ((((this.hp < 1)) && (this.live_flg))){ i = 0; while (i < Object(root).war_UnitID[this.side].length) { if (Object(root).war_UnitID[this.side][i] == this.id){ Object(root).war_UnitID[this.side].splice(i, 1); break; }; i++; }; Object(root).se_brake_flg = true; this.move_mode = "brake"; }; } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[this.id] = null; delete Object(root).dict[this.id]; this.parent.removeChild(this); } function frame2(){ this.stop(); } public function onEnterFrame(_arg1:Event){ if ((((Object(root).game_mode == "battle_main")) && (this.live_flg))){ if (this.move_mode == "nomal"){ this.hp_bar.bar_in.scaleX = (this.hp / this.MAX_HP); this.frame_lv = (5 - Math.floor((Math.floor(((this.hp / this.MAX_HP) * 100)) / 20))); this.kabe1.gotoAndStop(this.frame_lv); this.kabe2.gotoAndStop(this.frame_lv); this.kabe3.gotoAndStop(this.frame_lv); this.kabe4.gotoAndStop(this.frame_lv); this.kabe5.gotoAndStop(this.frame_lv); this.kabe6.gotoAndStop(this.frame_lv); this.kabe7.gotoAndStop(this.frame_lv); this.kabe8.gotoAndStop(this.frame_lv); this.kabe9.gotoAndStop(this.frame_lv); this.kabe10.gotoAndStop(this.frame_lv); this.col_cnt--; if (this.col_cnt < 1){ this.transform.colorTransform = Object(root).color_normal; }; } else { if (!Object(root).pause_flg){ this.kabe1.nextFrame(); this.kabe2.nextFrame(); this.kabe3.nextFrame(); this.kabe4.nextFrame(); this.kabe5.nextFrame(); this.kabe6.nextFrame(); this.kabe7.nextFrame(); this.kabe8.nextFrame(); this.kabe9.nextFrame(); this.kabe10.nextFrame(); if (this.kabe10.currentFrame == 10){ Object(root).war_Wall_LV = 0; this.live_flg = false; this.visible = false; }; }; }; }; } public function heal(_arg1, _arg2, _arg3){ this.dmg = _arg1; this.hp = (this.hp + this.dmg); if (this.hp > this.MAX_HP){ this.hp = this.MAX_HP; }; this.col_cnt = 3; this.transform.colorTransform = Object(root).color_white; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC08_HEAL(Object(root).e_id, _arg2, _arg3, this.dmg); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); Object(root).se_repair_flg = true; } } }//package
Section 115
//BLD02_TOWER (BLD02_TOWER) package { import flash.display.*; import flash.events.*; public class BLD02_TOWER extends MovieClip { public var MAX_HP:int;// = 500 public var hp:int;// = 100 private var DEF_POWER:int;// = 0 private var dmg:int;// = 0 private var dis_y:Number;// = 0 private var ys:Number;// = 0 private var id:int;// = 0 private var col_cnt:Number;// = 0 public var side:int;// = 0 public var hou:MovieClip; public var hp_bar:HP_BAR; private var cnt:int;// = 0 private var i:int;// = 0 private var xs:Number;// = 0 private var tx:Number;// = 0 private var dis:Number;// = 0 public var brain_flg:Boolean;// = false public var type:int;// = -1 public var live_flg:Boolean;// = true private var ATK_SPEED:int;// = 60 private var tid:int;// = 0 private var t_rot:Number;// = 0 private var wrk_id:int;// = 0 private var wrk_dis:Number;// = 0 private var wx:Number;// = 0 private var ty:Number;// = 0 private var wy:Number;// = 0 public function BLD02_TOWER(_arg1, _arg2, _arg3){ type = -1; ATK_SPEED = 60; DEF_POWER = 0; MAX_HP = 500; id = 0; side = 0; hp = 100; col_cnt = 0; cnt = 0; i = 0; dmg = 0; tid = 0; dis = 0; dis_y = 0; wrk_id = 0; wrk_dis = 0; wx = 0; wy = 0; tx = 0; ty = 0; t_rot = 0; ys = 0; xs = 0; live_flg = true; brain_flg = false; super(); addFrameScript(0, frame1); this.id = _arg1; this.x = _arg2; this.y = _arg3; this.side = 1; this.hp_bar.bar_in.gotoAndStop(2); this.hou.rotation = 180; this.hp = this.MAX_HP; this.live_flg = true; addEventListener(Event.ENTER_FRAME, onEnterFrame); } function frame1(){ this.stop(); } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[this.id] = null; delete Object(root).dict[this.id]; this.parent.removeChild(this); } public function kurai(_arg1, _arg2, _arg3, _arg4){ this.dmg = _arg1; if (this.scaleX == _arg2){ this.dmg = (this.dmg * 2); }; this.dmg = Math.floor((this.dmg * ((100 - this.DEF_POWER) / 100))); this.hp = (this.hp - this.dmg); this.col_cnt = 3; this.transform.colorTransform = Object(root).color_red; Object(root).se_metal_flg = true; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC01_DMG(Object(root).e_id, _arg3, _arg4, this.dmg, _arg2); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); if ((((this.hp < 1)) && (this.live_flg))){ i = 0; while (i < Object(root).war_UnitID[this.side].length) { if (Object(root).war_UnitID[this.side][i] == this.id){ Object(root).war_UnitID[this.side].splice(i, 1); break; }; i++; }; Object(root).se_bomb_flg = true; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC23_BOMB_EFFECT(Object(root).e_id, this.x, this.y); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC02_UNITDOWN(Object(root).e_id, this.x, this.y, -1, 13); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); this.live_flg = false; this.visible = false; return; }; } public function onEnterFrame(_arg1:Event){ if (((((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))) && (this.live_flg))){ this.cnt++; this.hp_bar.bar_in.scaleX = (this.hp / this.MAX_HP); this.dis = 99999; this.dis_y = 99999; i = 0; while (i < Object(root).war_UnitID[(1 - this.side)].length) { wrk_id = Object(root).war_UnitID[(1 - this.side)][i]; if (Object(root).dict[wrk_id].live_flg){ this.wx = Object(root).dict[wrk_id].x; if (Object(root).war_Wall_ID == wrk_id){ this.wy = this.y; } else { this.wy = Object(root).dict[wrk_id].y; }; this.wrk_dis = Math.sqrt((Math.pow((this.wx - this.x), 2) + Math.pow((this.wy - this.y), 2))); if (this.dis > this.wrk_dis){ this.dis = this.wrk_dis; this.tid = wrk_id; this.dis_y = Math.sqrt((Math.pow(0, 2) + Math.pow((this.wy - this.y), 2))); }; }; i++; }; if (this.cnt > this.ATK_SPEED){ if (Object(root).dict[this.tid].live_flg){ this.tx = Object(root).dict[this.tid].x; this.ty = Object(root).dict[this.tid].y; this.t_rot = ((Math.atan2((this.ty - this.y), (this.tx - this.x)) * 180) / Math.PI); this.hou.rotation = this.t_rot; this.xs = (Math.cos(((this.t_rot * Math.PI) / 180)) * 30); this.ys = (Math.sin(((this.t_rot * Math.PI) / 180)) * 30); }; Object(root).se_cannon_flg = true; this.cnt = 0; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC04_CANNON(Object(root).e_id, this.tid, (this.x + this.xs), (this.y + this.ys), Object(root).dict[this.tid].x, Object(root).dict[this.tid].y, this.side); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); }; this.col_cnt--; if (this.col_cnt < 1){ this.transform.colorTransform = Object(root).color_normal; }; }; } public function heal(_arg1, _arg2, _arg3){ this.dmg = _arg1; this.hp = (this.hp + this.dmg); if (this.hp > this.MAX_HP){ this.hp = this.MAX_HP; }; this.col_cnt = 3; this.transform.colorTransform = Object(root).color_white; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC08_HEAL(Object(root).e_id, _arg2, _arg3, this.dmg); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); Object(root).se_repair_flg = true; } } }//package
Section 116
//BTN_HELP (BTN_HELP) package { import flash.display.*; import flash.events.*; public class BTN_HELP extends MovieClip { public var body:MovieClip; public function BTN_HELP(_arg1, _arg2){ this.x = _arg1; this.y = _arg2; this.scaleX = 0.8; this.scaleY = 0.8; addEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); addEventListener(MouseEvent.MOUSE_UP, MouseLDownFuncUP); addEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); addEventListener(MouseEvent.MOUSE_OUT, MouseLDownFuncOUT); } function MouseLDownFuncOUT(_arg1:Event){ this.body.gotoAndStop(1); } function MouseLDownFunc(_arg1:Event){ if ((((Object(root).now_ken_id == Object(root).player_id)) && ((Object(root).game_mode == "main_map")))){ this.body.gotoAndStop(3); Object(root).help_mode2 = 0; Object(root).game_mode = "main_asobikata"; Object(root).se_click_flg = true; }; } public function kill(){ removeEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); removeEventListener(MouseEvent.MOUSE_UP, MouseLDownFuncUP); removeEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); removeEventListener(MouseEvent.MOUSE_OUT, MouseLDownFuncOUT); Object(root).dict["btn_help"] = null; delete Object(root).dict["btn_help"]; this.parent.removeChild(this); } function MouseLDownFuncOVER(_arg1:Event){ this.body.gotoAndStop(2); } function MouseLDownFuncUP(_arg1:Event){ this.body.gotoAndStop(1); } } }//package
Section 117
//BTN_HELP2 (BTN_HELP2) package { import flash.display.*; import flash.events.*; public class BTN_HELP2 extends MovieClip { public var body:MovieClip; public function BTN_HELP2(_arg1, _arg2){ this.x = _arg1; this.y = _arg2; addEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); addEventListener(MouseEvent.MOUSE_UP, MouseLDownFuncUP); addEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); addEventListener(MouseEvent.MOUSE_OUT, MouseLDownFuncOUT); } function MouseLDownFuncOUT(_arg1:Event){ this.body.gotoAndStop(1); } function MouseLDownFunc(_arg1:Event){ if ((((Object(root).now_ken_id == Object(root).player_id)) && ((Object(root).game_mode == "main_map")))){ this.body.gotoAndStop(3); Object(root).help_mode2 = 1; Object(root).game_mode = "main_asobikata"; Object(root).se_click_flg = true; }; } public function kill(){ removeEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); removeEventListener(MouseEvent.MOUSE_UP, MouseLDownFuncUP); removeEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); removeEventListener(MouseEvent.MOUSE_OUT, MouseLDownFuncOUT); Object(root).dict["btn_help2"] = null; delete Object(root).dict["btn_help2"]; this.parent.removeChild(this); } function MouseLDownFuncOVER(_arg1:Event){ this.body.gotoAndStop(2); } function MouseLDownFuncUP(_arg1:Event){ this.body.gotoAndStop(1); } } }//package
Section 118
//BTN01_TURNEND (BTN01_TURNEND) package { import flash.display.*; import flash.events.*; public class BTN01_TURNEND extends MovieClip { public var confirm_flg:Boolean;// = false public var body:MovieClip; public var confirm:MovieClip; public function BTN01_TURNEND(_arg1, _arg2){ confirm_flg = false; super(); this.x = _arg1; this.y = _arg2; addEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); addEventListener(MouseEvent.MOUSE_UP, MouseLDownFuncUP); addEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); addEventListener(Event.ENTER_FRAME, onEnterFrame); } function MouseLDownFunc(_arg1:Event){ if (Object(root).game_mode == "main_map"){ this.body.gotoAndStop(3); if (!this.confirm_flg){ this.confirm_flg = true; this.confirm.gotoAndStop(2); Object(root).se_click_flg = true; } else { this.confirm_flg = false; this.confirm.gotoAndStop(1); Object(root).now_ken_id++; Object(root).game_mode = "ken_start"; Object(root).se_save_flg = true; }; }; } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); removeEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); removeEventListener(MouseEvent.MOUSE_UP, MouseLDownFuncUP); removeEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); Object(root).dict["btn_turnend"] = null; delete Object(root).dict["btn_turnend"]; this.parent.removeChild(this); } function MouseLDownFuncOVER(_arg1:Event){ this.body.gotoAndStop(2); } function MouseLDownFuncUP(_arg1:Event){ this.body.gotoAndStop(1); } public function onEnterFrame(_arg1:Event){ if (!this.hitTestPoint(stage.mouseX, stage.mouseY, true)){ this.body.gotoAndStop(1); if (this.confirm_flg){ this.confirm_flg = false; this.confirm.gotoAndStop(1); }; }; } } }//package
Section 119
//BTN02_BUY (BTN02_BUY) package { import flash.display.*; import flash.events.*; public class BTN02_BUY extends MovieClip { public var id:int;// = 0 public var price_flg:Boolean;// = true public var unit_disp:map_unit; private var wrk_txt:String;// = "" public var body:MovieClip; public var locked_flg:Boolean;// = false public var status_disp:MovieClip; public function BTN02_BUY(_arg1, _arg2, _arg3){ id = 0; price_flg = true; locked_flg = false; wrk_txt = ""; super(); this.id = _arg3; this.unit_disp.gotoAndStop(this.id); this.x = _arg1; this.y = _arg2; addEventListener(Event.ENTER_FRAME, onEnterFrame); addEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); addEventListener(MouseEvent.MOUSE_UP, MouseLDownFuncUP); addEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); addEventListener(MouseEvent.MOUSE_OUT, MouseLDownFuncOUT); } function MouseLDownFuncOUT(_arg1:Event){ if (((((this.price_flg) && (!(this.locked_flg)))) && ((Object(root).player_id == Object(root).now_ken_id)))){ this.body.gotoAndStop(1); }; } private function MouseLDownFunc(_arg1:Event){ if (this.visible){ if (((((((this.price_flg) && (!(this.locked_flg)))) && ((Object(root).game_mode == "main_map")))) && ((Object(root).selected_id == -1)))){ this.body.gotoAndStop(3); if (Object(root).buy_unit_id != this.id){ Object(root).menu_btn_flg = true; Object(root).buy_unit_flg = true; Object(root).buy_unit_id = this.id; Object(root).se_click_flg = true; }; }; }; } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); removeEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); removeEventListener(MouseEvent.MOUSE_UP, MouseLDownFuncUP); removeEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); removeEventListener(MouseEvent.MOUSE_OUT, MouseLDownFuncOUT); Object(root).dict[("btn" + this.id)] = null; delete Object(root).dict[("btn" + this.id)]; this.parent.removeChild(this); } function MouseLDownFuncOVER(_arg1:Event){ if (((((this.price_flg) && (!(this.locked_flg)))) && ((Object(root).player_id == Object(root).now_ken_id)))){ this.body.gotoAndStop(2); Object(root).dict["m_bg"].help.gotoAndStop(this.id); if (Object(root).tam_cost[this.id] >= 1000){ Object(root).dict["m_bg"].help.h1.visible = true; Object(root).dict["m_bg"].help.h2.visible = true; Object(root).dict["m_bg"].help.h3.visible = true; Object(root).dict["m_bg"].help.h4.visible = true; wrk_txt = ("0000" + Object(root).tam_cost[this.id]).slice(-4); Object(root).dict["m_bg"].help.h1.gotoAndStop((Number(wrk_txt.charAt(0)) + 1)); Object(root).dict["m_bg"].help.h2.gotoAndStop((Number(wrk_txt.charAt(1)) + 1)); Object(root).dict["m_bg"].help.h3.gotoAndStop((Number(wrk_txt.charAt(2)) + 1)); Object(root).dict["m_bg"].help.h4.gotoAndStop((Number(wrk_txt.charAt(3)) + 1)); } else { if (Object(root).tam_cost[this.id] >= 100){ Object(root).dict["m_bg"].help.h1.visible = true; Object(root).dict["m_bg"].help.h2.visible = true; Object(root).dict["m_bg"].help.h3.visible = true; Object(root).dict["m_bg"].help.h4.visible = false; wrk_txt = ("000" + Object(root).tam_cost[this.id]).slice(-3); Object(root).dict["m_bg"].help.h1.gotoAndStop((Number(wrk_txt.charAt(0)) + 1)); Object(root).dict["m_bg"].help.h2.gotoAndStop((Number(wrk_txt.charAt(1)) + 1)); Object(root).dict["m_bg"].help.h3.gotoAndStop((Number(wrk_txt.charAt(2)) + 1)); } else { Object(root).dict["m_bg"].help.h1.visible = true; Object(root).dict["m_bg"].help.h2.visible = true; Object(root).dict["m_bg"].help.h3.visible = false; Object(root).dict["m_bg"].help.h4.visible = false; wrk_txt = ("000" + Object(root).tam_cost[this.id]).slice(-2); Object(root).dict["m_bg"].help.h1.gotoAndStop((Number(wrk_txt.charAt(0)) + 1)); Object(root).dict["m_bg"].help.h2.gotoAndStop((Number(wrk_txt.charAt(1)) + 1)); }; }; }; } function MouseLDownFuncUP(_arg1:Event){ if (((((this.price_flg) && (!(this.locked_flg)))) && ((Object(root).player_id == Object(root).now_ken_id)))){ this.body.gotoAndStop(1); }; } public function onEnterFrame(_arg1:Event){ if (((!(this.locked_flg)) && ((Object(root).game_mode == "main_map")))){ if (Object(root).gold[Object(root).now_ken_id] >= Object(root).tam_cost[this.id]){ this.price_flg = true; this.unit_disp.alpha = 1; this.status_disp.gotoAndStop(1); } else { this.price_flg = false; this.unit_disp.alpha = 0.5; this.status_disp.gotoAndStop(2); }; }; } } }//package
Section 120
//BTN03_PAUSE (BTN03_PAUSE) package { import flash.display.*; import flash.events.*; public class BTN03_PAUSE extends MovieClip { public var body:MovieClip; public var mark:MovieClip; public function BTN03_PAUSE(_arg1, _arg2){ this.x = _arg1; this.y = _arg2; addEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); addEventListener(MouseEvent.MOUSE_UP, MouseLDownFuncUP); addEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); addEventListener(MouseEvent.MOUSE_OUT, MouseLDownFuncOUT); } function MouseLDownFuncOUT(_arg1:Event){ this.body.gotoAndStop(1); } function MouseLDownFunc(_arg1:Event){ this.body.gotoAndStop(3); if (Object(root).pause_flg){ Object(root).pause_flg = false; this.mark.gotoAndStop(1); } else { Object(root).pause_flg = true; this.mark.gotoAndStop(2); }; Object(root).se_click_flg = true; } public function kill(){ removeEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); removeEventListener(MouseEvent.MOUSE_UP, MouseLDownFuncUP); removeEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); removeEventListener(MouseEvent.MOUSE_OUT, MouseLDownFuncOUT); Object(root).dict["btn_pause"] = null; delete Object(root).dict["btn_pause"]; this.parent.removeChild(this); } function MouseLDownFuncOVER(_arg1:Event){ this.body.gotoAndStop(2); } function MouseLDownFuncUP(_arg1:Event){ this.body.gotoAndStop(1); } } }//package
Section 121
//BTN04_VISUAL (BTN04_VISUAL) package { import flash.display.*; import flash.events.*; public class BTN04_VISUAL extends MovieClip { public var body:MovieClip; public var mark:MovieClip; public function BTN04_VISUAL(_arg1, _arg2){ this.x = _arg1; this.y = _arg2; addEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); addEventListener(MouseEvent.MOUSE_UP, MouseLDownFuncUP); addEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); addEventListener(MouseEvent.MOUSE_OUT, MouseLDownFuncOUT); } function MouseLDownFuncOUT(_arg1:Event){ this.body.gotoAndStop(1); } function MouseLDownFunc(_arg1:Event){ this.body.gotoAndStop(3); if (Object(root).visual_flg == 0){ Object(root).visual_flg = 1; this.mark.gotoAndStop(2); Object(root).ChangeQuality("M"); } else { if (Object(root).visual_flg == 1){ Object(root).visual_flg = 2; this.mark.gotoAndStop(3); Object(root).ChangeQuality("L"); } else { Object(root).visual_flg = 0; this.mark.gotoAndStop(1); Object(root).ChangeQuality("H"); }; }; Object(root).se_click_flg = true; } public function kill(){ removeEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); removeEventListener(MouseEvent.MOUSE_UP, MouseLDownFuncUP); removeEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); removeEventListener(MouseEvent.MOUSE_OUT, MouseLDownFuncOUT); Object(root).dict["btn_visual"] = null; delete Object(root).dict["btn_visual"]; this.parent.removeChild(this); } function MouseLDownFuncOVER(_arg1:Event){ this.body.gotoAndStop(2); } function MouseLDownFuncUP(_arg1:Event){ this.body.gotoAndStop(1); } } }//package
Section 122
//BTN05_SOUND (BTN05_SOUND) package { import flash.display.*; import flash.events.*; public class BTN05_SOUND extends MovieClip { public var body:MovieClip; public var mark:MovieClip; public function BTN05_SOUND(_arg1, _arg2){ this.x = _arg1; this.y = _arg2; addEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); addEventListener(MouseEvent.MOUSE_UP, MouseLDownFuncUP); addEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); addEventListener(MouseEvent.MOUSE_OUT, MouseLDownFuncOUT); } function MouseLDownFuncOUT(_arg1:Event){ this.body.gotoAndStop(1); } function MouseLDownFunc(_arg1:Event){ this.body.gotoAndStop(3); if (Object(root).sound_flg){ Object(root).sound_flg = false; this.mark.gotoAndStop(2); } else { Object(root).se_yarare_flg[0] = false; Object(root).se_yarare_flg[1] = false; Object(root).se_yarare_flg[2] = false; Object(root).se_yumi_flg = false; Object(root).se_poko_flg = false; Object(root).se_dokan_flg = false; Object(root).se_goro_flg = false; Object(root).se_kudake_flg = false; Object(root).se_click_flg = false; Object(root).se_gun_flg = false; Object(root).se_buy_flg = false; Object(root).se_poi_flg = false; Object(root).se_swing_flg = false; Object(root).se_save_flg = false; Object(root).se_fort_dmg_flg = false; Object(root).se_dora_flg = false; Object(root).se_dokadokan_flg = false; Object(root).se_heal_flg = false; Object(root).se_repair_flg = false; Object(root).se_engine_bomb_flg = false; Object(root).se_metal_flg = false; Object(root).se_bomb_flg = false; Object(root).se_beam_flg = false; Object(root).se_yari_flg = false; Object(root).se_cannon_flg = false; Object(root).se_nagi_flg = false; Object(root).se_bound_flg = false; Object(root).se_retsu_flg = false; Object(root).se_shotgun_flg = false; Object(root).se_sniper_flg = false; Object(root).se_sniper2_flg = false; Object(root).se_uki_flg = false; Object(root).se_missile_flg = false; Object(root).se_tate_flg = false; Object(root).se_tobi_flg = false; Object(root).se_tobi_bomb_flg = false; Object(root).se_tank_flg = false; Object(root).se_poi2_flg = false; Object(root).se_minigun_flg = false; Object(root).se_ministart_flg = false; Object(root).se_ikimono_flg = false; Object(root).se_win_flg = false; Object(root).se_lose_flg = false; Object(root).se_ending_flg = false; Object(root).se_boss_flg = false; Object(root).se_kaminari_flg = false; Object(root).sound_flg = true; this.mark.gotoAndStop(1); }; Object(root).se_click_flg = true; } public function kill(){ removeEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); removeEventListener(MouseEvent.MOUSE_UP, MouseLDownFuncUP); removeEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); removeEventListener(MouseEvent.MOUSE_OUT, MouseLDownFuncOUT); Object(root).dict["btn_sound"] = null; delete Object(root).dict["btn_sound"]; this.parent.removeChild(this); } function MouseLDownFuncOVER(_arg1:Event){ this.body.gotoAndStop(2); } function MouseLDownFuncUP(_arg1:Event){ this.body.gotoAndStop(1); } } }//package
Section 123
//BTN09_TAB (BTN09_TAB) package { import flash.display.*; import flash.events.*; public class BTN09_TAB extends MovieClip { public var id:int;// = 0 public function BTN09_TAB(_arg1, _arg2, _arg3){ id = 0; super(); this.id = _arg3; this.x = _arg1; this.y = _arg2; this.alpha = 0; addEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); } private function MouseLDownFunc(_arg1:Event){ if (Object(root).player_id == Object(root).now_ken_id){ Object(root).se_click_flg = true; Object(root).tab_change(this.id); }; } public function kill(){ Object(root).dict[("tab" + this.id)] = null; delete Object(root).dict[("tab" + this.id)]; this.parent.removeChild(this); } } }//package
Section 124
//BTN10_BLD (BTN10_BLD) package { import flash.display.*; import flash.events.*; public class BTN10_BLD extends MovieClip { public var id:int;// = 0 public var unit_disp:bld_unit; public var body:MovieClip; public var status_disp:MovieClip; public function BTN10_BLD(_arg1, _arg2, _arg3){ id = 0; super(); this.id = _arg3; this.unit_disp.gotoAndStop(this.id); this.x = _arg1; this.y = _arg2; addEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); addEventListener(MouseEvent.MOUSE_UP, MouseLDownFuncUP); addEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); addEventListener(MouseEvent.MOUSE_OUT, MouseLDownFuncOUT); } function MouseLDownFuncOUT(_arg1:Event){ if (Object(root).player_id == Object(root).now_ken_id){ this.body.gotoAndStop(1); }; } private function MouseLDownFunc(_arg1:Event){ if ((((Object(root).game_mode == "main_map")) && ((Object(root).selected_id == -1)))){ this.body.gotoAndStop(3); if (Object(root).buy_unit_id != this.id){ Object(root).menu_btn_flg = true; Object(root).buy_bld_flg = true; Object(root).buy_unit_id = this.id; Object(root).se_click_flg = true; }; }; } public function kill(){ removeEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); removeEventListener(MouseEvent.MOUSE_UP, MouseLDownFuncUP); removeEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); removeEventListener(MouseEvent.MOUSE_OUT, MouseLDownFuncOUT); Object(root).dict[("btn" + this.id)] = null; delete Object(root).dict[("btn" + this.id)]; this.parent.removeChild(this); } function MouseLDownFuncOVER(_arg1:Event){ if (Object(root).player_id == Object(root).now_ken_id){ this.body.gotoAndStop(2); Object(root).dict["m_bg"].help.gotoAndStop((16 + this.id)); }; } function MouseLDownFuncUP(_arg1:Event){ if (Object(root).player_id == Object(root).now_ken_id){ this.body.gotoAndStop(1); }; } } }//package
Section 125
//BTN11_TAC (BTN11_TAC) package { import flash.display.*; import flash.events.*; public class BTN11_TAC extends MovieClip { public var id:int;// = 0 public var unit_disp:MovieClip; private var wrk_txt:String;// = "" public var body:MovieClip; public var locked_flg:Boolean;// = false public var status_disp:MovieClip; public function BTN11_TAC(_arg1, _arg2, _arg3){ id = 0; locked_flg = false; wrk_txt = ""; super(); this.id = _arg3; this.unit_disp.gotoAndStop(this.id); this.x = _arg1; this.y = _arg2; addEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); addEventListener(MouseEvent.MOUSE_OUT, MouseLDownFuncOUT); } function MouseLDownFuncOUT(_arg1:Event){ if (((!(this.locked_flg)) && ((Object(root).player_id == Object(root).now_ken_id)))){ this.body.gotoAndStop(1); }; } public function kill(){ removeEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); removeEventListener(MouseEvent.MOUSE_OUT, MouseLDownFuncOUT); Object(root).dict[("btn" + this.id)] = null; delete Object(root).dict[("btn" + this.id)]; this.parent.removeChild(this); } function MouseLDownFuncOVER(_arg1:Event){ if (((!(this.locked_flg)) && ((Object(root).player_id == Object(root).now_ken_id)))){ this.body.gotoAndStop(2); Object(root).dict["m_bg"].help.gotoAndStop((27 + this.id)); }; } } }//package
Section 126
//BTN12_BATTLE (BTN12_BATTLE) package { import flash.display.*; import flash.events.*; public class BTN12_BATTLE extends MovieClip { private var id:int;// = 0 public var line_ani:MovieClip; private var side:int;// = 0 public var unit_disp:map_unit; public var body:MovieClip; private var mode:int;// = 1 public var mode_disp:MovieClip; private var drag_cnt:int;// = 0 public function BTN12_BATTLE(_arg1, _arg2, _arg3, _arg4){ id = 0; side = 0; drag_cnt = 0; mode = 1; super(); this.x = _arg1; this.y = _arg2; this.side = _arg3; this.id = _arg4; this.unit_disp.gotoAndStop(this.id); if (this.side == 1){ this.unit_disp.scaleX = -(this.unit_disp.scaleX); }; addEventListener(Event.ENTER_FRAME, onEnterFrame); addEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); addEventListener(MouseEvent.MOUSE_UP, MouseLDownFuncUP); addEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); addEventListener(MouseEvent.MOUSE_OUT, MouseLDownFuncOUT); } function MouseLDownFuncOUT(_arg1:Event){ this.body.gotoAndStop(1); } function MouseLDownFunc(_arg1:Event){ if ((((Object(root).game_mode == "battle_main")) || ((Object(root).game_mode == "battle_start")))){ this.drag_cnt = Object(root).root_get_timer(); Object(root).war_drag_id = this.id; this.body.gotoAndStop(3); Object(root).se_click_flg = true; Object(root).dict["f_move"].setChildIndex(this, (Object(root).dict["f_move"].numChildren - 1)); }; } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); removeEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); removeEventListener(MouseEvent.MOUSE_UP, MouseLDownFuncUP); removeEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); removeEventListener(MouseEvent.MOUSE_OUT, MouseLDownFuncOUT); Object(root).dict[("war_btn" + this.id)] = null; delete Object(root).dict[("war_btn" + this.id)]; this.parent.removeChild(this); } function MouseLDownFuncOVER(_arg1:Event){ if ((((Object(root).game_mode == "battle_main")) || ((Object(root).game_mode == "battle_start")))){ this.body.gotoAndStop(2); }; } function MouseLDownFuncUP(_arg1:Event){ if ((Object(root).root_get_timer() - this.drag_cnt) < 180){ if (this.mode == 2){ this.mode = 1; Object(root).war_UnitMode[this.side][this.id] = "deffence"; } else { this.mode = 2; Object(root).war_UnitMode[this.side][this.id] = "attack"; }; }; this.body.gotoAndStop(1); } public function onEnterFrame(_arg1:Event){ if ((((Object(root).game_mode == "battle_main")) || ((Object(root).game_mode == "battle_start")))){ this.mode_disp.gotoAndStop(this.mode); if ((((Object(root).war_drag_id == this.id)) && (((Object(root).root_get_timer() - this.drag_cnt) > 100)))){ this.x = stage.mouseX; if (this.x < 21){ this.x = 21; } else { if (this.x > 619){ this.x = 619; }; }; Object(root).war_UnitX[this.side][this.id] = this.x; this.line_ani.visible = true; } else { this.line_ani.visible = false; }; }; } } }//package
Section 127
//BTN13_ESCAPE (BTN13_ESCAPE) package { import flash.display.*; import flash.events.*; public class BTN13_ESCAPE extends MovieClip { public var confirm_flg:Boolean;// = false public var body:MovieClip; public var confirm:MovieClip; public function BTN13_ESCAPE(_arg1, _arg2){ confirm_flg = false; super(); this.x = _arg1; this.y = _arg2; addEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); addEventListener(MouseEvent.MOUSE_UP, MouseLDownFuncUP); addEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); addEventListener(Event.ENTER_FRAME, onEnterFrame); } function MouseLDownFunc(_arg1:Event){ if (Object(root).game_mode == "battle_main"){ this.body.gotoAndStop(3); if (Object(root).war_Escape_Mode == 0){ if (!this.confirm_flg){ this.confirm_flg = true; this.confirm.gotoAndStop(2); Object(root).se_click_flg = true; } else { this.confirm_flg = false; this.confirm.gotoAndStop(3); Object(root).war_Escape_Mode = 1.5; Object(root).se_escape_flg = true; }; }; }; } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); removeEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); removeEventListener(MouseEvent.MOUSE_UP, MouseLDownFuncUP); removeEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); Object(root).dict["btn_escape"] = null; delete Object(root).dict["btn_escape"]; this.parent.removeChild(this); } function MouseLDownFuncOVER(_arg1:Event){ if (Object(root).game_mode == "battle_main"){ this.body.gotoAndStop(2); }; } function MouseLDownFuncUP(_arg1:Event){ this.body.gotoAndStop(1); } public function onEnterFrame(_arg1:Event){ if (!this.hitTestPoint(stage.mouseX, stage.mouseY, true)){ this.body.gotoAndStop(1); if (this.confirm_flg){ this.confirm_flg = false; this.confirm.gotoAndStop(1); }; }; } } }//package
Section 128
//BTN14_TACUSE (BTN14_TACUSE) package { import flash.display.*; import flash.events.*; public class BTN14_TACUSE extends MovieClip { public var confirm_flg:Boolean;// = false public var body:MovieClip; public var confirm:MovieClip; public function BTN14_TACUSE(_arg1, _arg2){ confirm_flg = false; super(); this.x = _arg1; this.y = _arg2; addEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); addEventListener(MouseEvent.MOUSE_UP, MouseLDownFuncUP); addEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); addEventListener(Event.ENTER_FRAME, onEnterFrame); } function MouseLDownFunc(_arg1:Event){ if (Object(root).game_mode == "battle_main"){ this.body.gotoAndStop(3); if ((((Object(root).war_TacUseMode[Object(root).war_PlayerSide] == 0)) && ((Object(root).game_mode == "battle_main")))){ if (!this.confirm_flg){ this.confirm_flg = true; this.confirm.gotoAndStop(2); Object(root).se_click_flg = true; } else { this.confirm_flg = false; Object(root).war_TacUseMode[Object(root).war_PlayerSide] = 1; Object(root).game_mode = "tac_setup"; Object(root).se_save_flg = true; }; }; }; } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); removeEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); removeEventListener(MouseEvent.MOUSE_UP, MouseLDownFuncUP); removeEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); Object(root).dict["btn_tacuse"] = null; delete Object(root).dict["btn_tacuse"]; this.parent.removeChild(this); } function MouseLDownFuncOVER(_arg1:Event){ if (Object(root).game_mode == "battle_main"){ this.body.gotoAndStop(2); }; } function MouseLDownFuncUP(_arg1:Event){ this.body.gotoAndStop(1); } public function onEnterFrame(_arg1:Event){ if (!this.hitTestPoint(stage.mouseX, stage.mouseY, true)){ this.body.gotoAndStop(1); if (this.confirm_flg){ this.confirm_flg = false; this.confirm.gotoAndStop(1); }; }; } } }//package
Section 129
//BTN15_TAC_SELECT (BTN15_TAC_SELECT) package { import flash.display.*; import flash.events.*; public class BTN15_TAC_SELECT extends MovieClip { public var id:int;// = 0 public var confirm_flg:Boolean;// = false public var unit_disp:MovieClip; public var body:MovieClip; public var locked_flg:Boolean;// = false public var confirm:MovieClip; public function BTN15_TAC_SELECT(_arg1, _arg2, _arg3){ id = 0; confirm_flg = false; locked_flg = false; super(); this.id = _arg3; this.unit_disp.gotoAndStop(this.id); this.x = _arg1; this.y = _arg2; addEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); addEventListener(MouseEvent.MOUSE_UP, MouseLDownFuncUP); addEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); addEventListener(Event.ENTER_FRAME, onEnterFrame); } function MouseLDownFunc(_arg1:Event){ if (!this.locked_flg){ this.body.gotoAndStop(3); if (!this.confirm_flg){ this.confirm_flg = true; this.confirm.gotoAndStop(2); Object(root).se_click_flg = true; } else { this.confirm_flg = false; Object(root).dict["btn_tacuse"].confirm.gotoAndStop(3); Object(root).war_Tac_Flg[Object(root).war_PlayerSide] = 1; Object(root).war_Tac_No[Object(root).war_PlayerSide] = this.id; Object(root).game_mode = "tac_close"; Object(root).se_save_flg = true; }; }; } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); removeEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); removeEventListener(MouseEvent.MOUSE_UP, MouseLDownFuncUP); removeEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); Object(root).dict[("btn" + this.id)] = null; delete Object(root).dict[("btn" + this.id)]; this.parent.removeChild(this); } function MouseLDownFuncOVER(_arg1:Event){ if (!this.locked_flg){ this.body.gotoAndStop(2); Object(root).dict["tac_bg"].help.gotoAndStop((27 + this.id)); }; } function MouseLDownFuncUP(_arg1:Event){ this.body.gotoAndStop(1); } public function onEnterFrame(_arg1:Event){ if (!this.hitTestPoint(stage.mouseX, stage.mouseY, true)){ this.body.gotoAndStop(1); if (this.confirm_flg){ this.confirm_flg = false; this.confirm.gotoAndStop(1); }; }; } } }//package
Section 130
//BTN16_SAVE (BTN16_SAVE) package { import flash.display.*; import flash.events.*; public class BTN16_SAVE extends MovieClip { public var confirm_flg:Boolean;// = false public var body:MovieClip; public var confirm:MovieClip; public function BTN16_SAVE(_arg1, _arg2){ confirm_flg = false; super(); this.x = _arg1; this.y = _arg2; addEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); addEventListener(MouseEvent.MOUSE_UP, MouseLDownFuncUP); addEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); addEventListener(Event.ENTER_FRAME, onEnterFrame); } function MouseLDownFunc(_arg1:Event){ this.body.gotoAndStop(3); if ((((Object(root).now_ken_id == Object(root).player_id)) && ((Object(root).game_mode == "main_map")))){ if (!this.confirm_flg){ this.confirm_flg = true; this.confirm.gotoAndStop(2); Object(root).se_click_flg = true; } else { this.confirm_flg = false; this.confirm.gotoAndStop(1); Object(root).se_save_flg = true; Object(root).data_save(); }; }; } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); removeEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); removeEventListener(MouseEvent.MOUSE_UP, MouseLDownFuncUP); removeEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); Object(root).dict["btn_save"] = null; delete Object(root).dict["btn_save"]; this.parent.removeChild(this); } function MouseLDownFuncOVER(_arg1:Event){ if ((((Object(root).now_ken_id == Object(root).player_id)) && ((Object(root).game_mode == "main_map")))){ this.body.gotoAndStop(2); }; } function MouseLDownFuncUP(_arg1:Event){ this.body.gotoAndStop(1); } public function onEnterFrame(_arg1:Event){ if (!this.hitTestPoint(stage.mouseX, stage.mouseY, true)){ this.body.gotoAndStop(1); if (this.confirm_flg){ this.confirm_flg = false; this.confirm.gotoAndStop(1); }; }; } } }//package
Section 131
//BTN17_LOAD (BTN17_LOAD) package { import flash.display.*; import flash.events.*; public class BTN17_LOAD extends MovieClip { public var confirm_flg:Boolean;// = false public var body:MovieClip; public var confirm:MovieClip; public function BTN17_LOAD(_arg1, _arg2){ confirm_flg = false; super(); this.x = _arg1; this.y = _arg2; addEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); addEventListener(MouseEvent.MOUSE_UP, MouseLDownFuncUP); addEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); addEventListener(Event.ENTER_FRAME, onEnterFrame); } function MouseLDownFunc(_arg1:Event){ if ((((((Object(root).now_ken_id == Object(root).player_id)) && ((Object(root).game_mode == "main_map")))) && ((this.alpha == 1)))){ this.body.gotoAndStop(3); if (!this.confirm_flg){ this.confirm_flg = true; this.confirm.gotoAndStop(2); Object(root).se_click_flg = true; } else { this.confirm_flg = false; this.confirm.gotoAndStop(1); Object(root).se_save_flg = true; Object(root).game_mode3 = "data_load"; Object(root).game_mode = "main_close"; }; }; } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); removeEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); removeEventListener(MouseEvent.MOUSE_UP, MouseLDownFuncUP); removeEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); Object(root).dict["btn_load"] = null; delete Object(root).dict["btn_load"]; this.parent.removeChild(this); } function MouseLDownFuncOVER(_arg1:Event){ if ((((((Object(root).now_ken_id == Object(root).player_id)) && ((Object(root).game_mode == "main_map")))) && ((this.alpha == 1)))){ this.body.gotoAndStop(2); }; } function MouseLDownFuncUP(_arg1:Event){ this.body.gotoAndStop(1); } public function onEnterFrame(_arg1:Event){ if (!this.hitTestPoint(stage.mouseX, stage.mouseY, true)){ this.body.gotoAndStop(1); if (this.confirm_flg){ this.confirm_flg = false; this.confirm.gotoAndStop(1); }; }; } } }//package
Section 132
//BTN18_START (BTN18_START) package { import flash.display.*; import flash.events.*; public class BTN18_START extends MovieClip { public var hitmc:MovieClip; public var start_mode:int;// = 0 public function BTN18_START(_arg1, _arg2){ start_mode = 0; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3); this.x = _arg1; this.y = _arg2; this.hitArea = this.hitmc; this.hitArea.visible = false; addEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); addEventListener(MouseEvent.MOUSE_UP, MouseLDownFuncUP); addEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); addEventListener(MouseEvent.MOUSE_OUT, MouseLDownFuncOUT); } function MouseLDownFuncOUT(_arg1:Event){ this.gotoAndStop(1); } function MouseLDownFunc(_arg1:Event){ this.gotoAndStop(3); Object(root).game_mode = "title_close"; Object(root).game_mode2 = "ken_select_setup"; Object(root).se_click_flg = true; } function frame3(){ this.stop(); } function frame1(){ this.stop(); } public function kill(){ removeEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); removeEventListener(MouseEvent.MOUSE_UP, MouseLDownFuncUP); removeEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); removeEventListener(MouseEvent.MOUSE_OUT, MouseLDownFuncOUT); Object(root).dict["btn_start"] = null; delete Object(root).dict["btn_start"]; this.parent.removeChild(this); } function MouseLDownFuncOVER(_arg1:Event){ this.gotoAndStop(2); } function MouseLDownFuncUP(_arg1:Event){ this.gotoAndStop(1); } function frame2(){ this.stop(); } } }//package
Section 133
//BTN19_CONTINUE (BTN19_CONTINUE) package { import flash.display.*; import flash.events.*; public class BTN19_CONTINUE extends MovieClip { public var hitmc:MovieClip; public var start_mode:int;// = 0 public function BTN19_CONTINUE(_arg1, _arg2){ start_mode = 0; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3); this.x = _arg1; this.y = _arg2; this.hitArea = this.hitmc; this.hitArea.visible = false; addEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); addEventListener(MouseEvent.MOUSE_UP, MouseLDownFuncUP); addEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); addEventListener(MouseEvent.MOUSE_OUT, MouseLDownFuncOUT); } function MouseLDownFuncOUT(_arg1:Event){ this.gotoAndStop(1); } function MouseLDownFunc(_arg1:Event){ if (this.alpha == 1){ this.gotoAndStop(3); Object(root).game_mode = "title_close"; Object(root).game_mode2 = "data_load"; Object(root).se_click_flg = true; }; } function frame3(){ this.stop(); } function frame1(){ this.stop(); } public function kill(){ removeEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); removeEventListener(MouseEvent.MOUSE_UP, MouseLDownFuncUP); removeEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); removeEventListener(MouseEvent.MOUSE_OUT, MouseLDownFuncOUT); Object(root).dict["btn_start"] = null; delete Object(root).dict["btn_start"]; this.parent.removeChild(this); } function MouseLDownFuncOVER(_arg1:Event){ if (this.alpha == 1){ this.gotoAndStop(2); }; } function MouseLDownFuncUP(_arg1:Event){ this.gotoAndStop(1); } function frame2(){ this.stop(); } } }//package
Section 134
//BTN20_HELP (BTN20_HELP) package { import flash.display.*; import flash.events.*; public class BTN20_HELP extends MovieClip { public var hitmc:MovieClip; public var start_mode:int;// = 0 public function BTN20_HELP(_arg1, _arg2){ start_mode = 0; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3); this.x = _arg1; this.y = _arg2; this.hitArea = this.hitmc; this.hitArea.visible = false; addEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); addEventListener(MouseEvent.MOUSE_UP, MouseLDownFuncUP); addEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); addEventListener(MouseEvent.MOUSE_OUT, MouseLDownFuncOUT); } function MouseLDownFuncOUT(_arg1:Event){ this.gotoAndStop(1); } function MouseLDownFunc(_arg1:Event){ this.gotoAndStop(3); Object(root).game_mode = "asobikata"; Object(root).se_click_flg = true; } function frame3(){ this.stop(); } function frame1(){ this.stop(); } public function kill(){ removeEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); removeEventListener(MouseEvent.MOUSE_UP, MouseLDownFuncUP); removeEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); removeEventListener(MouseEvent.MOUSE_OUT, MouseLDownFuncOUT); Object(root).dict["btn_start"] = null; delete Object(root).dict["btn_start"]; this.parent.removeChild(this); } function MouseLDownFuncOVER(_arg1:Event){ this.gotoAndStop(2); } function MouseLDownFuncUP(_arg1:Event){ this.gotoAndStop(1); } function frame2(){ this.stop(); } } }//package
Section 135
//BTN21_GAMEOVER (BTN21_GAMEOVER) package { import flash.display.*; import flash.events.*; public class BTN21_GAMEOVER extends MovieClip { public var hitmc:MovieClip; public var start_mode:int;// = 0 public function BTN21_GAMEOVER(_arg1, _arg2){ start_mode = 0; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3); this.x = _arg1; this.y = _arg2; this.hitArea = this.hitmc; this.hitArea.visible = false; addEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); addEventListener(MouseEvent.MOUSE_UP, MouseLDownFuncUP); addEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); addEventListener(MouseEvent.MOUSE_OUT, MouseLDownFuncOUT); } function MouseLDownFuncOUT(_arg1:Event){ this.gotoAndStop(1); } function MouseLDownFunc(_arg1:Event){ this.gotoAndStop(3); Object(root).game_mode = "main_close"; Object(root).game_mode3 = "title_setup"; Object(root).se_click_flg = true; } function frame3(){ this.stop(); } function frame1(){ this.stop(); } public function kill(){ removeEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); removeEventListener(MouseEvent.MOUSE_UP, MouseLDownFuncUP); removeEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); removeEventListener(MouseEvent.MOUSE_OUT, MouseLDownFuncOUT); Object(root).dict["btn_gameover"] = null; delete Object(root).dict["btn_gameover"]; this.parent.removeChild(this); } function MouseLDownFuncOVER(_arg1:Event){ this.gotoAndStop(2); } function MouseLDownFuncUP(_arg1:Event){ this.gotoAndStop(1); } function frame2(){ this.stop(); } } }//package
Section 136
//BTN22_BACKTITLE (BTN22_BACKTITLE) package { import flash.display.*; import flash.events.*; public class BTN22_BACKTITLE extends MovieClip { public var confirm_flg:Boolean;// = false public var body:MovieClip; public var confirm:MovieClip; public function BTN22_BACKTITLE(_arg1, _arg2){ confirm_flg = false; super(); this.x = _arg1; this.y = _arg2; addEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); addEventListener(MouseEvent.MOUSE_UP, MouseLDownFuncUP); addEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); addEventListener(Event.ENTER_FRAME, onEnterFrame); } function MouseLDownFunc(_arg1:Event){ if ((((((Object(root).now_ken_id == Object(root).player_id)) && ((Object(root).game_mode == "main_map")))) && ((this.alpha == 1)))){ this.body.gotoAndStop(3); if (!this.confirm_flg){ this.confirm_flg = true; this.confirm.gotoAndStop(2); Object(root).se_click_flg = true; } else { this.confirm_flg = false; this.confirm.gotoAndStop(1); Object(root).se_save_flg = true; Object(root).game_mode = "main_close"; Object(root).game_mode3 = "title_setup"; }; }; } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); removeEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); removeEventListener(MouseEvent.MOUSE_UP, MouseLDownFuncUP); removeEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); Object(root).dict["btn_quit"] = null; delete Object(root).dict["btn_quit"]; this.parent.removeChild(this); } function MouseLDownFuncOVER(_arg1:Event){ if ((((((Object(root).now_ken_id == Object(root).player_id)) && ((Object(root).game_mode == "main_map")))) && ((this.alpha == 1)))){ this.body.gotoAndStop(2); }; } function MouseLDownFuncUP(_arg1:Event){ this.body.gotoAndStop(1); } public function onEnterFrame(_arg1:Event){ if (!this.hitTestPoint(stage.mouseX, stage.mouseY, true)){ this.body.gotoAndStop(1); if (this.confirm_flg){ this.confirm_flg = false; this.confirm.gotoAndStop(1); }; }; } } }//package
Section 137
//BTN23_TAC_CANCEL (BTN23_TAC_CANCEL) package { import flash.display.*; import flash.events.*; public class BTN23_TAC_CANCEL extends MovieClip { public var hitmc:MovieClip; public var start_mode:int;// = 0 public function BTN23_TAC_CANCEL(_arg1, _arg2){ start_mode = 0; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3); this.x = _arg1; this.y = _arg2; this.hitArea = this.hitmc; this.hitArea.visible = false; addEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); addEventListener(MouseEvent.MOUSE_UP, MouseLDownFuncUP); addEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); addEventListener(MouseEvent.MOUSE_OUT, MouseLDownFuncOUT); } function MouseLDownFuncOUT(_arg1:Event){ this.gotoAndStop(1); } function MouseLDownFunc(_arg1:Event){ this.gotoAndStop(3); Object(root).war_TacUseMode[Object(root).war_PlayerSide] = 0; Object(root).dict["btn_tacuse"].confirm.gotoAndStop(1); Object(root).game_mode = "tac_close"; Object(root).se_click_flg = true; } function frame3(){ this.stop(); } function frame1(){ this.stop(); } public function kill(){ removeEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); removeEventListener(MouseEvent.MOUSE_UP, MouseLDownFuncUP); removeEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); removeEventListener(MouseEvent.MOUSE_OUT, MouseLDownFuncOUT); Object(root).dict["btn_cancel"] = null; delete Object(root).dict["btn_cancel"]; this.parent.removeChild(this); } function MouseLDownFuncOVER(_arg1:Event){ this.gotoAndStop(2); } function MouseLDownFuncUP(_arg1:Event){ this.gotoAndStop(1); } function frame2(){ this.stop(); } } }//package
Section 138
//BTN24_NEXT (BTN24_NEXT) package { import flash.display.*; import flash.events.*; public class BTN24_NEXT extends MovieClip { public var hitmc:MovieClip; public function BTN24_NEXT(_arg1, _arg2){ addFrameScript(0, frame1, 1, frame2, 2, frame3); this.x = _arg1; this.y = _arg2; this.hitArea = this.hitmc; this.hitArea.visible = false; addEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); addEventListener(MouseEvent.MOUSE_UP, MouseLDownFuncUP); addEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); addEventListener(MouseEvent.MOUSE_OUT, MouseLDownFuncOUT); } function MouseLDownFuncOUT(_arg1:Event){ this.gotoAndStop(1); } function MouseLDownFunc(_arg1:Event){ this.gotoAndStop(3); if ((((Object(root).help_mode == 0)) && ((Object(root).dict["help"].currentFrame == 9)))){ Object(root).game_mode = "asobikata_close"; } else { if ((((Object(root).help_mode == 1)) && ((Object(root).dict["help"].currentFrame == 4)))){ Object(root).game_mode = "main_asobikata_close"; } else { if ((((Object(root).help_mode == 4)) && ((Object(root).dict["help"].currentFrame == 9)))){ Object(root).game_mode = "main_asobikata_close"; } else { Object(root).dict["help"].nextFrame(); }; }; }; Object(root).se_click_flg = true; } function frame3(){ this.stop(); } function frame1(){ this.stop(); } public function kill(){ removeEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); removeEventListener(MouseEvent.MOUSE_UP, MouseLDownFuncUP); removeEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); removeEventListener(MouseEvent.MOUSE_OUT, MouseLDownFuncOUT); Object(root).dict["btn_next"] = null; delete Object(root).dict["btn_next"]; this.parent.removeChild(this); } function MouseLDownFuncOVER(_arg1:Event){ this.gotoAndStop(2); } function MouseLDownFuncUP(_arg1:Event){ this.gotoAndStop(1); } function frame2(){ this.stop(); } } }//package
Section 139
//BTN25_BACK (BTN25_BACK) package { import flash.display.*; import flash.events.*; public class BTN25_BACK extends MovieClip { public var hitmc:MovieClip; public function BTN25_BACK(_arg1, _arg2){ addFrameScript(0, frame1, 1, frame2, 2, frame3); this.x = _arg1; this.y = _arg2; this.hitArea = this.hitmc; this.hitArea.visible = false; addEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); addEventListener(MouseEvent.MOUSE_UP, MouseLDownFuncUP); addEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); addEventListener(MouseEvent.MOUSE_OUT, MouseLDownFuncOUT); } function MouseLDownFuncOUT(_arg1:Event){ this.gotoAndStop(1); } function MouseLDownFunc(_arg1:Event){ this.gotoAndStop(3); if (Object(root).dict["help"].currentFrame > 1){ Object(root).dict["help"].prevFrame(); } else { if (Object(root).help_mode == 0){ Object(root).game_mode = "asobikata_close"; } else { Object(root).game_mode = "main_asobikata_close"; }; }; Object(root).se_click_flg = true; } function frame3(){ this.stop(); } function frame1(){ this.stop(); } public function kill(){ removeEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); removeEventListener(MouseEvent.MOUSE_UP, MouseLDownFuncUP); removeEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); removeEventListener(MouseEvent.MOUSE_OUT, MouseLDownFuncOUT); Object(root).dict["btn_back"] = null; delete Object(root).dict["btn_back"]; this.parent.removeChild(this); } function MouseLDownFuncOVER(_arg1:Event){ this.gotoAndStop(2); } function MouseLDownFuncUP(_arg1:Event){ this.gotoAndStop(1); } function frame2(){ this.stop(); } } }//package
Section 140
//BTN26_ENDING (BTN26_ENDING) package { import flash.display.*; import flash.events.*; public class BTN26_ENDING extends MovieClip { public var hitmc:MovieClip; public var start_mode:int;// = 0 public function BTN26_ENDING(_arg1, _arg2){ start_mode = 0; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3); this.x = _arg1; this.y = _arg2; this.hitArea = this.hitmc; this.hitArea.visible = false; addEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); addEventListener(MouseEvent.MOUSE_UP, MouseLDownFuncUP); addEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); addEventListener(MouseEvent.MOUSE_OUT, MouseLDownFuncOUT); } function MouseLDownFuncOUT(_arg1:Event){ this.gotoAndStop(1); } function MouseLDownFunc(_arg1:Event){ this.gotoAndStop(3); Object(root).game_mode = "main_close"; Object(root).game_mode3 = "title_setup"; Object(root).se_click_flg = true; } function frame3(){ this.stop(); } function frame1(){ this.stop(); } public function kill(){ removeEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); removeEventListener(MouseEvent.MOUSE_UP, MouseLDownFuncUP); removeEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); removeEventListener(MouseEvent.MOUSE_OUT, MouseLDownFuncOUT); Object(root).dict["btn_gameover"] = null; delete Object(root).dict["btn_gameover"]; this.parent.removeChild(this); } function MouseLDownFuncOVER(_arg1:Event){ this.gotoAndStop(2); } function MouseLDownFuncUP(_arg1:Event){ this.gotoAndStop(1); } function frame2(){ this.stop(); } } }//package
Section 141
//BTN27_HAYAOKURI (BTN27_HAYAOKURI) package { import flash.display.*; import flash.events.*; public class BTN27_HAYAOKURI extends MovieClip { public var body:MovieClip; public var mark:MovieClip; public function BTN27_HAYAOKURI(_arg1, _arg2){ this.x = _arg1; this.y = _arg2; addEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); addEventListener(MouseEvent.MOUSE_UP, MouseLDownFuncUP); addEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); addEventListener(MouseEvent.MOUSE_OUT, MouseLDownFuncOUT); } function MouseLDownFuncOUT(_arg1:Event){ this.body.gotoAndStop(1); } function MouseLDownFunc(_arg1:Event){ this.body.gotoAndStop(3); if (Object(root).haya_flg){ Object(root).haya_flg = false; stage.frameRate = 30; this.mark.gotoAndStop(1); } else { Object(root).haya_flg = true; stage.frameRate = 1200; this.mark.gotoAndStop(2); }; Object(root).se_click_flg = true; } public function kill(){ removeEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc); removeEventListener(MouseEvent.MOUSE_UP, MouseLDownFuncUP); removeEventListener(MouseEvent.MOUSE_OVER, MouseLDownFuncOVER); removeEventListener(MouseEvent.MOUSE_OUT, MouseLDownFuncOUT); Object(root).dict["btn_speed"] = null; delete Object(root).dict["btn_speed"]; this.parent.removeChild(this); } function MouseLDownFuncOVER(_arg1:Event){ this.body.gotoAndStop(2); } function MouseLDownFuncUP(_arg1:Event){ this.body.gotoAndStop(1); } } }//package
Section 142
//confirm_balloon (confirm_balloon) package { import flash.display.*; public dynamic class confirm_balloon extends MovieClip { } }//package
Section 143
//ending (ending) package { import flash.display.*; public dynamic class ending extends MovieClip { public var flag:MovieClip; public var flag2:MovieClip; public var body:MovieClip; } }//package
Section 144
//ETC01_DMG (ETC01_DMG) package { import flash.display.*; import flash.events.*; public class ETC01_DMG extends MovieClip { private var ys:Number;// = 0 private var id:int;// = 0 private var cnt:int;// = 0 private var xs:Number;// = 0 private var wrk_txt:String;// = "" public var h1:MovieClip; public var h2:MovieClip; public var h3:MovieClip; public function ETC01_DMG(_arg1, _arg2, _arg3, _arg4, _arg5){ id = 0; cnt = 0; wrk_txt = ""; xs = 0; ys = 0; super(); this.id = _arg1; this.x = _arg2; this.y = _arg3; this.xs = (_arg5 * ((_arg4 / 15) + 2)); this.ys = -10; wrk_txt = ("000" + _arg4).slice(-3); this.h1.gotoAndStop((Number(wrk_txt.charAt(0)) + 1)); this.h2.gotoAndStop((Number(wrk_txt.charAt(1)) + 1)); this.h3.gotoAndStop((Number(wrk_txt.charAt(2)) + 1)); if (_arg4 < 100){ this.h1.visible = false; this.x = (this.x - 10); }; if (_arg4 < 10){ this.h2.visible = false; this.x = (this.x - 19.2); }; addEventListener(Event.ENTER_FRAME, onEnterFrame); } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[("ETC" + this.id)] = null; delete Object(root).dict[("ETC" + this.id)]; this.parent.removeChild(this); } public function onEnterFrame(_arg1:Event){ if (((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))){ this.x = (this.x + this.xs); this.y = (this.y + this.ys); this.ys++; this.cnt++; if (this.cnt >= 15){ kill(); return; }; }; } } }//package
Section 145
//ETC02_UNITDOWN (ETC02_UNITDOWN) package { import flash.display.*; import flash.events.*; public class ETC02_UNITDOWN extends MovieClip { public var ys:Number;// = 0 public var id:int;// = 0 public var hou:MovieClip; public var xs:Number;// = 0 public var type:int;// = 0 public var rot:Number;// = 0 public function ETC02_UNITDOWN(_arg1, _arg2, _arg3, _arg4, _arg5){ id = 0; type = 0; rot = 0; xs = 0; ys = 0; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13); this.id = _arg1; this.scaleX = _arg4; this.x = _arg2; this.y = _arg3; this.xs = (-(((Math.random() * 10) + 3)) * this.scaleX); this.ys = -(((Math.random() * 8) + 3)); this.type = _arg5; this.gotoAndStop(this.type); addEventListener(Event.ENTER_FRAME, onEnterFrame); } function frame10(){ this.stop(); } function frame3(){ this.stop(); } function frame6(){ this.stop(); } function frame7(){ this.stop(); } function frame1(){ this.stop(); } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[("ETC" + this.id)] = null; delete Object(root).dict[("ETC" + this.id)]; this.parent.removeChild(this); } function frame12(){ this.stop(); } function frame13(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame8(){ this.stop(); } function frame9(){ this.stop(); } function frame2(){ this.stop(); } function frame11(){ this.stop(); } public function onEnterFrame(_arg1:Event){ if (((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))){ this.x = (this.x + this.xs); this.y = (this.y + this.ys); if (this.type == 13){ this.rotation = (this.rotation - (this.scaleX * 32)); } else { this.rotation = (this.rotation - (this.scaleX * 4)); }; this.ys = (this.ys + 1); this.alpha = (this.alpha - 0.1); if ((((this.y > 1000)) || ((this.alpha <= 0)))){ kill(); return; }; }; } } }//package
Section 146
//ETC03_ALLOW (ETC03_ALLOW) package { import flash.display.*; import flash.events.*; public class ETC03_ALLOW extends MovieClip { private var dmg:int;// = 0 private var ys:Number;// = 0 private var id:int;// = 0 private var SPEED:Number;// = 20 private var xs:Number;// = 0 private var tx:Number;// = 0 private var ty:Number;// = 0 private var tid:int;// = 0 private var t_rot:Number;// = 0 private var wrk_dis:Number;// = 0 public function ETC03_ALLOW(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7){ SPEED = 20; id = 0; dmg = 0; ys = 0; xs = 0; tid = 0; t_rot = 0; tx = 0; ty = 0; wrk_dis = 0; super(); this.id = _arg1; this.tid = _arg2; this.x = _arg3; this.y = _arg4; this.dmg = _arg7; this.tx = _arg5; this.ty = _arg6; this.t_rot = ((Math.atan2((this.ty - this.y), (this.tx - this.x)) * 180) / Math.PI); this.xs = (Math.cos(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.ys = (Math.sin(((this.t_rot * Math.PI) / 180)) * this.SPEED); if (this.xs < 0){ this.scaleX = -1; }; this.cacheAsBitmap = true; addEventListener(Event.ENTER_FRAME, onEnterFrame); } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[("ETC" + this.id)] = null; delete Object(root).dict[("ETC" + this.id)]; this.parent.removeChild(this); } public function onEnterFrame(_arg1:Event){ if (((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))){ this.y = (this.y + this.ys); this.x = (this.x + this.xs); if (Object(root).dict[this.tid].live_flg){ this.tx = Object(root).dict[this.tid].x; if (Object(root).war_Wall_ID == this.tid){ this.ty = this.y; } else { this.ty = Object(root).dict[this.tid].y; }; this.wrk_dis = Math.sqrt((Math.pow((this.tx - this.x), 2) + Math.pow((this.ty - this.y), 2))); if (this.wrk_dis < 20){ Object(root).dict[this.tid].kurai(this.dmg, this.scaleX, this.x, this.y); this.kill(); return; }; }; if ((((this.x <= 0)) || ((this.x >= 640)))){ this.kill(); return; }; }; } } }//package
Section 147
//ETC04_CANNON (ETC04_CANNON) package { import flash.display.*; import flash.events.*; public class ETC04_CANNON extends MovieClip { private var ATK_POWER_MAX:int;// = 40 private var ws:Number;// = 0 private var dmg:int;// = 0 private var ys:Number;// = 0 private var id:int;// = 0 private var ATK_AREA:int;// = 60 private var SPEED:Number;// = 10 public var side:int;// = 0 private var i:int;// = 0 private var xs:Number;// = 0 private var tx:Number;// = 0 private var move_mode:String;// = "" private var ty:Number;// = 0 private var tid:int;// = 0 private var t_rot:Number;// = 0 private var wrk_id:int;// = 0 private var wrk_dis:Number;// = 0 private var ATK_POWER_MIN:int;// = 20 private var wx:Number;// = 0 private var wy:Number;// = 0 public function ETC04_CANNON(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7){ SPEED = 10; ATK_AREA = 60; ATK_POWER_MAX = 40; ATK_POWER_MIN = 20; wrk_id = 0; id = 0; side = 0; i = 0; dmg = 0; ys = 0; xs = 0; tid = 0; t_rot = 0; tx = 0; ty = 0; wx = 0; wy = 0; ws = 0; move_mode = ""; wrk_dis = 0; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6); this.id = _arg1; this.tid = _arg2; this.x = _arg3; this.y = _arg4; this.tx = _arg5; this.ty = _arg6; this.side = _arg7; this.t_rot = ((Math.atan2((this.ty - this.y), (this.tx - this.x)) * 180) / Math.PI); this.xs = (Math.cos(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.ys = (Math.sin(((this.t_rot * Math.PI) / 180)) * this.SPEED); if (this.xs < 0){ this.scaleX = -1; }; this.move_mode = "nomal"; addEventListener(Event.ENTER_FRAME, onEnterFrame); } function frame3(){ this.stop(); } function frame1(){ this.stop(); } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[("ETC" + this.id)] = null; delete Object(root).dict[("ETC" + this.id)]; this.parent.removeChild(this); } function frame6(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame2(){ this.stop(); } public function onEnterFrame(_arg1:Event){ if (((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))){ if (this.move_mode == "nomal"){ this.y = (this.y + this.ys); this.x = (this.x + this.xs); this.rotation++; this.wrk_dis = Math.sqrt((Math.pow((this.tx - this.x), 2) + Math.pow((this.ty - this.y), 2))); if (this.wrk_dis < 20){ Object(root).se_bomb_flg = true; this.move_mode = "bomb"; }; if ((((this.x <= 0)) || ((this.x >= 640)))){ this.kill(); return; }; } else { this.nextFrame(); if (this.currentFrame == 3){ i = 0; while (i < Object(root).war_UnitID[(1 - this.side)].length) { wrk_id = Object(root).war_UnitID[(1 - this.side)][i]; if (Object(root).dict[wrk_id].live_flg){ this.wx = Object(root).dict[wrk_id].x; if (Object(root).war_Wall_ID == wrk_id){ this.wy = this.y; } else { this.wy = Object(root).dict[wrk_id].y; }; this.wrk_dis = Math.sqrt((Math.pow((this.wx - this.x), 2) + Math.pow((this.wy - this.y), 2))); if (this.wrk_dis < this.ATK_AREA){ this.dmg = (Math.floor((Math.random() * (ATK_POWER_MAX - ATK_POWER_MIN))) + ATK_POWER_MIN); if (this.x > Object(root).dict[wrk_id].x){ this.ws = -1; } else { this.ws = 1; }; Object(root).dict[wrk_id].kurai(this.dmg, this.ws, Object(root).dict[wrk_id].x, Object(root).dict[wrk_id].y); }; }; i++; }; } else { if (this.currentFrame == 6){ this.kill(); return; }; }; }; }; } } }//package
Section 148
//ETC05_ASE (ETC05_ASE) package { import flash.display.*; import flash.events.*; public class ETC05_ASE extends MovieClip { private var ys:Number;// = 0 private var id:int;// = 0 private var cnt:int;// = 0 private var xs:Number;// = 0 private var wrk_txt:String;// = "" public function ETC05_ASE(_arg1, _arg2, _arg3){ id = 0; cnt = 0; wrk_txt = ""; xs = 0; ys = 0; super(); this.id = _arg1; this.x = (_arg2 + (Math.floor((Math.random() * 10)) + 3)); this.y = (_arg3 - (Math.floor((Math.random() * 10)) + 5)); this.xs = (Math.floor((Math.random() * 5)) + 1); this.ys = -((Math.floor((Math.random() * 5)) - 1)); addEventListener(Event.ENTER_FRAME, onEnterFrame); } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[("ETC" + this.id)] = null; delete Object(root).dict[("ETC" + this.id)]; this.parent.removeChild(this); } public function onEnterFrame(_arg1:Event){ if (((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))){ this.rotation = ((Math.atan2(((this.y + this.ys) - this.y), ((this.x + this.xs) - this.x)) * 180) / Math.PI); this.x = (this.x + this.xs); this.y = (this.y + this.ys); this.ys = (this.ys + 0.3); this.alpha = (this.alpha - 0.1); if (this.alpha <= 0){ kill(); return; }; }; } } }//package
Section 149
//ETC06_TAC_EFFECT (ETC06_TAC_EFFECT) package { import flash.display.*; import flash.events.*; public class ETC06_TAC_EFFECT extends MovieClip { private var id:int;// = 0 private var cnt:int;// = 0 public function ETC06_TAC_EFFECT(_arg1, _arg2, _arg3, _arg4){ id = 0; cnt = 0; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9); this.id = _arg1; this.x = _arg2; this.y = _arg3; this.gotoAndStop(_arg4); addEventListener(Event.ENTER_FRAME, onEnterFrame); } function frame3(){ this.stop(); } function frame7(){ this.stop(); } function frame1(){ this.stop(); } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[("ETC" + this.id)] = null; delete Object(root).dict[("ETC" + this.id)]; this.parent.removeChild(this); } function frame6(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame9(){ this.stop(); } function frame8(){ this.stop(); } function frame2(){ this.stop(); } public function onEnterFrame(_arg1:Event){ if (((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))){ this.y = (this.y - 2); this.cnt++; if (this.cnt >= 15){ kill(); return; }; }; } } }//package
Section 150
//ETC07_TAC_NAME (ETC07_TAC_NAME) package { import flash.display.*; import flash.events.*; public class ETC07_TAC_NAME extends MovieClip { private var id:int;// = 0 public var disp:MovieClip; private var mode:Number;// = 0 public function ETC07_TAC_NAME(_arg1, _arg2, _arg3, _arg4){ id = 0; mode = 0; super(); this.id = _arg1; this.x = _arg2; this.y = _arg3; this.alpha = 0; this.mode = 0.1; this.disp.gotoAndStop(_arg4); addEventListener(Event.ENTER_FRAME, onEnterFrame); } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[("ETC" + this.id)] = null; delete Object(root).dict[("ETC" + this.id)]; this.parent.removeChild(this); } public function onEnterFrame(_arg1:Event){ if (((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))){ this.scaleX = (this.scaleX + 0.5); this.scaleY = (this.scaleY + 0.5); this.alpha = (this.alpha + this.mode); if (this.alpha >= 1){ this.mode = -0.2; } else { if (this.alpha < 0){ kill(); return; }; }; }; } } }//package
Section 151
//ETC08_HEAL (ETC08_HEAL) package { import flash.display.*; import flash.events.*; public class ETC08_HEAL extends MovieClip { private var id:int;// = 0 private var cnt:int;// = 0 private var wrk_txt:String;// = "" public var h1:MovieClip; public var h2:MovieClip; public var h4:MovieClip; public var h3:MovieClip; public function ETC08_HEAL(_arg1, _arg2, _arg3, _arg4){ id = 0; cnt = 0; wrk_txt = ""; super(); this.id = _arg1; this.x = _arg2; this.y = (_arg3 - ((this.id % 10) * 2)); wrk_txt = ("0000" + _arg4).slice(-4); this.h1.gotoAndStop((Number(wrk_txt.charAt(0)) + 1)); this.h2.gotoAndStop((Number(wrk_txt.charAt(1)) + 1)); this.h3.gotoAndStop((Number(wrk_txt.charAt(2)) + 1)); this.h4.gotoAndStop((Number(wrk_txt.charAt(3)) + 1)); if (_arg4 < 1000){ this.h1.visible = false; this.x = (this.x - 6.7); }; if (_arg4 < 100){ this.h2.visible = false; this.x = (this.x - 13.5); }; if (_arg4 < 10){ this.h3.visible = false; this.x = (this.x - 20); }; addEventListener(Event.ENTER_FRAME, onEnterFrame); } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[("ETC" + this.id)] = null; delete Object(root).dict[("ETC" + this.id)]; this.parent.removeChild(this); } public function onEnterFrame(_arg1:Event){ if (((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))){ this.y = (this.y - 2); this.cnt++; if (this.cnt >= 15){ kill(); return; }; }; } } }//package
Section 152
//ETC09_REPAIR_EFFECT (ETC09_REPAIR_EFFECT) package { import flash.display.*; import flash.events.*; public class ETC09_REPAIR_EFFECT extends MovieClip { private var id:int;// = 0 private var cnt:int;// = 0 public function ETC09_REPAIR_EFFECT(_arg1, _arg2, _arg3){ id = 0; cnt = 0; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6); this.id = _arg1; this.x = _arg2; this.y = _arg3; this.cnt = (Math.floor((Math.random() * 5)) - 4); this.rotation = (Math.random() * 360); addEventListener(Event.ENTER_FRAME, onEnterFrame); } function frame3(){ this.stop(); } function frame1(){ this.stop(); } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[("ETC" + this.id)] = null; delete Object(root).dict[("ETC" + this.id)]; this.parent.removeChild(this); } function frame6(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame2(){ this.stop(); } public function onEnterFrame(_arg1:Event){ if (((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))){ this.cnt++; if (this.cnt > 0){ this.nextFrame(); }; if (this.cnt >= 6){ kill(); return; }; }; } } }//package
Section 153
//ETC10_OMORI (ETC10_OMORI) package { import flash.display.*; import flash.events.*; public class ETC10_OMORI extends MovieClip { private var dmg:int;// = 0 private var ys:Number;// = 0 private var id:int;// = 0 private var se_flg:Boolean;// = false private var tx:Number;// = 0 private var ty:Number;// = 0 private var tid:int;// = 0 private var wrk_dis:Number;// = 0 public function ETC10_OMORI(_arg1, _arg2, _arg3, _arg4, _arg5){ id = 0; dmg = 0; ys = 0; tx = 0; ty = 0; tid = 0; wrk_dis = 0; se_flg = false; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3); this.id = _arg1; this.tid = _arg2; this.x = _arg3; this.y = _arg4; this.ys = 8; this.dmg = (50 * _arg5); this.gotoAndPlay(_arg5); this.cacheAsBitmap = true; addEventListener(Event.ENTER_FRAME, onEnterFrame); } function frame3(){ this.stop(); } function frame1(){ this.stop(); } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[("ETC" + this.id)] = null; delete Object(root).dict[("ETC" + this.id)]; this.parent.removeChild(this); } function frame2(){ this.stop(); } public function onEnterFrame(_arg1:Event){ if (((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))){ if (this.y < -30){ this.y = (this.y + 10); } else { this.y = (this.y + this.ys); this.ys++; }; if (((!(this.se_flg)) && ((this.y > 0)))){ this.se_flg = true; Object(root).se_16t_fall_flg = true; }; if (Object(root).dict[this.tid]){ this.tx = Object(root).dict[this.tid].x; this.ty = Object(root).dict[this.tid].y; this.x = this.tx; this.wrk_dis = Math.sqrt((Math.pow((this.tx - this.x), 2) + Math.pow((this.ty - this.y), 2))); if (this.wrk_dis < 30){ Object(root).se_16t_hit_flg = true; Object(root).dict[this.tid].kurai(this.dmg, -(Object(root).dict[this.tid].scaleX), this.x, this.y); this.kill(); return; }; }; }; } } }//package
Section 154
//ETC11_KEMURI (ETC11_KEMURI) package { import flash.display.*; import flash.events.*; public class ETC11_KEMURI extends MovieClip { private var id:int;// = 0 private var cnt:int;// = 0 public function ETC11_KEMURI(_arg1, _arg2, _arg3){ id = 0; cnt = 0; super(); addFrameScript(0, frame1); this.id = _arg1; this.x = _arg2; this.y = _arg3; addEventListener(Event.ENTER_FRAME, onEnterFrame); } function frame1(){ this.stop(); } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[("ETC" + this.id)] = null; delete Object(root).dict[("ETC" + this.id)]; this.parent.removeChild(this); } public function onEnterFrame(_arg1:Event){ if (((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))){ this.scaleX = (this.scaleX + 1); this.scaleY = (this.scaleY + 1); this.cnt++; if (this.cnt > 3){ kill(); return; }; }; } } }//package
Section 155
//ETC12_KAZE (ETC12_KAZE) package { import flash.display.*; import flash.events.*; public class ETC12_KAZE extends MovieClip { private var id:int;// = 0 private var cnt:int;// = 0 public function ETC12_KAZE(_arg1, _arg2, _arg3){ id = 0; cnt = 0; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4); this.id = _arg1; this.x = _arg2; this.y = _arg3; addEventListener(Event.ENTER_FRAME, onEnterFrame); } function frame3(){ this.stop(); } function frame1(){ this.stop(); } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[("ETC" + this.id)] = null; delete Object(root).dict[("ETC" + this.id)]; this.parent.removeChild(this); } function frame4(){ this.gotoAndPlay(1); } function frame2(){ this.stop(); } public function onEnterFrame(_arg1:Event){ if (((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))){ this.cnt++; this.nextFrame(); if (this.cnt > 6){ kill(); return; }; }; } } }//package
Section 156
//ETC13_FRAME (ETC13_FRAME) package { import flash.display.*; import flash.events.*; public class ETC13_FRAME extends MovieClip { private var id:int;// = 0 private var cnt:int;// = 0 public function ETC13_FRAME(_arg1, _arg2, _arg3){ id = 0; cnt = 0; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5); this.id = _arg1; this.x = _arg2; this.y = _arg3; addEventListener(Event.ENTER_FRAME, onEnterFrame); } function frame3(){ this.stop(); } function frame1(){ this.stop(); } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[("ETC" + this.id)] = null; delete Object(root).dict[("ETC" + this.id)]; this.parent.removeChild(this); } function frame4(){ this.stop(); } function frame5(){ this.gotoAndPlay(1); } function frame2(){ this.stop(); } public function onEnterFrame(_arg1:Event){ if (((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))){ this.cnt++; this.nextFrame(); if (this.cnt > 9){ kill(); return; }; }; } } }//package
Section 157
//ETC14_EARTH (ETC14_EARTH) package { import flash.display.*; import flash.events.*; public class ETC14_EARTH extends MovieClip { private var id:int;// = 0 private var cnt:int;// = 0 public function ETC14_EARTH(_arg1, _arg2, _arg3){ id = 0; cnt = 0; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10); this.id = _arg1; this.x = _arg2; this.y = _arg3; addEventListener(Event.ENTER_FRAME, onEnterFrame); } function frame10(){ this.stop(); } function frame3(){ this.stop(); } function frame7(){ this.stop(); } function frame1(){ this.stop(); } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[("ETC" + this.id)] = null; delete Object(root).dict[("ETC" + this.id)]; this.parent.removeChild(this); } function frame6(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame9(){ this.stop(); } function frame8(){ this.stop(); } function frame2(){ this.stop(); } public function onEnterFrame(_arg1:Event){ if (((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))){ this.cnt++; this.nextFrame(); if (this.cnt > 10){ kill(); return; }; }; } } }//package
Section 158
//ETC15_SIZUKU (ETC15_SIZUKU) package { import flash.display.*; import flash.events.*; public class ETC15_SIZUKU extends MovieClip { private var dmg:int;// = 0 private var ys:Number;// = 0 private var id:int;// = 0 private var se_flg:Boolean;// = false private var i:int;// = 0 private var tx:Number;// = 0 private var ty:Number;// = 0 private var tid:int;// = 0 private var wrk_dis:Number;// = 0 private var wrk_x:Number;// = 0 private var wrk_y:Number;// = 0 public function ETC15_SIZUKU(_arg1, _arg2, _arg3, _arg4, _arg5){ id = 0; dmg = 0; ys = 0; tx = 0; ty = 0; tid = 0; wrk_dis = 0; se_flg = false; i = 0; wrk_x = 0; wrk_y = 0; super(); this.id = _arg1; this.tid = _arg2; this.x = _arg3; this.y = _arg4; this.ys = 0; this.dmg = _arg5; this.cacheAsBitmap = true; addEventListener(Event.ENTER_FRAME, onEnterFrame); } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[("ETC" + this.id)] = null; delete Object(root).dict[("ETC" + this.id)]; this.parent.removeChild(this); } public function onEnterFrame(_arg1:Event){ if (((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))){ if (this.y < -30){ this.y = (this.y + 10); } else { this.y = (this.y + this.ys); this.ys++; }; if (((!(this.se_flg)) && ((this.y > 0)))){ this.se_flg = true; Object(root).se_SIZUKU_fall_flg = true; }; if (Object(root).dict[this.tid]){ this.tx = Object(root).dict[this.tid].x; this.ty = Object(root).dict[this.tid].y; this.x = this.tx; this.wrk_dis = Math.sqrt((Math.pow((this.tx - this.x), 2) + Math.pow((this.ty - this.y), 2))); if (this.wrk_dis < 20){ Object(root).se_SIZUKU_hit_flg = true; i = 0; while (i < 16) { wrk_x = (Math.floor((Math.random() * 60)) - 30); wrk_y = (Math.floor((Math.random() * 60)) - 30); Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC16_HEAL_EFFECT(Object(root).e_id, (this.tx + wrk_x), (this.ty + wrk_y)); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); i++; }; Object(root).dict[this.tid].heal(this.dmg, this.x, this.y); this.kill(); return; }; }; }; } } }//package
Section 159
//ETC16_HEAL_EFFECT (ETC16_HEAL_EFFECT) package { import flash.display.*; import flash.events.*; public class ETC16_HEAL_EFFECT extends MovieClip { public var id:int;// = 0 public var cnt:int;// = 0 public function ETC16_HEAL_EFFECT(_arg1, _arg2, _arg3){ id = 0; cnt = 0; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6); this.id = _arg1; this.x = _arg2; this.y = _arg3; this.cnt = (Math.floor((Math.random() * 5)) - 4); this.rotation = (Math.random() * 360); addEventListener(Event.ENTER_FRAME, onEnterFrame); } function frame3(){ this.stop(); } function frame1(){ this.stop(); } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[("ETC" + this.id)] = null; delete Object(root).dict[("ETC" + this.id)]; this.parent.removeChild(this); } function frame6(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame2(){ this.stop(); } public function onEnterFrame(_arg1:Event){ if (((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))){ this.cnt++; if (this.cnt > 0){ this.nextFrame(); }; if (this.cnt >= 6){ kill(); return; }; }; } } }//package
Section 160
//ETC17_FLASH (ETC17_FLASH) package { import flash.display.*; import flash.events.*; public class ETC17_FLASH extends MovieClip { private var id:int;// = 0 private var cnt:int;// = 0 public function ETC17_FLASH(_arg1, _arg2, _arg3){ id = 0; cnt = 0; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3); this.id = _arg1; this.x = _arg2; this.y = _arg3; addEventListener(Event.ENTER_FRAME, onEnterFrame); } function frame3(){ this.stop(); } function frame1(){ this.stop(); } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[("ETC" + this.id)] = null; delete Object(root).dict[("ETC" + this.id)]; this.parent.removeChild(this); } function frame2(){ this.stop(); } public function onEnterFrame(_arg1:Event){ if (((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))){ this.nextFrame(); this.cnt++; if (this.cnt > 3){ kill(); return; }; }; } } }//package
Section 161
//ETC18_HOLY (ETC18_HOLY) package { import flash.display.*; import flash.events.*; public class ETC18_HOLY extends MovieClip { private var dmg:int;// = 0 private var id:int;// = 0 private var cnt:int;// = 0 private var tid:int;// = 0 public function ETC18_HOLY(_arg1, _arg2, _arg3, _arg4, _arg5){ id = 0; tid = 0; cnt = 0; dmg = 0; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7); this.id = _arg1; this.tid = _arg2; this.dmg = _arg5; this.x = _arg3; this.y = _arg4; addEventListener(Event.ENTER_FRAME, onEnterFrame); } function frame3(){ this.stop(); } function frame7(){ this.gotoAndPlay("wait"); } function frame1(){ this.stop(); } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[("ETC" + this.id)] = null; delete Object(root).dict[("ETC" + this.id)]; this.parent.removeChild(this); } function frame6(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame2(){ this.stop(); } public function onEnterFrame(_arg1:Event){ if (((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))){ this.nextFrame(); this.cnt++; if (this.cnt > 30){ Object(root).dict[this.tid].resurrect(this.dmg); kill(); return; }; }; } } }//package
Section 162
//ETC19_HONE_RISE (ETC19_HONE_RISE) package { import flash.display.*; import flash.events.*; public class ETC19_HONE_RISE extends MovieClip { private var id:int;// = 0 private var side:int;// = 0 private var cnt:int;// = 0 public function ETC19_HONE_RISE(_arg1, _arg2, _arg3, _arg4){ id = 0; side = 0; cnt = 0; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 20, frame21, 21, frame22, 22, frame23, 23, frame24, 24, frame25, 25, frame26, 26, frame27, 27, frame28, 28, frame29, 29, frame30); this.id = _arg1; this.side = _arg2; this.x = _arg3; this.y = _arg4; addEventListener(Event.ENTER_FRAME, onEnterFrame); } function frame10(){ this.stop(); } function frame14(){ this.stop(); } function frame18(){ this.stop(); } function frame12(){ this.stop(); } function frame3(){ this.stop(); } function frame7(){ this.stop(); } function frame1(){ this.stop(); } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[("ETC" + this.id)] = null; delete Object(root).dict[("ETC" + this.id)]; this.parent.removeChild(this); } function frame6(){ this.stop(); } function frame13(){ this.stop(); } function frame17(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame9(){ this.stop(); } function frame22(){ this.stop(); } function frame16(){ this.stop(); } function frame8(){ this.stop(); } function frame21(){ this.stop(); } function frame2(){ this.stop(); } function frame15(){ this.stop(); } function frame23(){ this.stop(); } function frame24(){ this.stop(); } function frame28(){ this.stop(); } function frame20(){ this.stop(); } function frame30(){ this.stop(); } function frame25(){ this.stop(); } function frame27(){ this.stop(); } function frame11(){ this.stop(); } function frame19(){ this.stop(); } function frame29(){ this.stop(); } function frame26(){ this.stop(); } public function onEnterFrame(_arg1:Event){ if (((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))){ this.nextFrame(); this.cnt++; if (this.cnt > 30){ Object(root).se_hone_yarare_flg = true; Object(root).id++; Object(root).dict[Object(root).id] = new UNIT11_HONE(Object(root).id, this.x, this.y, this.side); Object(root).dict["f_unit"].addChild(Object(root).dict[Object(root).id]); Object(root).dict[("SHADOW" + Object(root).id)] = new ETC20_SHADOW(); Object(root).dict["f_shadow"].addChild(Object(root).dict[("SHADOW" + Object(root).id)]); Object(root).dict[("SHADOW" + Object(root).id)].x = this.x; Object(root).dict[("SHADOW" + Object(root).id)].y = (this.y + 17); var _local2 = Object(root).war_UnitCnt[this.side]; var _local3 = 11; var _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = Object(root).war_TotalUnitCnt; _local3 = this.side; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; Object(root).war_UnitID[this.side].push(Object(root).id); Object(root).unit_y_adj(this.side, 11); this.kill(); return; }; }; } } }//package
Section 163
//ETC20_SHADOW (ETC20_SHADOW) package { import flash.display.*; public dynamic class ETC20_SHADOW extends MovieClip { } }//package
Section 164
//ETC21_MES (ETC21_MES) package { import flash.display.*; import flash.events.*; public class ETC21_MES extends MovieClip { private var id:int;// = 0 private var side:int;// = 0 public var move_mode:String;// = "" private var tx:Number;// = 0 private var ty:Number;// = 0 public function ETC21_MES(_arg1, _arg2, _arg3){ id = 0; side = 0; tx = 0; ty = 0; move_mode = ""; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 20, frame21, 21, frame22, 22, frame23); this.id = _arg1; this.side = _arg3; this.gotoAndStop(this.id); if (this.side == 0){ this.x = -100; } else { this.x = 740; }; this.y = ((_arg2 * 25) + 40); this.move_mode = "frame_in"; this.cacheAsBitmap = true; addEventListener(Event.ENTER_FRAME, onEnterFrame); } function frame10(){ this.stop(); } function frame14(){ this.stop(); } function frame18(){ this.stop(); } function frame12(){ this.stop(); } function frame3(){ this.stop(); } function frame7(){ this.stop(); } function frame1(){ this.stop(); } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[(("MES" + this.side) + this.id)] = null; delete Object(root).dict[(("MES" + this.side) + this.id)]; this.parent.removeChild(this); } function frame6(){ this.stop(); } function frame13(){ this.stop(); } function frame17(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame9(){ this.stop(); } function frame22(){ this.stop(); } function frame16(){ this.stop(); } function frame8(){ this.stop(); } function frame2(){ this.stop(); } function frame15(){ this.stop(); } function frame23(){ this.stop(); } function frame20(){ this.stop(); } function frame21(){ this.stop(); } function frame11(){ this.stop(); } public function onEnterFrame(_arg1:Event){ if (((!(Object(root).pause_flg)) && ((((Object(root).game_mode == "battle_main")) || ((Object(root).game_mode == "battle_start")))))){ switch (this.move_mode){ case "frame_in": if (this.side == 0){ this.tx = 90; } else { this.tx = 550; }; break; case "frame_out": if (this.side == 0){ this.tx = -200; } else { this.tx = 840; }; if ((((this.x < -199)) || ((this.x > 839)))){ var _local2 = Object(root).war_Mes_Cnt; var _local3 = this.side; var _local4 = (_local2[_local3] - 1); _local2[_local3] = _local4; kill(); return; }; break; }; this.x = (this.x + ((this.tx - this.x) * 0.15)); }; } function frame19(){ this.stop(); } } }//package
Section 165
//ETC22_BRAIN_WASH (ETC22_BRAIN_WASH) package { import flash.display.*; import flash.events.*; public class ETC22_BRAIN_WASH extends MovieClip { public var ys:Number;// = 0 public var id:int;// = 0 public var xs:Number;// = 0 public var rot:Number;// = 0 public function ETC22_BRAIN_WASH(_arg1, _arg2, _arg3, _arg4, _arg5){ id = 0; rot = 0; xs = 0; ys = 0; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16); this.id = _arg1; this.scaleX = _arg4; this.x = _arg2; this.y = _arg3; this.gotoAndStop(_arg5); addEventListener(Event.ENTER_FRAME, onEnterFrame); } function frame10(){ this.stop(); } function frame14(){ this.stop(); } function frame12(){ this.stop(); } function frame3(){ this.stop(); } function frame6(){ this.stop(); } function frame7(){ this.stop(); } function frame1(){ this.stop(); } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[("ETC" + this.id)] = null; delete Object(root).dict[("ETC" + this.id)]; this.parent.removeChild(this); } function frame13(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame9(){ this.stop(); } function frame8(){ this.stop(); } function frame2(){ this.stop(); } function frame15(){ this.stop(); } function frame16(){ this.stop(); } function frame11(){ this.stop(); } public function onEnterFrame(_arg1:Event){ if (((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))){ this.y = (this.y - 2); this.rotation = (this.rotation + (this.scaleX * 4)); this.alpha = (this.alpha - 0.01); if (this.alpha <= 0){ kill(); return; }; }; } } }//package
Section 166
//ETC23_BOMB_EFFECT (ETC23_BOMB_EFFECT) package { import flash.display.*; import flash.events.*; public class ETC23_BOMB_EFFECT extends MovieClip { public var id:int;// = 0 public var cnt:int;// = 0 public function ETC23_BOMB_EFFECT(_arg1, _arg2, _arg3){ id = 0; cnt = 0; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5); this.id = _arg1; this.x = _arg2; this.y = _arg3; this.cnt = 0; addEventListener(Event.ENTER_FRAME, onEnterFrame); } function frame3(){ this.stop(); } function frame1(){ this.stop(); } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[("ETC" + this.id)] = null; delete Object(root).dict[("ETC" + this.id)]; this.parent.removeChild(this); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame2(){ this.stop(); } public function onEnterFrame(_arg1:Event){ if (((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))){ this.cnt++; if (this.cnt > 0){ this.nextFrame(); }; if (this.cnt >= 5){ kill(); return; }; }; } } }//package
Section 167
//ETC24_FIRE_BALL (ETC24_FIRE_BALL) package { import flash.display.*; import flash.events.*; public class ETC24_FIRE_BALL extends MovieClip { private var ATK_POWER_MAX:int;// = 30 private var ws:Number;// = 0 private var dmg:int;// = 0 private var ys:Number;// = 0 private var id:int;// = 0 private var ATK_AREA:int;// = 45 private var SPEED:Number;// = 12 public var side:int;// = 0 private var i:int;// = 0 private var xs:Number;// = 0 private var tx:Number;// = 0 private var move_mode:String;// = "" private var ty:Number;// = 0 private var tid:int;// = 0 private var t_rot:Number;// = 0 private var wrk_id:int;// = 0 private var wrk_dis:Number;// = 0 private var ATK_POWER_MIN:int;// = 20 private var wx:Number;// = 0 private var wy:Number;// = 0 public function ETC24_FIRE_BALL(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7){ SPEED = 12; ATK_AREA = 45; ATK_POWER_MAX = 30; ATK_POWER_MIN = 20; wrk_id = 0; id = 0; side = 0; i = 0; dmg = 0; ys = 0; xs = 0; tid = 0; t_rot = 0; tx = 0; ty = 0; wx = 0; wy = 0; ws = 0; move_mode = ""; wrk_dis = 0; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6); this.id = _arg1; this.tid = _arg2; this.x = _arg3; this.y = _arg4; this.tx = _arg5; this.ty = _arg6; this.side = _arg7; this.t_rot = ((Math.atan2((this.ty - this.y), (this.tx - this.x)) * 180) / Math.PI); this.xs = (Math.cos(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.ys = (Math.sin(((this.t_rot * Math.PI) / 180)) * this.SPEED); if (this.xs < 0){ this.scaleX = -1; }; this.move_mode = "nomal"; addEventListener(Event.ENTER_FRAME, onEnterFrame); } function frame3(){ this.stop(); } function frame1(){ this.stop(); } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[("ETC" + this.id)] = null; delete Object(root).dict[("ETC" + this.id)]; this.parent.removeChild(this); } function frame6(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame2(){ this.stop(); } public function onEnterFrame(_arg1:Event){ if (((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))){ if (this.move_mode == "nomal"){ this.y = (this.y + this.ys); this.x = (this.x + this.xs); this.rotation = (this.rotation - (40 + (80 * this.scaleX))); Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC26_FIRE_EFFECT(Object(root).e_id, ((this.x + Math.floor((Math.random() * 7))) - 3), ((this.y + Math.floor((Math.random() * 7))) - 3)); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); if (Object(root).dict[this.tid].live_flg){ this.wrk_dis = Math.sqrt((Math.pow((this.tx - this.x), 2) + Math.pow((this.ty - this.y), 2))); if (this.wrk_dis < 20){ Object(root).se_fire_bomb_flg = true; this.move_mode = "bomb"; }; }; if ((((this.x <= 0)) || ((this.x >= 640)))){ this.kill(); return; }; } else { this.nextFrame(); if (this.currentFrame == 3){ i = 0; while (i < Object(root).war_UnitID[(1 - this.side)].length) { wrk_id = Object(root).war_UnitID[(1 - this.side)][i]; if (Object(root).dict[wrk_id].live_flg){ this.wx = Object(root).dict[wrk_id].x; if (Object(root).war_Wall_ID == wrk_id){ this.wy = this.y; } else { this.wy = Object(root).dict[wrk_id].y; }; this.wrk_dis = Math.sqrt((Math.pow((this.wx - this.x), 2) + Math.pow((this.wy - this.y), 2))); if (this.wrk_dis < this.ATK_AREA){ this.dmg = ((Math.floor((Math.random() * ((ATK_POWER_MAX - ATK_POWER_MIN) + Object(root).war_Adj_ATK[this.side]))) + ATK_POWER_MIN) + Object(root).war_Adj_ATK[this.side]); this.dmg = Math.floor(((this.dmg * (100 - Object(root).war_Adj_DEF_L[this.side])) / 100)); if (this.x > Object(root).dict[wrk_id].x){ this.ws = -1; } else { this.ws = 1; }; Object(root).dict[wrk_id].kurai(this.dmg, this.ws, Object(root).dict[wrk_id].x, Object(root).dict[wrk_id].y); }; }; i++; }; } else { if (this.currentFrame == 6){ this.kill(); return; }; }; }; }; } } }//package
Section 168
//ETC25_SHURIKEN (ETC25_SHURIKEN) package { import flash.display.*; import flash.events.*; public class ETC25_SHURIKEN extends MovieClip { private var dmg:int;// = 0 private var ys:Number;// = 0 private var id:int;// = 0 private var SPEED:Number;// = 10 private var xs:Number;// = 0 private var tx:Number;// = 0 private var ty:Number;// = 0 private var tid:int;// = 0 private var t_rot:Number;// = 0 private var wrk_dis:Number;// = 0 public function ETC25_SHURIKEN(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7){ SPEED = 10; id = 0; dmg = 0; ys = 0; xs = 0; tid = 0; t_rot = 0; tx = 0; ty = 0; wrk_dis = 0; super(); this.id = _arg1; this.tid = _arg2; this.x = _arg3; this.y = _arg4; this.dmg = _arg7; this.tx = _arg5; this.ty = _arg6; this.t_rot = ((Math.atan2((this.ty - this.y), (this.tx - this.x)) * 180) / Math.PI); this.xs = (Math.cos(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.ys = (Math.sin(((this.t_rot * Math.PI) / 180)) * this.SPEED); if (this.xs < 0){ this.scaleX = -1; }; this.cacheAsBitmap = true; addEventListener(Event.ENTER_FRAME, onEnterFrame); } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[("ETC" + this.id)] = null; delete Object(root).dict[("ETC" + this.id)]; this.parent.removeChild(this); } public function onEnterFrame(_arg1:Event){ if (((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))){ this.y = (this.y + this.ys); this.x = (this.x + this.xs); this.rotation = (this.rotation - (20 + (40 * this.scaleX))); if (Object(root).dict[this.tid].live_flg){ this.tx = Object(root).dict[this.tid].x; if (Object(root).war_Wall_ID == this.tid){ this.ty = this.y; } else { this.ty = Object(root).dict[this.tid].y; }; this.wrk_dis = Math.sqrt((Math.pow((this.tx - this.x), 2) + Math.pow((this.ty - this.y), 2))); if (this.wrk_dis < 20){ Object(root).dict[this.tid].kurai(this.dmg, this.scaleX, this.x, this.y); this.kill(); return; }; }; if ((((this.x <= 0)) || ((this.x >= 640)))){ this.kill(); return; }; }; } } }//package
Section 169
//ETC26_FIRE_EFFECT (ETC26_FIRE_EFFECT) package { import flash.display.*; import flash.events.*; public class ETC26_FIRE_EFFECT extends MovieClip { public var id:int;// = 0 public function ETC26_FIRE_EFFECT(_arg1, _arg2, _arg3){ id = 0; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7); this.id = _arg1; this.x = _arg2; this.y = _arg3; this.scaleX = 3; this.scaleY = 3; addEventListener(Event.ENTER_FRAME, onEnterFrame); } function frame3(){ this.stop(); } function frame6(){ this.stop(); } function frame7(){ this.stop(); } function frame1(){ this.stop(); } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[("ETC" + this.id)] = null; delete Object(root).dict[("ETC" + this.id)]; this.parent.removeChild(this); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame2(){ this.stop(); } public function onEnterFrame(_arg1:Event){ if (((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))){ this.nextFrame(); if (this.currentFrame >= 7){ kill(); return; }; }; } } }//package
Section 170
//ETC27_SNIPE (ETC27_SNIPE) package { import flash.display.*; import flash.events.*; public class ETC27_SNIPE extends MovieClip { private var dmg:int;// = 0 private var ys:Number;// = 0 private var id:int;// = 0 private var SPEED:Number;// = 20 private var i:int;// = 0 private var xs:Number;// = 0 private var tx:Number;// = 0 private var ty:Number;// = 0 private var tid:int;// = 0 private var hit_flg:Boolean;// = false private var t_rot:Number;// = 0 private var wrk_dis:Number;// = 0 public function ETC27_SNIPE(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7){ SPEED = 20; id = 0; dmg = 0; ys = 0; xs = 0; tid = 0; t_rot = 0; tx = 0; ty = 0; wrk_dis = 0; i = 0; hit_flg = false; super(); this.id = _arg1; this.tid = _arg2; this.x = _arg3; this.y = _arg4; this.dmg = _arg7; this.tx = _arg5; this.ty = _arg6; this.t_rot = ((Math.atan2((this.ty - this.y), (this.tx - this.x)) * 180) / Math.PI); this.xs = (Math.cos(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.ys = (Math.sin(((this.t_rot * Math.PI) / 180)) * this.SPEED); if (this.xs < 0){ this.scaleX = -1; }; this.visible = false; addEventListener(Event.ENTER_FRAME, onEnterFrame); } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[("ETC" + this.id)] = null; delete Object(root).dict[("ETC" + this.id)]; this.parent.removeChild(this); } public function onEnterFrame(_arg1:Event){ if (((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))){ i = 0; while (i < 1000) { this.y = (this.y + this.ys); this.x = (this.x + this.xs); if (Object(root).dict[this.tid].live_flg){ this.tx = Object(root).dict[this.tid].x; if (Object(root).war_Wall_ID == this.tid){ this.ty = this.y; } else { this.ty = Object(root).dict[this.tid].y; }; this.wrk_dis = Math.sqrt((Math.pow((this.tx - this.x), 2) + Math.pow((this.ty - this.y), 2))); if (this.wrk_dis < 20){ this.hit_flg = true; break; }; }; if ((((this.x <= 0)) || ((this.x >= 640)))){ this.hit_flg = false; break; }; i++; }; if (this.hit_flg){ Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC26_FIRE_EFFECT(Object(root).e_id, this.x, this.y); Object(root).dict[("ETC" + Object(root).e_id)].scaleX = 6; Object(root).dict[("ETC" + Object(root).e_id)].scaleY = 6; Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); Object(root).dict[this.tid].kurai(this.dmg, this.scaleX, this.x, this.y); }; this.kill(); return; }; } } }//package
Section 171
//ETC28_MAP_WAR (ETC28_MAP_WAR) package { import flash.display.*; import flash.events.*; public class ETC28_MAP_WAR extends MovieClip { private var ys:Number;// = 0 private var id:int;// = 0 private var SPEED:Number;// = 3 private var xs:Number;// = 0 public var unit_disp:map_unit; private var ty:Number;// = 0 private var tx:Number;// = 0 private var t_rot:Number;// = 0 private var wrk_dis:Number;// = 0 public function ETC28_MAP_WAR(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6){ SPEED = 3; id = 0; ys = 0; xs = 0; t_rot = 0; tx = 0; ty = 0; wrk_dis = 0; super(); this.id = _arg1; this.x = _arg3; this.y = _arg4; this.tx = _arg5; this.ty = _arg6; this.SPEED = ((Math.random() * 1) + 10); this.t_rot = ((Math.atan2((this.ty - this.y), (this.tx - this.x)) * 180) / Math.PI); this.xs = (Math.cos(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.ys = (Math.sin(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.unit_disp.gotoAndStop(_arg2); this.unit_disp.scaleX = 0.6; this.unit_disp.scaleY = 0.6; this.cacheAsBitmap = true; addEventListener(Event.ENTER_FRAME, onEnterFrame); } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[("ETC" + this.id)] = null; delete Object(root).dict[("ETC" + this.id)]; this.parent.removeChild(this); } public function onEnterFrame(_arg1:Event){ if (((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_effect")))){ this.y = (this.y + this.ys); this.x = (this.x + this.xs); if (this.xs < 0){ this.scaleX = -1; } else { this.scaleX = 1; }; this.wrk_dis = Math.sqrt((Math.pow((this.tx - this.x), 2) + Math.pow((this.ty - this.y), 2))); if (this.wrk_dis < 20){ if (!Object(root).wrk_flg){ Object(root).wrk_flg = true; Object(root).dict["MAP_WAR_NOW"] = new ETC29_MAP_WAR_NOW(this.tx, this.ty); Object(root).dict["f_main"].addChild(Object(root).dict["MAP_WAR_NOW"]); }; Object(root).wrk_cnt--; this.kill(); return; }; }; } } }//package
Section 172
//ETC29_MAP_WAR_NOW (ETC29_MAP_WAR_NOW) package { import flash.display.*; import flash.events.*; public class ETC29_MAP_WAR_NOW extends MovieClip { public function ETC29_MAP_WAR_NOW(_arg1, _arg2){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7); this.x = _arg1; this.y = _arg2; this.scaleX = 2; this.scaleY = 2; this.gotoAndStop(4); addEventListener(Event.ENTER_FRAME, onEnterFrame); } function frame3(){ this.stop(); } function frame6(){ this.stop(); } function frame7(){ this.gotoAndPlay(1); } function frame1(){ this.stop(); } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict["MAP_WAR_NOW"] = null; delete Object(root).dict["MAP_WAR_NOW"]; this.parent.removeChild(this); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame2(){ this.stop(); } public function onEnterFrame(_arg1:Event){ if (!Object(root).pause_flg){ if (Object(root).game_mode == "battle_effect"){ this.nextFrame(); if (Object(root).wrk_cnt <= 0){ this.kill(); return; }; } else { this.kill(); return; }; }; } } }//package
Section 173
//ETC30_MAP_INFO (ETC30_MAP_INFO) package { import flash.display.*; import flash.events.*; public class ETC30_MAP_INFO extends MovieClip { private var id:int;// = 0 public function ETC30_MAP_INFO(_arg1, _arg2, _arg3, _arg4){ id = 0; super(); addFrameScript(0, frame1, 1, frame2); this.id = _arg1; this.x = _arg3; this.y = _arg4; this.gotoAndStop(_arg2); addEventListener(Event.ENTER_FRAME, onEnterFrame); } function frame1(){ this.stop(); } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[("ETC" + this.id)] = null; delete Object(root).dict[("ETC" + this.id)]; this.parent.removeChild(this); } function frame2(){ this.stop(); } public function onEnterFrame(_arg1:Event){ if (!Object(root).pause_flg){ this.alpha = (this.alpha - 0.01); if (this.alpha <= 0){ this.kill(); return; }; }; } } }//package
Section 174
//ETC31_SIEN (ETC31_SIEN) package { import flash.display.*; import flash.events.*; public class ETC31_SIEN extends MovieClip { private var ATK_POWER_MAX:int;// = 30 private var ws:Number;// = 0 private var dmg:int;// = 0 private var ys:Number;// = 0 private var id:int;// = 0 private var ATK_AREA:int;// = 45 private var SPEED:Number;// = 30 public var side:int;// = 0 private var i:int;// = 0 private var xs:Number;// = 0 private var tx:Number;// = 0 private var move_mode:String;// = "" private var ty:Number;// = 0 private var t_rot:Number;// = 0 private var wrk_id:int;// = 0 private var wrk_dis:Number;// = 0 private var ATK_POWER_MIN:int;// = 20 private var wx:Number;// = 0 private var wy:Number;// = 0 public function ETC31_SIEN(_arg1, _arg2, _arg3, _arg4){ SPEED = 30; ATK_AREA = 45; ATK_POWER_MAX = 30; ATK_POWER_MIN = 20; wrk_id = 0; id = 0; side = 0; i = 0; dmg = 0; ys = 0; xs = 0; t_rot = 0; tx = 0; ty = 0; wx = 0; wy = 0; ws = 0; move_mode = ""; wrk_dis = 0; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6); this.id = _arg1; this.x = (_arg2 - 300); this.y = (_arg3 - 300); this.tx = _arg2; this.ty = _arg3; this.side = _arg4; this.t_rot = ((Math.atan2((this.ty - this.y), (this.tx - this.x)) * 180) / Math.PI); this.xs = (Math.cos(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.ys = (Math.sin(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.rotation = this.t_rot; if (this.xs < 0){ this.scaleX = -1; }; this.move_mode = "nomal"; addEventListener(Event.ENTER_FRAME, onEnterFrame); } function frame3(){ this.stop(); } function frame1(){ this.stop(); } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[("ETC" + this.id)] = null; delete Object(root).dict[("ETC" + this.id)]; this.parent.removeChild(this); } function frame6(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame2(){ this.stop(); } public function onEnterFrame(_arg1:Event){ if (((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))){ if (this.move_mode == "nomal"){ this.y = (this.y + this.ys); this.x = (this.x + this.xs); this.wrk_dis = Math.sqrt((Math.pow((this.tx - this.x), 2) + Math.pow((this.ty - this.y), 2))); if (this.wrk_dis <= this.SPEED){ Object(root).se_bomb_flg = true; this.move_mode = "bomb"; }; } else { this.nextFrame(); if (this.currentFrame == 3){ i = 0; while (i < Object(root).war_UnitID[(1 - this.side)].length) { wrk_id = Object(root).war_UnitID[(1 - this.side)][i]; if (Object(root).dict[wrk_id].live_flg){ this.wx = Object(root).dict[wrk_id].x; if (Object(root).war_Wall_ID == wrk_id){ this.wy = this.y; } else { this.wy = Object(root).dict[wrk_id].y; }; this.wrk_dis = Math.sqrt((Math.pow((this.wx - this.x), 2) + Math.pow((this.wy - this.y), 2))); if (this.wrk_dis < this.ATK_AREA){ this.dmg = ((Math.floor((Math.random() * ((ATK_POWER_MAX - ATK_POWER_MIN) + Object(root).war_Adj_ATK[this.side]))) + ATK_POWER_MIN) + Object(root).war_Adj_ATK[this.side]); this.dmg = Math.floor(((this.dmg * (100 - Object(root).war_Adj_DEF_L[this.side])) / 100)); if (this.x > Object(root).dict[wrk_id].x){ this.ws = -1; } else { this.ws = 1; }; Object(root).dict[wrk_id].kurai(this.dmg, this.ws, Object(root).dict[wrk_id].x, Object(root).dict[wrk_id].y); }; }; i++; }; } else { if (this.currentFrame == 6){ this.kill(); return; }; }; }; }; } } }//package
Section 175
//ETC32_KEN_DEAD (ETC32_KEN_DEAD) package { import flash.display.*; import flash.events.*; public class ETC32_KEN_DEAD extends MovieClip { private var id:int;// = 0 public var ken_idx:MovieClip; public function ETC32_KEN_DEAD(_arg1, _arg2, _arg3, _arg4){ id = 0; super(); this.id = _arg1; this.x = _arg3; this.y = _arg4; this.ken_idx.gotoAndStop(_arg2); addEventListener(Event.ENTER_FRAME, onEnterFrame); } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[("ETC" + this.id)] = null; delete Object(root).dict[("ETC" + this.id)]; this.parent.removeChild(this); } public function onEnterFrame(_arg1:Event){ if (!Object(root).pause_flg){ this.alpha = (this.alpha - 0.01); this.y--; if (this.alpha <= 0){ this.kill(); return; }; }; } } }//package
Section 176
//ETC33_TURN_START (ETC33_TURN_START) package { import flash.display.*; import flash.events.*; public class ETC33_TURN_START extends MovieClip { private var id:int;// = 0 public var d2:MovieClip; public var d3:MovieClip; public var d1:MovieClip; private var wrk_txt:String;// = "" public function ETC33_TURN_START(_arg1, _arg2, _arg3, _arg4){ id = 0; wrk_txt = ""; super(); this.id = _arg1; this.x = _arg3; this.y = _arg4; if (_arg2 >= 100){ this.d1.visible = true; this.d2.visible = true; this.d3.visible = true; this.d1.x = 110.3; this.d2.x = 142.3; this.d3.x = 174.3; wrk_txt = ("000" + _arg2).slice(-3); this.d1.gotoAndStop((Number(wrk_txt.charAt(0)) + 1)); this.d2.gotoAndStop((Number(wrk_txt.charAt(1)) + 1)); this.d3.gotoAndStop((Number(wrk_txt.charAt(2)) + 1)); } else { if (_arg2 >= 10){ this.d1.visible = false; this.d2.visible = true; this.d3.visible = true; this.d2.x = 110.3; this.d3.x = 142.3; wrk_txt = ("00" + _arg2).slice(-2); this.d2.gotoAndStop((Number(wrk_txt.charAt(0)) + 1)); this.d3.gotoAndStop((Number(wrk_txt.charAt(1)) + 1)); } else { this.d1.visible = false; this.d2.visible = false; this.d3.visible = true; this.d3.x = 110.3; wrk_txt = ("0" + _arg2).slice(-1); this.d3.gotoAndStop((Number(wrk_txt.charAt(0)) + 1)); }; }; addEventListener(Event.ENTER_FRAME, onEnterFrame); } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[("ETC" + this.id)] = null; delete Object(root).dict[("ETC" + this.id)]; this.parent.removeChild(this); } public function onEnterFrame(_arg1:Event){ if (!Object(root).pause_flg){ this.alpha = (this.alpha - 0.01); this.y--; if (this.alpha <= 0){ this.kill(); return; }; }; } } }//package
Section 177
//ETC34_PLAYER_START (ETC34_PLAYER_START) package { import flash.display.*; import flash.events.*; public class ETC34_PLAYER_START extends MovieClip { private var id:int;// = 0 public function ETC34_PLAYER_START(_arg1, _arg2, _arg3){ id = 0; super(); this.id = _arg1; this.x = _arg2; this.y = _arg3; addEventListener(Event.ENTER_FRAME, onEnterFrame); } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[("ETC" + this.id)] = null; delete Object(root).dict[("ETC" + this.id)]; this.parent.removeChild(this); } public function onEnterFrame(_arg1:Event){ if (!Object(root).pause_flg){ this.alpha = (this.alpha - 0.01); this.y--; if (this.alpha <= 0){ this.kill(); return; }; }; } } }//package
Section 178
//ETC35_WAR_START (ETC35_WAR_START) package { import flash.display.*; import flash.events.*; public class ETC35_WAR_START extends MovieClip { private var id:int;// = 0 private var mode:Number;// = 0 public function ETC35_WAR_START(_arg1, _arg2, _arg3){ id = 0; mode = 0; super(); this.id = _arg1; this.x = _arg2; this.y = _arg3; this.alpha = 0; this.mode = 0.1; addEventListener(Event.ENTER_FRAME, onEnterFrame); } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[("ETC" + this.id)] = null; delete Object(root).dict[("ETC" + this.id)]; this.parent.removeChild(this); } public function onEnterFrame(_arg1:Event){ if (!Object(root).pause_flg){ this.scaleX = (this.scaleX + 0.2); this.scaleY = (this.scaleY + 0.2); this.alpha = (this.alpha + this.mode); if (this.alpha >= 1){ this.mode = -0.1; } else { if (this.alpha < 0){ kill(); return; }; }; }; } } }//package
Section 179
//ETC36_YOWAI_YARARE (ETC36_YOWAI_YARARE) package { import flash.display.*; import flash.events.*; public class ETC36_YOWAI_YARARE extends MovieClip { public var id:int;// = 0 public function ETC36_YOWAI_YARARE(_arg1, _arg2, _arg3, _arg4, _arg5){ id = 0; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6); this.id = _arg1; this.x = _arg2; this.y = _arg3; this.scaleX = _arg4; this.rotation = _arg5; addEventListener(Event.ENTER_FRAME, onEnterFrame); } function frame3(){ this.stop(); } function frame6(){ this.stop(); } function frame1(){ this.stop(); } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[("ETC" + this.id)] = null; delete Object(root).dict[("ETC" + this.id)]; this.parent.removeChild(this); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame2(){ this.stop(); } public function onEnterFrame(_arg1:Event){ if (((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))){ this.nextFrame(); if (this.currentFrame >= 6){ kill(); return; }; }; } } }//package
Section 180
//ETC37_BIRIBIRI_YARARE (ETC37_BIRIBIRI_YARARE) package { import flash.display.*; import flash.events.*; public class ETC37_BIRIBIRI_YARARE extends MovieClip { public var id:int;// = 0 public function ETC37_BIRIBIRI_YARARE(_arg1, _arg2, _arg3, _arg4, _arg5){ id = 0; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6); this.id = _arg1; this.x = _arg2; this.y = _arg3; this.scaleX = _arg4; this.rotation = _arg5; addEventListener(Event.ENTER_FRAME, onEnterFrame); } function frame3(){ this.stop(); } function frame6(){ this.stop(); } function frame1(){ this.stop(); } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[("ETC" + this.id)] = null; delete Object(root).dict[("ETC" + this.id)]; this.parent.removeChild(this); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame2(){ this.stop(); } public function onEnterFrame(_arg1:Event){ if (((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))){ this.nextFrame(); if (this.currentFrame >= 6){ kill(); return; }; }; } } }//package
Section 181
//ETC38_KATAI_YARARE (ETC38_KATAI_YARARE) package { import flash.display.*; import flash.events.*; public class ETC38_KATAI_YARARE extends MovieClip { public var id:int;// = 0 public function ETC38_KATAI_YARARE(_arg1, _arg2, _arg3, _arg4, _arg5){ id = 0; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6); this.id = _arg1; this.x = _arg2; this.y = _arg3; this.scaleX = _arg4; this.rotation = _arg5; addEventListener(Event.ENTER_FRAME, onEnterFrame); } function frame3(){ this.stop(); } function frame6(){ this.stop(); } function frame1(){ this.stop(); } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[("ETC" + this.id)] = null; delete Object(root).dict[("ETC" + this.id)]; this.parent.removeChild(this); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame2(){ this.stop(); } public function onEnterFrame(_arg1:Event){ if (((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))){ this.nextFrame(); if (this.currentFrame >= 6){ kill(); return; }; }; } } }//package
Section 182
//ETC39_KAMINARI (ETC39_KAMINARI) package { import flash.display.*; import flash.events.*; public class ETC39_KAMINARI extends MovieClip { private var dmg:int;// = 0 private var ys:Number;// = 0 private var id:int;// = 0 private var SPEED:Number;// = 10 private var xs:Number;// = 0 private var tx:Number;// = 0 private var ty:Number;// = 0 private var tid:int;// = 0 private var t_rot:Number;// = 0 private var wrk_dis:Number;// = 0 public function ETC39_KAMINARI(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7){ SPEED = 10; id = 0; dmg = 0; ys = 0; xs = 0; tid = 0; t_rot = 0; tx = 0; ty = 0; wrk_dis = 0; super(); this.id = _arg1; this.tid = _arg2; this.x = _arg3; this.y = _arg4; this.dmg = _arg7; this.tx = _arg5; this.ty = _arg6; this.t_rot = ((Math.atan2((this.ty - this.y), (this.tx - this.x)) * 180) / Math.PI); this.xs = (Math.cos(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.ys = (Math.sin(((this.t_rot * Math.PI) / 180)) * this.SPEED); if (this.xs < 0){ this.scaleX = -1; }; this.cacheAsBitmap = true; addEventListener(Event.ENTER_FRAME, onEnterFrame); } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[("ETC" + this.id)] = null; delete Object(root).dict[("ETC" + this.id)]; this.parent.removeChild(this); } public function onEnterFrame(_arg1:Event){ if (((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))){ this.y = (this.y + this.ys); this.x = (this.x + this.xs); if (Object(root).dict[this.tid].live_flg){ this.tx = Object(root).dict[this.tid].x; if (Object(root).war_Wall_ID == this.tid){ this.ty = this.y; } else { this.ty = Object(root).dict[this.tid].y; }; this.wrk_dis = Math.sqrt((Math.pow((this.tx - this.x), 2) + Math.pow((this.ty - this.y), 2))); if (this.wrk_dis < 20){ Object(root).dict[this.tid].kurai(this.dmg, this.scaleX, this.x, this.y); this.kill(); return; }; }; if ((((this.x <= 0)) || ((this.x >= 640)))){ this.kill(); return; }; }; } } }//package
Section 183
//ETC40_BOSS_YARARE (ETC40_BOSS_YARARE) package { import flash.display.*; import flash.events.*; public class ETC40_BOSS_YARARE extends MovieClip { public var id:int;// = 0 public function ETC40_BOSS_YARARE(_arg1, _arg2, _arg3, _arg4, _arg5){ id = 0; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7); this.id = _arg1; this.x = _arg2; this.y = _arg3; this.scaleX = _arg4; this.rotation = _arg5; addEventListener(Event.ENTER_FRAME, onEnterFrame); } function frame3(){ this.stop(); } function frame6(){ this.stop(); } function frame7(){ this.stop(); } function frame1(){ this.stop(); } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[("ETC" + this.id)] = null; delete Object(root).dict[("ETC" + this.id)]; this.parent.removeChild(this); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame2(){ this.stop(); } public function onEnterFrame(_arg1:Event){ if (((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))){ this.nextFrame(); if (this.currentFrame >= 7){ kill(); return; }; }; } } }//package
Section 184
//ETC41_SIPPAI (ETC41_SIPPAI) package { import flash.display.*; import flash.events.*; public class ETC41_SIPPAI extends MovieClip { private var ws:Number;// = 0 private var ys:Number;// = 0 private var id:int;// = 0 private var SPEED:Number;// = 5 public var side:int;// = 0 private var i:int;// = 0 private var xs:Number;// = 0 private var tx:Number;// = 0 private var move_mode:String;// = "" private var ty:Number;// = 0 private var t_rot:Number;// = 0 private var wrk_id:int;// = 0 private var wrk_dis:Number;// = 0 private var wx:Number;// = 0 private var wy:Number;// = 0 public function ETC41_SIPPAI(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6){ SPEED = 5; wrk_id = 0; id = 0; side = 0; i = 0; ys = 0; xs = 0; t_rot = 0; tx = 0; ty = 0; wx = 0; wy = 0; ws = 0; move_mode = ""; wrk_dis = 0; super(); addFrameScript(0, frame1); this.id = _arg1; this.x = _arg2; this.y = _arg3; this.tx = _arg4; this.ty = _arg5; this.side = _arg6; this.t_rot = ((Math.atan2((this.ty - this.y), (this.tx - this.x)) * 180) / Math.PI); this.xs = (Math.cos(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.ys = (Math.sin(((this.t_rot * Math.PI) / 180)) * this.SPEED); addEventListener(Event.ENTER_FRAME, onEnterFrame); } function frame1(){ this.stop(); } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[("ETC" + this.id)] = null; delete Object(root).dict[("ETC" + this.id)]; this.parent.removeChild(this); } public function onEnterFrame(_arg1:Event){ if (((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))){ this.y = (this.y + this.ys); this.x = (this.x + this.xs); this.rotation = (this.rotation + xs); if (Object(root).war_end_cnt > 0){ Object(root).se_ikimono_flg = true; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC36_YOWAI_YARARE(Object(root).e_id, this.x, this.y, 1, this.rotation); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); this.kill(); }; this.wrk_dis = Math.sqrt((Math.pow((this.tx - this.x), 2) + Math.pow((this.ty - this.y), 2))); if (this.wrk_dis < 5){ Object(root).id++; Object(root).dict[Object(root).id] = new UNIT13_YOWAI(Object(root).id, this.x, this.y, this.side); Object(root).dict[Object(root).id].body.rotation = this.rotation; Object(root).dict["f_unit"].addChild(Object(root).dict[Object(root).id]); Object(root).dict[("SHADOW" + Object(root).id)] = new ETC20_SHADOW(); Object(root).dict["f_shadow"].addChild(Object(root).dict[("SHADOW" + Object(root).id)]); Object(root).dict[("SHADOW" + Object(root).id)].x = this.x; Object(root).dict[("SHADOW" + Object(root).id)].y = (this.y + 17); var _local2 = Object(root).war_UnitCnt[this.side]; var _local3 = 13; var _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = Object(root).war_TotalUnitCnt; _local3 = this.side; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; Object(root).war_UnitID[this.side].push(Object(root).id); Object(root).unit_y_adj(this.side, 13); this.kill(); return; }; }; } } }//package
Section 185
//ETC42_BOSS_RISE (ETC42_BOSS_RISE) package { import flash.display.*; import flash.events.*; public class ETC42_BOSS_RISE extends MovieClip { private var id:int;// = 0 public function ETC42_BOSS_RISE(_arg1, _arg2, _arg3){ id = 0; super(); this.id = _arg1; this.x = _arg2; this.y = _arg3; addEventListener(Event.ENTER_FRAME, onEnterFrame); } public function kill(){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[("ETC" + this.id)] = null; delete Object(root).dict[("ETC" + this.id)]; this.parent.removeChild(this); } public function onEnterFrame(_arg1:Event){ if (!Object(root).pause_flg){ this.alpha = (this.alpha - 0.01); this.y--; if (this.alpha <= 0){ this.kill(); return; }; }; } } }//package
Section 186
//fade_effect (fade_effect) package { import flash.display.*; public dynamic class fade_effect extends MovieClip { } }//package
Section 187
//HP_BAR (HP_BAR) package { import flash.display.*; public dynamic class HP_BAR extends MovieClip { public var bar_in:MovieClip; } }//package
Section 188
//japan_map (japan_map) package { import flash.display.*; public dynamic class japan_map extends MovieClip { public var ken1:MovieClip; public var ken3:MovieClip; public var ken4:MovieClip; public var ken5:MovieClip; public var ken6:MovieClip; public var ken7:MovieClip; public var ken2:MovieClip; public var ken8:MovieClip; public var ken9:MovieClip; public var ken12:MovieClip; public var ken13:MovieClip; public var ken14:MovieClip; public var ken15:MovieClip; public var ken16:MovieClip; public var ken17:MovieClip; public var ken18:MovieClip; public var ken19:MovieClip; public var ken10:MovieClip; public var ken20:MovieClip; public var ken21:MovieClip; public var ken23:MovieClip; public var ken25:MovieClip; public var ken26:MovieClip; public var ken27:MovieClip; public var ken28:MovieClip; public var ken24:MovieClip; public var boss_line:MovieClip; public var ken11:MovieClip; public var ken29:MovieClip; public var ken22:MovieClip; public var ken30:MovieClip; public var ken31:MovieClip; public var ken32:MovieClip; public var ken33:MovieClip; public var ken35:MovieClip; public var ken36:MovieClip; public var ken39:MovieClip; public var ken34:MovieClip; public var ken38:MovieClip; public var ken37:MovieClip; public var ken41:MovieClip; public var ken42:MovieClip; public var ken43:MovieClip; public var ken44:MovieClip; public var ken45:MovieClip; public var ken46:MovieClip; public var ken47:MovieClip; public var ken48:MovieClip; public var ken49:MovieClip; public var ken40:MovieClip; public var ken50:MovieClip; public var ken51:MovieClip; } }//package
Section 189
//MAP_SET_UNIT (MAP_SET_UNIT) package { import flash.display.*; public dynamic class MAP_SET_UNIT extends MovieClip { public var hits:MovieClip; public var unit:map_unit; public var unit_waku:map_unit_waku; } }//package
Section 190
//map_unit (map_unit) package { import flash.display.*; public dynamic class map_unit extends MovieClip { public function map_unit(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16); } function frame10(){ this.stop(); } function frame14(){ this.stop(); } function frame12(){ this.stop(); } function frame3(){ this.stop(); } function frame6(){ this.stop(); } function frame7(){ this.stop(); } function frame1(){ this.stop(); } function frame13(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame9(){ this.stop(); } function frame16(){ this.stop(); } function frame8(){ this.stop(); } function frame2(){ this.stop(); } function frame15(){ this.stop(); } function frame11(){ this.stop(); } } }//package
Section 191
//map_unit_waku (map_unit_waku) package { import flash.display.*; public dynamic class map_unit_waku extends MovieClip { public function map_unit_waku(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16); } function frame10(){ this.stop(); } function frame14(){ this.stop(); } function frame12(){ this.stop(); } function frame3(){ this.stop(); } function frame6(){ this.stop(); } function frame7(){ this.stop(); } function frame1(){ this.stop(); } function frame13(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame9(){ this.stop(); } function frame16(){ this.stop(); } function frame8(){ this.stop(); } function frame2(){ this.stop(); } function frame15(){ this.stop(); } function frame11(){ this.stop(); } } }//package
Section 192
//menu_bg (menu_bg) package { import flash.display.*; public dynamic class menu_bg extends MovieClip { public var i4:MovieClip; public var tab_bg:MovieClip; public var help:MovieClip; public var m3:MovieClip; public var m1:MovieClip; public var m4:MovieClip; public var m5:MovieClip; public var m2:MovieClip; public var tam_lv:MovieClip; public var turn_ken:MovieClip; public var g3:MovieClip; public var g1:MovieClip; public var g2:MovieClip; public var tac_lv:MovieClip; public var i1:MovieClip; public var i2:MovieClip; public var i3:MovieClip; } }//package
Section 193
//MOU_C (MOU_C) package { import flash.display.*; public dynamic class MOU_C extends MovieClip { public function MOU_C(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ this.stop(); } function frame2(){ this.stop(); } } }//package
Section 194
//select_bg (select_bg) package { import flash.display.*; public dynamic class select_bg extends MovieClip { public var help:MovieClip; public var flag:MovieClip; public var special:MovieClip; } }//package
Section 195
//slide_bar (slide_bar) package { import flash.display.*; public dynamic class slide_bar extends MovieClip { } }//package
Section 196
//tac_bg (tac_bg) package { import flash.display.*; public dynamic class tac_bg extends MovieClip { public var help:MovieClip; } }//package
Section 197
//title_bg (title_bg) package { import flash.display.*; public dynamic class title_bg extends MovieClip { public var map_bg:japan_map; } }//package
Section 198
//UNIT01_KEN (UNIT01_KEN) package { import flash.display.*; import flash.events.*; public class UNIT01_KEN extends MovieClip { private var DEF_POWER:int;// = 5 private var SPEED:Number;// = 0 private var col_cnt:Number;// = 0 public var hp_bar:HP_BAR; private var i:int;// = 0 private var tx:Number;// = 0 private var ty:Number;// = 0 private var tid:int;// = 0 public var dx:Number;// = 0 private var dis:Number;// = 0 private var ATK_RANGE:int;// = 30 public var live_flg:Boolean;// = true public var dy:Number;// = 0 private var wrk_dis:Number;// = 0 private var wrk_id:int;// = 0 private var ATK_POWER_MIN:int;// = 20 private var wx:Number;// = 0 private var wy:Number;// = 0 private var dmg:int;// = 0 private var xs:Number;// = 0 public var hp:int;// = 0 private var ys:Number;// = 0 private var id:int;// = 0 private var yy:Number;// = 0 private var BASE_SPEED:Number;// = 3 public var type:int;// = 1 public var side:int;// = 0 private var move_mode:String;// = "" private var cnt:int;// = 0 public var brain_flg:Boolean;// = false private var ATK_SPEED:int;// = 40 private var t_rot:Number;// = 0 private var mahi_cnt:int;// = 0 private var ATK_POWER_MAX:int;// = 40 public var MAX_HP:int;// = 250 public function UNIT01_KEN(_arg1, _arg2, _arg3, _arg4){ type = 1; BASE_SPEED = 3; SPEED = 0; ATK_SPEED = 40; ATK_RANGE = 30; ATK_POWER_MAX = 40; ATK_POWER_MIN = 20; DEF_POWER = 5; MAX_HP = 250; id = 0; side = 0; hp = 0; move_mode = ""; yy = 0; ys = 0; xs = 0; col_cnt = 0; cnt = 0; i = 0; dmg = 0; tid = 0; dis = 0; wrk_id = 0; wrk_dis = 0; wx = 0; wy = 0; tx = 0; ty = 0; dx = 0; dy = 0; t_rot = 0; mahi_cnt = 0; live_flg = true; brain_flg = false; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18); this.id = _arg1; this.hp = this.MAX_HP; this.x = _arg2; this.y = _arg3; this.cnt = Math.floor((Math.random() * this.ATK_SPEED)); this.dx = _arg2; this.dy = _arg3; this.side = _arg4; if (this.side == 1){ this.scaleX = -1; this.hp_bar.bar_in.gotoAndStop(2); }; this.live_flg = true; addEventListener(Event.ENTER_FRAME, onEnterFrame); } private function attack(_arg1){ this.cnt = 0; this.dmg = ((Math.floor((Math.random() * ((ATK_POWER_MAX - ATK_POWER_MIN) + Object(root).war_Adj_ATK[this.side]))) + ATK_POWER_MIN) + Object(root).war_Adj_ATK[this.side]); this.dmg = Math.floor(((this.dmg * (100 - Object(root).war_Adj_DEF_S[this.side])) / 100)); if (Object(root).war_Wall_ID == _arg1){ Object(root).dict[_arg1].kurai(this.dmg, this.scaleX, Object(root).dict[_arg1].x, this.y); } else { Object(root).dict[_arg1].kurai(this.dmg, this.scaleX, Object(root).dict[_arg1].x, Object(root).dict[_arg1].y); }; } function frame10(){ this.stop(); } function frame14(){ this.stop(); } function frame16(){ this.gotoAndPlay("mahi"); } function frame15(){ this.stop(); } function frame17(){ this.stop(); } function frame18(){ this.gotoAndPlay("nige"); } function frame3(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame7(){ this.stop(); } function frame1(){ this.stop(); } function frame11(){ this.stop(); } public function kurai(_arg1, _arg2, _arg3, _arg4){ this.dmg = _arg1; if (this.scaleX == _arg2){ this.dmg = (this.dmg * 2); }; this.dmg = Math.floor((this.dmg * ((100 - (this.DEF_POWER + Object(root).war_Adj_DEF[this.side])) / 100))); this.hp = (this.hp - this.dmg); this.col_cnt = 3; this.transform.colorTransform = Object(root).color_red; Object(root).se_poko_flg = true; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC01_DMG(Object(root).e_id, _arg3, _arg4, this.dmg, _arg2); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); if (this.move_mode != "kurai"){ this.gotoAndPlay("itai"); this.move_mode = "kurai"; this.yy = this.y; this.ys = -1; this.xs = (4 * _arg2); }; if ((((this.hp < 1)) && (this.live_flg))){ var _local5 = Object(root).war_UnitCnt[this.side]; var _local6 = this.type; var _local7 = (_local5[_local6] - 1); _local5[_local6] = _local7; _local5 = Object(root).war_TotalUnitCnt; _local6 = this.side; _local7 = (_local5[_local6] - 1); _local5[_local6] = _local7; i = 0; while (i < Object(root).war_UnitID[this.side].length) { if (Object(root).war_UnitID[this.side][i] == this.id){ Object(root).war_UnitID[this.side].splice(i, 1); break; }; i++; }; if ((((Object(root).war_TotalUnitCnt[(1 - this.side)] < 50)) && ((Math.floor((Math.random() * 100)) < Object(root).war_Brain[(1 - this.side)])))){ Object(root).se_brain_flg = true; _local5 = Object(root).war_UnitCnt_Brain[(1 - this.side)]; _local6 = this.type; _local7 = (_local5[_local6] + 1); _local5[_local6] = _local7; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC22_BRAIN_WASH(Object(root).e_id, this.x, this.y, this.scaleX, this.type); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); this.brain_flg = true; } else { Object(root).yarare_set(); if (Object(root).war_Capture[(1 - this.side)] > 0){ Object(root).se_buy_flg = true; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC06_TAC_EFFECT(Object(root).e_id, this.x, (this.y - 10), (6 + (Object(root).war_Capture[(1 - this.side)] / 5))); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); if (this.side == 0){ Object(root).gold[Object(root).ken_side[Object(root).ken_def_id]] = (Object(root).gold[Object(root).ken_side[Object(root).ken_def_id]] + Object(root).war_Capture[(1 - this.side)]); } else { Object(root).gold[Object(root).ken_side[Object(root).ken_atk_id]] = (Object(root).gold[Object(root).ken_side[Object(root).ken_atk_id]] + Object(root).war_Capture[(1 - this.side)]); }; }; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC02_UNITDOWN(Object(root).e_id, this.x, this.y, this.scaleX, this.type); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); }; this.live_flg = false; this.visible = false; Object(root).dict[("SHADOW" + this.id)].visible = false; Object(root).unit_y_adj(this.side, this.type); return; }; } function frame13(){ this.gotoAndPlay(12); } function frame9(){ this.gotoAndPlay("stay"); } function frame12(){ this.stop(); } function frame8(){ this.stop(); } function frame2(){ this.gotoAndPlay("stay"); } public function resurrect(_arg1){ this.hp = _arg1; var _local2 = Object(root).war_UnitCnt[this.side]; var _local3 = this.type; var _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = Object(root).war_TotalUnitCnt; _local3 = this.side; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; Object(root).war_UnitID[this.side].push(this.id); this.live_flg = true; this.visible = true; Object(root).dict[("SHADOW" + this.id)].visible = true; Object(root).unit_y_adj(this.side, this.type); this.gotoAndPlay("stay"); this.move_mode = Object(root).war_UnitMode[this.side][this.type]; } function frame6(){ this.stop(); } public function onEnterFrame(_arg1:Event){ if (((((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))) && (this.live_flg))){ this.nextFrame(); this.hp_bar.bar_in.scaleX = (this.hp / this.MAX_HP); this.cnt++; this.SPEED = (this.BASE_SPEED + Object(root).war_Adj_SPEED[this.side]); this.dis = 99999; i = 0; while (i < Object(root).war_UnitID[(1 - this.side)].length) { wrk_id = Object(root).war_UnitID[(1 - this.side)][i]; if (Object(root).dict[wrk_id].live_flg){ this.wx = Object(root).dict[wrk_id].x; if (this.wx > this.x){ this.wx = (this.wx - this.ATK_RANGE); } else { this.wx = (this.wx + this.ATK_RANGE); }; if (Object(root).war_Wall_ID == wrk_id){ this.wy = this.y; } else { this.wy = Object(root).dict[wrk_id].y; }; this.wrk_dis = Math.sqrt((Math.pow((this.wx - this.x), 2) + Math.pow((this.wy - this.y), 2))); if (this.dis > this.wrk_dis){ this.dis = this.wrk_dis; this.tid = wrk_id; }; }; i++; }; if (Object(root).dict[this.tid].live_flg){ this.tx = Object(root).dict[this.tid].x; if (Object(root).war_Wall_ID == this.tid){ this.ty = this.y; } else { this.ty = Object(root).dict[this.tid].y; }; if (this.tx > this.x){ this.scaleX = 1; this.tx = (this.tx - this.ATK_RANGE); } else { this.scaleX = -1; this.tx = (this.tx + this.ATK_RANGE); }; this.ty = (this.ty + (((this.id % 25) * 2) - 24)); }; if (((!((this.move_mode == "kurai"))) && (!((this.move_mode == "mahi"))))){ if ((((Object(root).war_Escape_Mode > 0)) && ((this.side == 0)))){ this.move_mode = "escape"; } else { this.move_mode = Object(root).war_UnitMode[this.side][this.type]; }; }; switch (this.move_mode){ case "attack": if (this.dis < this.ATK_RANGE){ if ((((this.cnt > this.ATK_SPEED)) && ((this.currentFrame < 3)))){ Object(root).se_swing_flg = true; this.gotoAndPlay("attack"); }; } else { this.t_rot = ((Math.atan2((this.ty - this.y), (this.tx - this.x)) * 180) / Math.PI); this.xs = (Math.cos(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.ys = (Math.sin(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.x = (this.x + this.xs); this.y = (this.y + this.ys); }; if ((((this.currentFrame == 4)) && ((this.dis < (this.ATK_RANGE + 20))))){ attack(this.tid); }; break; case "deffence": this.dx = Object(root).war_UnitX[this.side][this.type]; this.wrk_dis = Math.sqrt((Math.pow((this.dx - this.x), 2) + Math.pow((this.dy - this.y), 2))); if (this.wrk_dis < this.SPEED){ this.x = this.dx; this.y = this.dy; } else { this.t_rot = ((Math.atan2((this.dy - this.y), (this.dx - this.x)) * 180) / Math.PI); this.xs = (Math.cos(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.ys = (Math.sin(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.x = (this.x + this.xs); this.y = (this.y + this.ys); }; if (this.dis < this.ATK_RANGE){ if ((((this.cnt > this.ATK_SPEED)) && ((this.currentFrame < 3)))){ Object(root).se_swing_flg = true; this.gotoAndPlay("attack"); }; if (this.currentFrame == 4){ attack(this.tid); }; }; break; case "escape": this.gotoAndPlay("nige"); this.x = (this.x - (this.SPEED * Object(root).war_Escape_Mode)); this.scaleX = -1; if (Math.floor((Math.random() * 25)) == 1){ Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC05_ASE(Object(root).e_id, this.x, this.y); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); }; if (this.x < 16){ Object(root).war_Escape_UnitCnt++; i = 0; while (i < Object(root).war_UnitID[this.side].length) { if (Object(root).war_UnitID[this.side][i] == this.id){ Object(root).war_UnitID[this.side].splice(i, 1); break; }; i++; }; this.live_flg = false; this.visible = false; Object(root).dict[("SHADOW" + this.id)].visible = false; this.brain_flg = true; }; break; case "kurai": this.ys++; this.x = (this.x + this.xs); this.y = (this.y + this.ys); if (this.y >= this.yy){ this.y = this.yy; if (this.mahi_cnt <= 0){ this.gotoAndPlay("stay"); this.move_mode = Object(root).war_UnitMode[this.side][this.type]; } else { this.gotoAndPlay("mahi"); this.move_mode = "mahi"; }; }; break; case "mahi": this.mahi_cnt--; if (this.mahi_cnt <= 0){ this.gotoAndPlay("stay"); this.move_mode = Object(root).war_UnitMode[this.side][this.type]; }; break; }; if (this.x < 16){ this.x = 16; } else { if (this.x > 624){ this.x = 624; }; }; if (this.y < 66){ this.y = 66; } else { if (this.y > 384){ this.y = 384; }; }; Object(root).dict[("SHADOW" + this.id)].x = this.x; if (this.move_mode == "kurai"){ Object(root).dict[("SHADOW" + this.id)].y = (this.yy + 17); } else { Object(root).dict[("SHADOW" + this.id)].y = (this.y + 17); }; if ((((this.side == 0)) && (Object(root).dict[Object(root).war_Wall_ID]))){ if ((((this.x >= (Object(root).dict[Object(root).war_Wall_ID].x - 32))) && (Object(root).dict[Object(root).war_Wall_ID].live_flg))){ this.x = (Object(root).dict[Object(root).war_Wall_ID].x - 32); }; }; this.col_cnt--; if (this.col_cnt < 1){ this.transform.colorTransform = Object(root).color_normal; }; }; } public function kill(){ Object(root).dict["f_shadow"].removeChild(Object(root).dict[("SHADOW" + this.id)]); Object(root).dict[("SHADOW" + this.id)] = null; delete Object(root).dict[("SHADOW" + this.id)]; removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[this.id] = null; delete Object(root).dict[this.id]; this.parent.removeChild(this); } public function mahi(_arg1){ this.mahi_cnt = _arg1; if (this.move_mode != "kurai"){ this.gotoAndPlay("mahi"); this.move_mode = "mahi"; }; } public function heal(_arg1, _arg2, _arg3){ this.dmg = _arg1; this.hp = (this.hp + this.dmg); if (this.hp > this.MAX_HP){ this.hp = this.MAX_HP; }; this.col_cnt = 3; this.transform.colorTransform = Object(root).color_white; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC08_HEAL(Object(root).e_id, _arg2, _arg3, this.dmg); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); Object(root).se_heal_flg = true; } } }//package
Section 199
//UNIT02_YUMI (UNIT02_YUMI) package { import flash.display.*; import flash.events.*; public class UNIT02_YUMI extends MovieClip { private var DEF_POWER:int;// = 5 private var SPEED:Number;// = 0 private var col_cnt:Number;// = 0 public var hp_bar:HP_BAR; private var i:int;// = 0 private var tx:Number;// = 0 private var ty:Number;// = 0 private var tid:int;// = 0 public var dx:Number;// = 0 private var dis:Number;// = 0 private var ATK_RANGE:int;// = 30 public var live_flg:Boolean;// = true public var dy:Number;// = 0 private var wrk_dis:Number;// = 0 private var wrk_id:int;// = 0 private var ATK_POWER_MIN:int;// = 20 private var wx:Number;// = 0 private var wy:Number;// = 0 private var dmg:int;// = 0 private var xs:Number;// = 0 public var hp:int;// = 0 private var dis_y:Number;// = 0 private var ys:Number;// = 0 private var id:int;// = 0 private var yy:Number;// = 0 private var BASE_SPEED:Number;// = 2 public var type:int;// = 2 public var side:int;// = 0 private var move_mode:String;// = "" private var cnt:int;// = 0 public var brain_flg:Boolean;// = false private var ATK_SPEED:int;// = 40 private var t_rot:Number;// = 0 private var mahi_cnt:int;// = 0 private var ATK_POWER_MAX:int;// = 30 public var MAX_HP:int;// = 150 public function UNIT02_YUMI(_arg1, _arg2, _arg3, _arg4){ type = 2; BASE_SPEED = 2; SPEED = 0; ATK_SPEED = 40; ATK_RANGE = 30; ATK_POWER_MAX = 30; ATK_POWER_MIN = 20; DEF_POWER = 5; MAX_HP = 150; id = 0; side = 0; hp = 0; move_mode = ""; yy = 0; ys = 0; xs = 0; col_cnt = 0; cnt = 0; i = 0; dmg = 0; tid = 0; dis = 0; dis_y = 0; wrk_id = 0; wrk_dis = 0; wx = 0; wy = 0; tx = 0; ty = 0; dx = 0; dy = 0; t_rot = 0; mahi_cnt = 0; live_flg = true; brain_flg = false; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18); this.id = _arg1; this.hp = this.MAX_HP; this.x = _arg2; this.y = _arg3; this.cnt = Math.floor((Math.random() * this.ATK_SPEED)); this.dx = _arg2; this.dy = _arg3; this.side = _arg4; if (this.side == 1){ this.scaleX = -1; this.hp_bar.bar_in.gotoAndStop(2); }; this.ATK_RANGE = (this.ATK_RANGE + (((this.id % 25) * 2) - 24)); this.live_flg = true; addEventListener(Event.ENTER_FRAME, onEnterFrame); } function frame10(){ this.stop(); } function frame14(){ this.stop(); } function frame16(){ this.gotoAndPlay("mahi"); } function frame15(){ this.stop(); } function frame17(){ this.stop(); } function frame18(){ this.gotoAndPlay("nige"); } function frame3(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame7(){ this.stop(); } function frame1(){ this.stop(); } function frame11(){ this.stop(); } public function kurai(_arg1, _arg2, _arg3, _arg4){ this.dmg = _arg1; if (this.scaleX == _arg2){ this.dmg = (this.dmg * 2); }; this.dmg = Math.floor((this.dmg * ((100 - (this.DEF_POWER + Object(root).war_Adj_DEF[this.side])) / 100))); this.hp = (this.hp - this.dmg); this.col_cnt = 3; this.transform.colorTransform = Object(root).color_red; Object(root).se_poko_flg = true; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC01_DMG(Object(root).e_id, _arg3, _arg4, this.dmg, _arg2); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); if (this.move_mode != "kurai"){ this.gotoAndPlay("itai"); this.move_mode = "kurai"; this.yy = this.y; this.ys = -3; this.xs = (4 * _arg2); }; if ((((this.hp < 1)) && (this.live_flg))){ var _local5 = Object(root).war_UnitCnt[this.side]; var _local6 = this.type; var _local7 = (_local5[_local6] - 1); _local5[_local6] = _local7; _local5 = Object(root).war_TotalUnitCnt; _local6 = this.side; _local7 = (_local5[_local6] - 1); _local5[_local6] = _local7; i = 0; while (i < Object(root).war_UnitID[this.side].length) { if (Object(root).war_UnitID[this.side][i] == this.id){ Object(root).war_UnitID[this.side].splice(i, 1); break; }; i++; }; if ((((Object(root).war_TotalUnitCnt[(1 - this.side)] < 50)) && ((Math.floor((Math.random() * 100)) < Object(root).war_Brain[(1 - this.side)])))){ Object(root).se_brain_flg = true; _local5 = Object(root).war_UnitCnt_Brain[(1 - this.side)]; _local6 = this.type; _local7 = (_local5[_local6] + 1); _local5[_local6] = _local7; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC22_BRAIN_WASH(Object(root).e_id, this.x, this.y, this.scaleX, this.type); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); this.brain_flg = true; } else { Object(root).yarare_set(); if (Object(root).war_Capture[(1 - this.side)] > 0){ Object(root).se_buy_flg = true; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC06_TAC_EFFECT(Object(root).e_id, this.x, (this.y - 10), (6 + (Object(root).war_Capture[(1 - this.side)] / 5))); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); if (this.side == 0){ Object(root).gold[Object(root).ken_side[Object(root).ken_def_id]] = (Object(root).gold[Object(root).ken_side[Object(root).ken_def_id]] + Object(root).war_Capture[(1 - this.side)]); } else { Object(root).gold[Object(root).ken_side[Object(root).ken_atk_id]] = (Object(root).gold[Object(root).ken_side[Object(root).ken_atk_id]] + Object(root).war_Capture[(1 - this.side)]); }; }; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC02_UNITDOWN(Object(root).e_id, this.x, this.y, this.scaleX, this.type); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); }; this.live_flg = false; this.visible = false; Object(root).dict[("SHADOW" + this.id)].visible = false; Object(root).unit_y_adj(this.side, this.type); return; }; } function frame13(){ this.gotoAndStop(12); } function frame9(){ this.gotoAndStop("stay"); } function frame12(){ this.stop(); } function frame8(){ this.stop(); } function frame2(){ this.gotoAndStop("stay"); } public function resurrect(_arg1){ this.hp = _arg1; var _local2 = Object(root).war_UnitCnt[this.side]; var _local3 = this.type; var _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = Object(root).war_TotalUnitCnt; _local3 = this.side; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; Object(root).war_UnitID[this.side].push(this.id); this.live_flg = true; this.visible = true; Object(root).dict[("SHADOW" + this.id)].visible = true; Object(root).unit_y_adj(this.side, this.type); this.gotoAndPlay("stay"); this.move_mode = Object(root).war_UnitMode[this.side][this.type]; } function frame6(){ this.stop(); } public function onEnterFrame(_arg1:Event){ if (((((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))) && (this.live_flg))){ this.cnt++; this.nextFrame(); this.hp_bar.bar_in.scaleX = (this.hp / this.MAX_HP); this.SPEED = (this.BASE_SPEED + Object(root).war_Adj_SPEED[this.side]); this.dis = 99999; this.dis_y = 99999; i = 0; while (i < Object(root).war_UnitID[(1 - this.side)].length) { wrk_id = Object(root).war_UnitID[(1 - this.side)][i]; if (Object(root).dict[wrk_id].live_flg){ this.wx = Object(root).dict[wrk_id].x; if (Object(root).war_Wall_ID == wrk_id){ this.wy = this.y; } else { this.wy = Object(root).dict[wrk_id].y; }; if (((!((this.move_mode == "deffence"))) || ((Math.sqrt((Math.pow(0, 2) + Math.pow((this.wy - this.y), 2))) < this.ATK_RANGE)))){ this.wrk_dis = Math.sqrt((Math.pow((this.wx - this.x), 2) + Math.pow((this.wy - this.y), 2))); if (this.dis > this.wrk_dis){ this.dis = this.wrk_dis; this.tid = wrk_id; this.dis_y = Math.sqrt((Math.pow(0, 2) + Math.pow((this.wy - this.y), 2))); }; }; }; i++; }; if (Object(root).dict[this.tid].live_flg){ this.tx = Object(root).dict[this.tid].x; this.ty = Object(root).dict[this.tid].y; if (this.tx > this.x){ this.scaleX = 1; this.tx = (this.tx - this.ATK_RANGE); } else { this.scaleX = -1; this.tx = (this.tx + this.ATK_RANGE); }; }; if (((!((this.move_mode == "kurai"))) && (!((this.move_mode == "mahi"))))){ if ((((Object(root).war_Escape_Mode > 0)) && ((this.side == 0)))){ this.move_mode = "escape"; } else { this.move_mode = Object(root).war_UnitMode[this.side][this.type]; if (this.dis_y < this.ATK_RANGE){ if ((((this.cnt > this.ATK_SPEED)) && ((this.currentFrame < 3)))){ Object(root).se_yumi_flg = true; this.gotoAndPlay("shoot"); }; }; if (this.currentFrame == 8){ this.cnt = 0; this.dmg = ((Math.floor((Math.random() * ((ATK_POWER_MAX - ATK_POWER_MIN) + Object(root).war_Adj_ATK[this.side]))) + ATK_POWER_MIN) + Object(root).war_Adj_ATK[this.side]); this.dmg = Math.floor(((this.dmg * (100 - Object(root).war_Adj_DEF_L[this.side])) / 100)); Object(root).e_id++; if (Object(root).war_Wall_ID == this.tid){ Object(root).dict[("ETC" + Object(root).e_id)] = new ETC03_ALLOW(Object(root).e_id, this.tid, this.x, this.y, Object(root).dict[this.tid].x, this.y, this.dmg); } else { Object(root).dict[("ETC" + Object(root).e_id)] = new ETC03_ALLOW(Object(root).e_id, this.tid, this.x, this.y, Object(root).dict[this.tid].x, Object(root).dict[this.tid].y, this.dmg); }; Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); }; }; }; this.dx = Object(root).war_UnitX[this.side][this.type]; switch (this.move_mode){ case "attack": this.tx = this.x; if (this.dis_y < this.ATK_RANGE){ this.ty = this.y; }; this.wrk_dis = Math.sqrt((Math.pow((this.tx - this.x), 2) + Math.pow((this.ty - this.y), 2))); if (this.wrk_dis < this.SPEED){ this.x = this.tx; this.y = this.ty; } else { this.t_rot = ((Math.atan2((this.ty - this.y), (this.tx - this.x)) * 180) / Math.PI); this.xs = (Math.cos(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.ys = (Math.sin(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.x = (this.x + this.xs); this.y = (this.y + this.ys); }; break; case "deffence": this.wrk_dis = Math.sqrt((Math.pow((this.dx - this.x), 2) + Math.pow((this.dy - this.y), 2))); if (this.wrk_dis < this.SPEED){ this.x = this.dx; this.y = this.dy; } else { this.t_rot = ((Math.atan2((this.dy - this.y), (this.dx - this.x)) * 180) / Math.PI); this.xs = (Math.cos(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.ys = (Math.sin(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.x = (this.x + this.xs); this.y = (this.y + this.ys); }; break; case "escape": this.gotoAndPlay("nige"); this.x = (this.x - (this.SPEED * Object(root).war_Escape_Mode)); this.scaleX = -1; if (Math.floor((Math.random() * 25)) == 1){ Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC05_ASE(Object(root).e_id, this.x, this.y); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); }; if (this.x < 16){ Object(root).war_Escape_UnitCnt++; i = 0; while (i < Object(root).war_UnitID[this.side].length) { if (Object(root).war_UnitID[this.side][i] == this.id){ Object(root).war_UnitID[this.side].splice(i, 1); break; }; i++; }; this.live_flg = false; this.visible = false; Object(root).dict[("SHADOW" + this.id)].visible = false; this.brain_flg = true; }; break; case "kurai": this.ys++; this.x = (this.x + this.xs); this.y = (this.y + this.ys); if (this.y >= this.yy){ this.y = this.yy; if (this.mahi_cnt <= 0){ this.gotoAndPlay("stay"); this.move_mode = Object(root).war_UnitMode[this.side][this.type]; } else { this.gotoAndPlay("mahi"); this.move_mode = "mahi"; }; }; break; case "mahi": this.mahi_cnt--; if (this.mahi_cnt <= 0){ this.gotoAndPlay("stay"); this.move_mode = Object(root).war_UnitMode[this.side][this.type]; }; break; }; if (this.x < 16){ this.x = 16; } else { if (this.x > 624){ this.x = 624; }; }; if (this.y < 66){ this.y = 66; } else { if (this.y > 384){ this.y = 384; }; }; Object(root).dict[("SHADOW" + this.id)].x = this.x; if (this.move_mode == "kurai"){ Object(root).dict[("SHADOW" + this.id)].y = (this.yy + 17); } else { Object(root).dict[("SHADOW" + this.id)].y = (this.y + 17); }; if ((((this.side == 0)) && (Object(root).dict[Object(root).war_Wall_ID]))){ if ((((this.x >= (Object(root).dict[Object(root).war_Wall_ID].x - 32))) && (Object(root).dict[Object(root).war_Wall_ID].live_flg))){ this.x = (Object(root).dict[Object(root).war_Wall_ID].x - 32); }; }; this.col_cnt--; if (this.col_cnt < 1){ this.transform.colorTransform = Object(root).color_normal; }; }; } public function kill(){ Object(root).dict["f_shadow"].removeChild(Object(root).dict[("SHADOW" + this.id)]); Object(root).dict[("SHADOW" + this.id)] = null; delete Object(root).dict[("SHADOW" + this.id)]; removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[this.id] = null; delete Object(root).dict[this.id]; this.parent.removeChild(this); } public function mahi(_arg1){ this.mahi_cnt = _arg1; if (this.move_mode != "kurai"){ this.gotoAndPlay("mahi"); this.move_mode = "mahi"; }; } public function heal(_arg1, _arg2, _arg3){ this.dmg = _arg1; this.hp = (this.hp + this.dmg); if (this.hp > this.MAX_HP){ this.hp = this.MAX_HP; }; this.col_cnt = 3; this.transform.colorTransform = Object(root).color_white; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC08_HEAL(Object(root).e_id, _arg2, _arg3, this.dmg); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); Object(root).se_heal_flg = true; } } }//package
Section 200
//UNIT03_TATE (UNIT03_TATE) package { import flash.display.*; import flash.events.*; public class UNIT03_TATE extends MovieClip { private var DEF_POWER:int;// = 70 private var SPEED:Number;// = 0 private var col_cnt:Number;// = 0 public var hp_bar:HP_BAR; private var i:int;// = 0 private var tx:Number;// = 0 private var ty:Number;// = 0 private var tid:int;// = 0 public var dx:Number;// = 0 private var dis:Number;// = 0 public var live_flg:Boolean;// = true public var dy:Number;// = 0 private var ATK_RANGE:int;// = 30 private var wrk_dis:Number;// = 0 private var wrk_id:int;// = 0 private var wx:Number;// = 0 private var wy:Number;// = 0 private var dmg:int;// = 0 private var xs:Number;// = 0 public var hp:int;// = 0 private var ys:Number;// = 0 private var id:int;// = 0 private var yy:Number;// = 0 private var BASE_SPEED:Number;// = 1 public var type:int;// = 3 public var side:int;// = 0 private var move_mode:String;// = "" public var brain_flg:Boolean;// = false private var t_rot:Number;// = 0 private var mahi_cnt:int;// = 0 public var MAX_HP:int;// = 300 public function UNIT03_TATE(_arg1, _arg2, _arg3, _arg4){ type = 3; BASE_SPEED = 1; SPEED = 0; ATK_RANGE = 30; DEF_POWER = 70; MAX_HP = 300; id = 0; side = 0; hp = 0; move_mode = ""; yy = 0; ys = 0; xs = 0; col_cnt = 0; i = 0; tid = 0; dis = 0; dmg = 0; wrk_id = 0; wrk_dis = 0; wx = 0; wy = 0; tx = 0; ty = 0; dx = 0; dy = 0; t_rot = 0; mahi_cnt = 0; live_flg = true; brain_flg = false; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13); this.id = _arg1; this.hp = this.MAX_HP; this.x = _arg2; this.y = _arg3; this.dx = _arg2; this.dy = _arg3; this.side = _arg4; if (this.side == 1){ this.scaleX = -1; this.hp_bar.bar_in.gotoAndStop(2); }; this.live_flg = true; addEventListener(Event.ENTER_FRAME, onEnterFrame); } function frame10(){ this.stop(); } function frame3(){ this.stop(); } function frame4(){ this.gotoAndPlay("stay"); } function frame5(){ this.stop(); } function frame7(){ this.stop(); } function frame1(){ this.stop(); } function frame11(){ this.gotoAndPlay("mahi"); } public function kurai(_arg1, _arg2, _arg3, _arg4){ this.dmg = _arg1; if (this.scaleX == _arg2){ this.dmg = (this.dmg * 2); }; this.dmg = Math.floor((this.dmg * ((100 - (this.DEF_POWER + Object(root).war_Adj_DEF[this.side])) / 100))); this.hp = (this.hp - this.dmg); this.col_cnt = 3; this.transform.colorTransform = Object(root).color_red; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC01_DMG(Object(root).e_id, _arg3, _arg4, this.dmg, _arg2); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); if (((!((this.move_mode == "kurai"))) && ((this.scaleX == _arg2)))){ Object(root).se_poko_flg = true; this.gotoAndPlay("itai"); this.move_mode = "kurai"; this.yy = this.y; this.ys = -3; this.xs = (4 * _arg2); } else { Object(root).se_metal_flg = true; this.x = (this.x + (_arg2 * 2)); }; if ((((this.hp < 1)) && (this.live_flg))){ var _local5 = Object(root).war_UnitCnt[this.side]; var _local6 = this.type; var _local7 = (_local5[_local6] - 1); _local5[_local6] = _local7; _local5 = Object(root).war_TotalUnitCnt; _local6 = this.side; _local7 = (_local5[_local6] - 1); _local5[_local6] = _local7; i = 0; while (i < Object(root).war_UnitID[this.side].length) { if (Object(root).war_UnitID[this.side][i] == this.id){ Object(root).war_UnitID[this.side].splice(i, 1); break; }; i++; }; if ((((Object(root).war_TotalUnitCnt[(1 - this.side)] < 50)) && ((Math.floor((Math.random() * 100)) < Object(root).war_Brain[(1 - this.side)])))){ Object(root).se_brain_flg = true; _local5 = Object(root).war_UnitCnt_Brain[(1 - this.side)]; _local6 = this.type; _local7 = (_local5[_local6] + 1); _local5[_local6] = _local7; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC22_BRAIN_WASH(Object(root).e_id, this.x, this.y, this.scaleX, this.type); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); this.brain_flg = true; } else { Object(root).yarare_set(); if (Object(root).war_Capture[(1 - this.side)] > 0){ Object(root).se_buy_flg = true; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC06_TAC_EFFECT(Object(root).e_id, this.x, (this.y - 10), (6 + (Object(root).war_Capture[(1 - this.side)] / 5))); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); if (this.side == 0){ Object(root).gold[Object(root).ken_side[Object(root).ken_def_id]] = (Object(root).gold[Object(root).ken_side[Object(root).ken_def_id]] + Object(root).war_Capture[(1 - this.side)]); } else { Object(root).gold[Object(root).ken_side[Object(root).ken_atk_id]] = (Object(root).gold[Object(root).ken_side[Object(root).ken_atk_id]] + Object(root).war_Capture[(1 - this.side)]); }; }; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC02_UNITDOWN(Object(root).e_id, this.x, this.y, this.scaleX, this.type); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); }; this.live_flg = false; this.visible = false; Object(root).dict[("SHADOW" + this.id)].visible = false; Object(root).unit_y_adj(this.side, this.type); return; }; } function frame13(){ this.gotoAndPlay("nige"); } function frame9(){ this.stop(); } function frame12(){ this.stop(); } function frame8(){ this.gotoAndStop(7); } function frame2(){ this.stop(); } function frame6(){ this.stop(); } public function resurrect(_arg1){ this.hp = _arg1; var _local2 = Object(root).war_UnitCnt[this.side]; var _local3 = this.type; var _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = Object(root).war_TotalUnitCnt; _local3 = this.side; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; Object(root).war_UnitID[this.side].push(this.id); this.live_flg = true; this.visible = true; Object(root).dict[("SHADOW" + this.id)].visible = true; Object(root).unit_y_adj(this.side, this.type); this.gotoAndPlay("stay"); this.move_mode = Object(root).war_UnitMode[this.side][this.type]; } public function onEnterFrame(_arg1:Event){ if (((((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))) && (this.live_flg))){ this.nextFrame(); this.hp_bar.bar_in.scaleX = (this.hp / this.MAX_HP); this.SPEED = (this.BASE_SPEED + Object(root).war_Adj_SPEED[this.side]); if (this.SPEED <= 0){ this.SPEED = 0.1; }; this.dis = 99999; i = 0; while (i < Object(root).war_UnitID[(1 - this.side)].length) { wrk_id = Object(root).war_UnitID[(1 - this.side)][i]; if (Object(root).dict[wrk_id].live_flg){ this.wx = Object(root).dict[wrk_id].x; if (this.wx > this.x){ this.wx = (this.wx - this.ATK_RANGE); } else { this.wx = (this.wx + this.ATK_RANGE); }; if (Object(root).war_Wall_ID == wrk_id){ this.wy = this.y; } else { this.wy = Object(root).dict[wrk_id].y; }; this.wrk_dis = Math.sqrt((Math.pow((this.wx - this.x), 2) + Math.pow((this.wy - this.y), 2))); if (this.dis > this.wrk_dis){ this.dis = this.wrk_dis; this.tid = wrk_id; }; }; i++; }; if (Object(root).dict[this.tid].live_flg){ this.tx = Object(root).dict[this.tid].x; if (Object(root).war_Wall_ID == this.tid){ this.ty = this.y; } else { this.ty = Object(root).dict[this.tid].y; }; if (this.tx > this.x){ this.scaleX = 1; this.tx = (this.tx - this.ATK_RANGE); } else { this.scaleX = -1; this.tx = (this.tx + this.ATK_RANGE); }; this.ty = (this.ty + (((this.id % 25) * 2) - 24)); }; if (((!((this.move_mode == "kurai"))) && (!((this.move_mode == "mahi"))))){ if ((((Object(root).war_Escape_Mode > 0)) && ((this.side == 0)))){ this.move_mode = "escape"; } else { this.move_mode = Object(root).war_UnitMode[this.side][this.type]; }; }; switch (this.move_mode){ case "attack": this.t_rot = ((Math.atan2((this.ty - this.y), (this.tx - this.x)) * 180) / Math.PI); this.xs = (Math.cos(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.ys = (Math.sin(((this.t_rot * Math.PI) / 180)) * this.SPEED); if (this.dis >= this.ATK_RANGE){ this.x = (this.x + this.xs); this.y = (this.y + this.ys); }; break; case "deffence": this.dx = Object(root).war_UnitX[this.side][this.type]; this.wrk_dis = Math.sqrt((Math.pow((this.dx - this.x), 2) + Math.pow((this.dy - this.y), 2))); if (this.wrk_dis < this.SPEED){ this.x = this.dx; this.y = this.dy; } else { this.t_rot = ((Math.atan2((this.dy - this.y), (this.dx - this.x)) * 180) / Math.PI); this.xs = (Math.cos(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.ys = (Math.sin(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.x = (this.x + this.xs); this.y = (this.y + this.ys); }; break; case "escape": this.gotoAndPlay("nige"); this.x = (this.x - (this.SPEED * Object(root).war_Escape_Mode)); this.scaleX = -1; if (Math.floor((Math.random() * 25)) == 1){ Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC05_ASE(Object(root).e_id, this.x, this.y); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); }; if (this.x < 16){ Object(root).war_Escape_UnitCnt++; i = 0; while (i < Object(root).war_UnitID[this.side].length) { if (Object(root).war_UnitID[this.side][i] == this.id){ Object(root).war_UnitID[this.side].splice(i, 1); break; }; i++; }; this.live_flg = false; this.visible = false; Object(root).dict[("SHADOW" + this.id)].visible = false; this.brain_flg = true; }; break; case "kurai": if (Object(root).war_Escape_Mode > 0){ this.scaleX = -1; }; this.ys++; this.x = (this.x + this.xs); this.y = (this.y + this.ys); if (this.y >= this.yy){ this.y = this.yy; if (this.mahi_cnt <= 0){ this.gotoAndPlay("stay"); this.move_mode = Object(root).war_UnitMode[this.side][this.type]; } else { this.gotoAndPlay("mahi"); this.move_mode = "mahi"; }; }; break; case "mahi": this.mahi_cnt--; if (this.mahi_cnt <= 0){ this.gotoAndPlay("stay"); this.move_mode = Object(root).war_UnitMode[this.side][this.type]; }; break; }; if (this.x < 16){ this.x = 16; } else { if (this.x > 624){ this.x = 624; }; }; if (this.y < 66){ this.y = 66; } else { if (this.y > 384){ this.y = 384; }; }; Object(root).dict[("SHADOW" + this.id)].x = this.x; if (this.move_mode == "kurai"){ Object(root).dict[("SHADOW" + this.id)].y = (this.yy + 17); } else { Object(root).dict[("SHADOW" + this.id)].y = (this.y + 17); }; if ((((this.side == 0)) && (Object(root).dict[Object(root).war_Wall_ID]))){ if ((((this.x >= (Object(root).dict[Object(root).war_Wall_ID].x - 32))) && (Object(root).dict[Object(root).war_Wall_ID].live_flg))){ this.x = (Object(root).dict[Object(root).war_Wall_ID].x - 32); }; }; this.col_cnt--; if (this.col_cnt < 1){ this.transform.colorTransform = Object(root).color_normal; }; }; } public function kill(){ Object(root).dict["f_shadow"].removeChild(Object(root).dict[("SHADOW" + this.id)]); Object(root).dict[("SHADOW" + this.id)] = null; delete Object(root).dict[("SHADOW" + this.id)]; removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[this.id] = null; delete Object(root).dict[this.id]; this.parent.removeChild(this); } public function mahi(_arg1){ this.mahi_cnt = _arg1; if (this.move_mode != "kurai"){ this.gotoAndPlay("mahi"); this.move_mode = "mahi"; }; } public function heal(_arg1, _arg2, _arg3){ this.dmg = _arg1; this.hp = (this.hp + this.dmg); if (this.hp > this.MAX_HP){ this.hp = this.MAX_HP; }; this.col_cnt = 3; this.transform.colorTransform = Object(root).color_white; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC08_HEAL(Object(root).e_id, _arg2, _arg3, this.dmg); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); Object(root).se_heal_flg = true; } } }//package
Section 201
//UNIT04_YARI (UNIT04_YARI) package { import flash.display.*; import flash.events.*; public class UNIT04_YARI extends MovieClip { private var DEF_POWER:int;// = 10 private var SPEED:Number;// = 0 private var col_cnt:Number;// = 0 public var hp_bar:HP_BAR; private var i:int;// = 0 private var tx:Number;// = 0 private var ty:Number;// = 0 private var tid:int;// = 0 public var dx:Number;// = 0 private var dis:Number;// = 0 private var ATK_RANGE:int;// = 50 public var live_flg:Boolean;// = true public var dy:Number;// = 0 private var wrk_dis:Number;// = 0 private var wrk_id:int;// = 0 private var ATK_POWER_MIN:int;// = 30 private var wx:Number;// = 0 private var wy:Number;// = 0 private var dmg:int;// = 0 private var xs:Number;// = 0 public var hp:int;// = 0 private var ys:Number;// = 0 private var id:int;// = 0 private var yy:Number;// = 0 private var BASE_SPEED:Number;// = 3 public var type:int;// = 4 public var side:int;// = 0 private var move_mode:String;// = "" private var cnt:int;// = 0 public var brain_flg:Boolean;// = false private var ATK_SPEED:int;// = 30 private var t_rot:Number;// = 0 private var mahi_cnt:int;// = 0 private var ATK_POWER_MAX:int;// = 50 public var MAX_HP:int;// = 300 public function UNIT04_YARI(_arg1, _arg2, _arg3, _arg4){ type = 4; BASE_SPEED = 3; SPEED = 0; ATK_SPEED = 30; ATK_RANGE = 50; ATK_POWER_MAX = 50; ATK_POWER_MIN = 30; DEF_POWER = 10; MAX_HP = 300; id = 0; side = 0; hp = 0; move_mode = ""; yy = 0; ys = 0; xs = 0; col_cnt = 0; cnt = 0; i = 0; dmg = 0; tid = 0; dis = 0; wrk_id = 0; wrk_dis = 0; wx = 0; wy = 0; tx = 0; ty = 0; dx = 0; dy = 0; t_rot = 0; mahi_cnt = 0; live_flg = true; brain_flg = false; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17); this.id = _arg1; this.hp = this.MAX_HP; this.x = _arg2; this.y = _arg3; this.cnt = Math.floor((Math.random() * this.ATK_SPEED)); this.dx = _arg2; this.dy = _arg3; this.side = _arg4; if (this.side == 1){ this.scaleX = -1; this.hp_bar.bar_in.gotoAndStop(2); }; this.live_flg = true; addEventListener(Event.ENTER_FRAME, onEnterFrame); } private function attack(_arg1){ this.cnt = 0; this.dmg = ((Math.floor((Math.random() * ((ATK_POWER_MAX - ATK_POWER_MIN) + Object(root).war_Adj_ATK[this.side]))) + ATK_POWER_MIN) + Object(root).war_Adj_ATK[this.side]); this.dmg = Math.floor(((this.dmg * (100 - Object(root).war_Adj_DEF_S[this.side])) / 100)); if (Object(root).war_Wall_ID == _arg1){ Object(root).dict[_arg1].kurai(this.dmg, this.scaleX, Object(root).dict[_arg1].x, this.y); } else { Object(root).dict[_arg1].kurai(this.dmg, this.scaleX, Object(root).dict[_arg1].x, Object(root).dict[_arg1].y); }; } function frame10(){ this.stop(); } function frame14(){ this.stop(); } function frame16(){ this.stop(); } function frame15(){ this.gotoAndPlay("mahi"); } function frame17(){ this.gotoAndPlay("nige"); } function frame3(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame7(){ this.stop(); } function frame1(){ this.stop(); } function frame11(){ this.stop(); } public function kurai(_arg1, _arg2, _arg3, _arg4){ this.dmg = _arg1; if (this.scaleX == _arg2){ this.dmg = (this.dmg * 2); }; this.dmg = Math.floor((this.dmg * ((100 - (this.DEF_POWER + Object(root).war_Adj_DEF[this.side])) / 100))); this.hp = (this.hp - this.dmg); this.col_cnt = 3; this.transform.colorTransform = Object(root).color_red; Object(root).se_poko_flg = true; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC01_DMG(Object(root).e_id, _arg3, _arg4, this.dmg, _arg2); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); if (this.move_mode != "kurai"){ this.gotoAndPlay("itai"); this.move_mode = "kurai"; this.yy = this.y; this.ys = -1; this.xs = (4 * _arg2); }; if ((((this.hp < 1)) && (this.live_flg))){ var _local5 = Object(root).war_UnitCnt[this.side]; var _local6 = this.type; var _local7 = (_local5[_local6] - 1); _local5[_local6] = _local7; _local5 = Object(root).war_TotalUnitCnt; _local6 = this.side; _local7 = (_local5[_local6] - 1); _local5[_local6] = _local7; i = 0; while (i < Object(root).war_UnitID[this.side].length) { if (Object(root).war_UnitID[this.side][i] == this.id){ Object(root).war_UnitID[this.side].splice(i, 1); break; }; i++; }; if ((((Object(root).war_TotalUnitCnt[(1 - this.side)] < 50)) && ((Math.floor((Math.random() * 100)) < Object(root).war_Brain[(1 - this.side)])))){ Object(root).se_brain_flg = true; _local5 = Object(root).war_UnitCnt_Brain[(1 - this.side)]; _local6 = this.type; _local7 = (_local5[_local6] + 1); _local5[_local6] = _local7; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC22_BRAIN_WASH(Object(root).e_id, this.x, this.y, this.scaleX, this.type); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); this.brain_flg = true; } else { Object(root).yarare_set(); if (Object(root).war_Capture[(1 - this.side)] > 0){ Object(root).se_buy_flg = true; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC06_TAC_EFFECT(Object(root).e_id, this.x, (this.y - 10), (6 + (Object(root).war_Capture[(1 - this.side)] / 5))); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); if (this.side == 0){ Object(root).gold[Object(root).ken_side[Object(root).ken_def_id]] = (Object(root).gold[Object(root).ken_side[Object(root).ken_def_id]] + Object(root).war_Capture[(1 - this.side)]); } else { Object(root).gold[Object(root).ken_side[Object(root).ken_atk_id]] = (Object(root).gold[Object(root).ken_side[Object(root).ken_atk_id]] + Object(root).war_Capture[(1 - this.side)]); }; }; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC02_UNITDOWN(Object(root).e_id, this.x, this.y, this.scaleX, this.type); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); }; this.live_flg = false; this.visible = false; Object(root).dict[("SHADOW" + this.id)].visible = false; Object(root).unit_y_adj(this.side, this.type); return; }; } function frame13(){ this.stop(); } function frame9(){ this.stop(); } function frame12(){ this.gotoAndPlay("stay"); } function frame8(){ this.gotoAndPlay("stay"); } function frame2(){ this.gotoAndPlay("stay"); } public function resurrect(_arg1){ this.hp = _arg1; var _local2 = Object(root).war_UnitCnt[this.side]; var _local3 = this.type; var _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = Object(root).war_TotalUnitCnt; _local3 = this.side; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; Object(root).war_UnitID[this.side].push(this.id); this.live_flg = true; this.visible = true; Object(root).dict[("SHADOW" + this.id)].visible = true; Object(root).unit_y_adj(this.side, this.type); this.gotoAndPlay("stay"); this.move_mode = Object(root).war_UnitMode[this.side][this.type]; } function frame6(){ this.stop(); } public function onEnterFrame(_arg1:Event){ if (((((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))) && (this.live_flg))){ this.nextFrame(); this.hp_bar.bar_in.scaleX = (this.hp / this.MAX_HP); this.cnt++; this.SPEED = (this.BASE_SPEED + Object(root).war_Adj_SPEED[this.side]); this.dis = 99999; i = 0; while (i < Object(root).war_UnitID[(1 - this.side)].length) { wrk_id = Object(root).war_UnitID[(1 - this.side)][i]; if (Object(root).dict[wrk_id].live_flg){ this.wx = Object(root).dict[wrk_id].x; if (this.wx > this.x){ this.wx = (this.wx - this.ATK_RANGE); } else { this.wx = (this.wx + this.ATK_RANGE); }; if (Object(root).war_Wall_ID == wrk_id){ this.wy = this.y; } else { this.wy = Object(root).dict[wrk_id].y; }; this.wrk_dis = Math.sqrt((Math.pow((this.wx - this.x), 2) + Math.pow((this.wy - this.y), 2))); if (this.dis > this.wrk_dis){ this.dis = this.wrk_dis; this.tid = wrk_id; }; }; i++; }; if (Object(root).dict[this.tid].live_flg){ this.tx = Object(root).dict[this.tid].x; if (Object(root).war_Wall_ID == this.tid){ this.ty = this.y; } else { this.ty = Object(root).dict[this.tid].y; }; if (this.tx > this.x){ this.scaleX = 1; this.tx = (this.tx - this.ATK_RANGE); } else { this.scaleX = -1; this.tx = (this.tx + this.ATK_RANGE); }; this.ty = (this.ty + (((this.id % 25) * 2) - 24)); }; if (((!((this.move_mode == "kurai"))) && (!((this.move_mode == "mahi"))))){ if ((((Object(root).war_Escape_Mode > 0)) && ((this.side == 0)))){ this.move_mode = "escape"; } else { this.move_mode = Object(root).war_UnitMode[this.side][this.type]; }; }; switch (this.move_mode){ case "attack": if (this.dis < this.ATK_RANGE){ if ((((this.cnt > this.ATK_SPEED)) && ((this.currentFrame < 3)))){ Object(root).se_yari_flg = true; this.gotoAndPlay("attack"); }; } else { this.t_rot = ((Math.atan2((this.ty - this.y), (this.tx - this.x)) * 180) / Math.PI); this.xs = (Math.cos(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.ys = (Math.sin(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.x = (this.x + this.xs); this.y = (this.y + this.ys); }; if ((((this.currentFrame == 5)) && ((this.dis < (this.ATK_RANGE + 20))))){ attack(this.tid); }; break; case "deffence": this.dx = Object(root).war_UnitX[this.side][this.type]; this.wrk_dis = Math.sqrt((Math.pow((this.dx - this.x), 2) + Math.pow((this.dy - this.y), 2))); if (this.wrk_dis < this.SPEED){ this.x = this.dx; this.y = this.dy; } else { this.t_rot = ((Math.atan2((this.dy - this.y), (this.dx - this.x)) * 180) / Math.PI); this.xs = (Math.cos(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.ys = (Math.sin(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.x = (this.x + this.xs); this.y = (this.y + this.ys); }; if (this.dis < this.ATK_RANGE){ if ((((this.cnt > this.ATK_SPEED)) && ((this.currentFrame < 3)))){ Object(root).se_swing_flg = true; this.gotoAndPlay("attack"); }; if (this.currentFrame == 4){ attack(this.tid); }; }; break; case "escape": this.gotoAndPlay("nige"); this.x = (this.x - (this.SPEED * Object(root).war_Escape_Mode)); this.scaleX = -1; if (Math.floor((Math.random() * 25)) == 1){ Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC05_ASE(Object(root).e_id, this.x, this.y); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); }; if (this.x < 16){ Object(root).war_Escape_UnitCnt++; i = 0; while (i < Object(root).war_UnitID[this.side].length) { if (Object(root).war_UnitID[this.side][i] == this.id){ Object(root).war_UnitID[this.side].splice(i, 1); break; }; i++; }; this.live_flg = false; this.visible = false; Object(root).dict[("SHADOW" + this.id)].visible = false; this.brain_flg = true; }; break; case "kurai": this.ys++; this.x = (this.x + this.xs); this.y = (this.y + this.ys); if (this.y >= this.yy){ this.y = this.yy; if (this.mahi_cnt <= 0){ this.gotoAndPlay("stay"); this.move_mode = Object(root).war_UnitMode[this.side][this.type]; } else { this.gotoAndPlay("mahi"); this.move_mode = "mahi"; }; }; break; case "mahi": this.mahi_cnt--; if (this.mahi_cnt <= 0){ this.gotoAndPlay("stay"); this.move_mode = Object(root).war_UnitMode[this.side][this.type]; }; break; }; if (this.x < 16){ this.x = 16; } else { if (this.x > 624){ this.x = 624; }; }; if (this.y < 66){ this.y = 66; } else { if (this.y > 384){ this.y = 384; }; }; Object(root).dict[("SHADOW" + this.id)].x = this.x; if (this.move_mode == "kurai"){ Object(root).dict[("SHADOW" + this.id)].y = (this.yy + 17); } else { Object(root).dict[("SHADOW" + this.id)].y = (this.y + 17); }; if ((((this.side == 0)) && (Object(root).dict[Object(root).war_Wall_ID]))){ if ((((this.x >= (Object(root).dict[Object(root).war_Wall_ID].x - 32))) && (Object(root).dict[Object(root).war_Wall_ID].live_flg))){ this.x = (Object(root).dict[Object(root).war_Wall_ID].x - 32); }; }; this.col_cnt--; if (this.col_cnt < 1){ this.transform.colorTransform = Object(root).color_normal; }; }; } public function kill(){ Object(root).dict["f_shadow"].removeChild(Object(root).dict[("SHADOW" + this.id)]); Object(root).dict[("SHADOW" + this.id)] = null; delete Object(root).dict[("SHADOW" + this.id)]; removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[this.id] = null; delete Object(root).dict[this.id]; this.parent.removeChild(this); } public function mahi(_arg1){ this.mahi_cnt = _arg1; if (this.move_mode != "kurai"){ this.gotoAndPlay("mahi"); this.move_mode = "mahi"; }; } public function heal(_arg1, _arg2, _arg3){ this.dmg = _arg1; this.hp = (this.hp + this.dmg); if (this.hp > this.MAX_HP){ this.hp = this.MAX_HP; }; this.col_cnt = 3; this.transform.colorTransform = Object(root).color_white; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC08_HEAL(Object(root).e_id, _arg2, _arg3, this.dmg); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); Object(root).se_heal_flg = true; } } }//package
Section 202
//UNIT05_HEAL (UNIT05_HEAL) package { import flash.display.*; import flash.events.*; public class UNIT05_HEAL extends MovieClip { private var DEF_POWER:int;// = 5 private var SPEED:Number;// = 0 private var col_cnt:Number;// = 0 public var hp_bar:HP_BAR; private var i:int;// = 0 private var tx:Number;// = 0 private var ty:Number;// = 0 private var tid:int;// = 0 public var dx:Number;// = 0 private var dis:Number;// = 0 private var ATK_RANGE:int;// = 40 public var live_flg:Boolean;// = true public var dy:Number;// = 0 private var wrk_dis:Number;// = 0 private var wrk_id:int;// = 0 private var ATK_POWER_MIN:int;// = 70 private var wx:Number;// = 0 private var wrk_x:Number;// = 0 private var wrk_y:Number;// = 0 private var wy:Number;// = 0 private var dmg:int;// = 0 private var xs:Number;// = 0 public var hp:int;// = 0 private var ys:Number;// = 0 private var id:int;// = 0 private var yy:Number;// = 0 private var BASE_SPEED:Number;// = 3.5 public var type:int;// = 5 public var side:int;// = 0 private var move_mode:String;// = "" private var cnt:int;// = 0 public var brain_flg:Boolean;// = false private var ATK_SPEED:int;// = 100 private var t_rot:Number;// = 0 private var mahi_cnt:int;// = 0 private var ATK_POWER_MAX:int;// = 100 public var MAX_HP:int;// = 200 public function UNIT05_HEAL(_arg1, _arg2, _arg3, _arg4){ type = 5; BASE_SPEED = 3.5; SPEED = 0; ATK_SPEED = 100; ATK_RANGE = 40; ATK_POWER_MAX = 100; ATK_POWER_MIN = 70; DEF_POWER = 5; MAX_HP = 200; id = 0; side = 0; hp = 0; move_mode = ""; yy = 0; ys = 0; xs = 0; col_cnt = 0; cnt = 0; i = 0; dmg = 0; tid = 0; dis = 0; wrk_id = 0; wrk_dis = 0; wx = 0; wy = 0; tx = 0; ty = 0; dx = 0; dy = 0; t_rot = 0; mahi_cnt = 0; live_flg = true; brain_flg = false; wrk_x = 0; wrk_y = 0; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16); this.id = _arg1; this.hp = this.MAX_HP; this.x = _arg2; this.y = _arg3; this.cnt = Math.floor((Math.random() * this.ATK_SPEED)); this.dx = _arg2; this.dy = _arg3; this.side = _arg4; if (this.side == 1){ this.scaleX = -1; this.hp_bar.bar_in.gotoAndStop(2); }; this.live_flg = true; addEventListener(Event.ENTER_FRAME, onEnterFrame); } private function attack(_arg1){ this.cnt = 0; this.dmg = ((Math.floor((Math.random() * ((ATK_POWER_MAX - ATK_POWER_MIN) + Object(root).war_Adj_ATK[this.side]))) + ATK_POWER_MIN) + Object(root).war_Adj_ATK[this.side]); this.tx = Object(root).dict[_arg1].x; this.ty = Object(root).dict[_arg1].y; i = 0; while (i < 16) { wrk_x = (Math.floor((Math.random() * 60)) - 30); wrk_y = (Math.floor((Math.random() * 60)) - 30); Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC16_HEAL_EFFECT(Object(root).e_id, (this.tx + wrk_x), (this.ty + wrk_y)); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); i++; }; if (Object(root).war_Wall_ID == _arg1){ Object(root).dict[_arg1].heal(this.dmg, this.tx, this.y); } else { Object(root).dict[_arg1].heal(this.dmg, this.tx, this.ty); }; } function frame10(){ this.stop(); } function frame14(){ this.gotoAndPlay("mahi"); } function frame16(){ this.gotoAndPlay("nige"); } function frame15(){ this.stop(); } function frame3(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame7(){ this.gotoAndPlay("stay"); } function frame1(){ this.stop(); } function frame11(){ this.gotoAndPlay("stay"); } public function kurai(_arg1, _arg2, _arg3, _arg4){ this.dmg = _arg1; if (this.scaleX == _arg2){ this.dmg = (this.dmg * 2); }; this.dmg = Math.floor((this.dmg * ((100 - (this.DEF_POWER + Object(root).war_Adj_DEF[this.side])) / 100))); this.hp = (this.hp - this.dmg); this.col_cnt = 3; this.transform.colorTransform = Object(root).color_red; Object(root).se_poko_flg = true; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC01_DMG(Object(root).e_id, _arg3, _arg4, this.dmg, _arg2); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); if (this.move_mode != "kurai"){ this.gotoAndPlay("itai"); this.move_mode = "kurai"; this.yy = this.y; this.ys = -3; this.xs = (4 * _arg2); }; if ((((this.hp < 1)) && (this.live_flg))){ var _local5 = Object(root).war_UnitCnt[this.side]; var _local6 = this.type; var _local7 = (_local5[_local6] - 1); _local5[_local6] = _local7; _local5 = Object(root).war_TotalUnitCnt; _local6 = this.side; _local7 = (_local5[_local6] - 1); _local5[_local6] = _local7; i = 0; while (i < Object(root).war_UnitID[this.side].length) { if (Object(root).war_UnitID[this.side][i] == this.id){ Object(root).war_UnitID[this.side].splice(i, 1); break; }; i++; }; if ((((Object(root).war_TotalUnitCnt[(1 - this.side)] < 50)) && ((Math.floor((Math.random() * 100)) < Object(root).war_Brain[(1 - this.side)])))){ Object(root).se_brain_flg = true; _local5 = Object(root).war_UnitCnt_Brain[(1 - this.side)]; _local6 = this.type; _local7 = (_local5[_local6] + 1); _local5[_local6] = _local7; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC22_BRAIN_WASH(Object(root).e_id, this.x, this.y, this.scaleX, this.type); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); this.brain_flg = true; } else { Object(root).yarare_set(); if (Object(root).war_Capture[(1 - this.side)] > 0){ Object(root).se_buy_flg = true; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC06_TAC_EFFECT(Object(root).e_id, this.x, (this.y - 10), (6 + (Object(root).war_Capture[(1 - this.side)] / 5))); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); if (this.side == 0){ Object(root).gold[Object(root).ken_side[Object(root).ken_def_id]] = (Object(root).gold[Object(root).ken_side[Object(root).ken_def_id]] + Object(root).war_Capture[(1 - this.side)]); } else { Object(root).gold[Object(root).ken_side[Object(root).ken_atk_id]] = (Object(root).gold[Object(root).ken_side[Object(root).ken_atk_id]] + Object(root).war_Capture[(1 - this.side)]); }; }; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC02_UNITDOWN(Object(root).e_id, this.x, this.y, this.scaleX, this.type); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); }; this.live_flg = false; this.visible = false; Object(root).dict[("SHADOW" + this.id)].visible = false; Object(root).unit_y_adj(this.side, this.type); return; }; } function frame13(){ this.stop(); } function frame9(){ this.stop(); } function frame12(){ this.stop(); } function frame8(){ this.stop(); } function frame2(){ this.gotoAndStop("stay"); } public function resurrect(_arg1){ this.hp = _arg1; var _local2 = Object(root).war_UnitCnt[this.side]; var _local3 = this.type; var _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = Object(root).war_TotalUnitCnt; _local3 = this.side; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; Object(root).war_UnitID[this.side].push(this.id); this.live_flg = true; this.visible = true; Object(root).dict[("SHADOW" + this.id)].visible = true; Object(root).unit_y_adj(this.side, this.type); this.gotoAndPlay("stay"); this.move_mode = Object(root).war_UnitMode[this.side][this.type]; } function frame6(){ this.stop(); } public function onEnterFrame(_arg1:Event){ if (((((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))) && (this.live_flg))){ this.nextFrame(); this.hp_bar.bar_in.scaleX = (this.hp / this.MAX_HP); this.cnt++; this.SPEED = (this.BASE_SPEED + Object(root).war_Adj_SPEED[this.side]); this.dis = 99999; i = 0; while (i < Object(root).war_UnitID[this.side].length) { wrk_id = Object(root).war_UnitID[this.side][i]; if (((((((Object(root).dict[wrk_id].live_flg) && ((Object(root).dict[wrk_id].hp < Object(root).dict[wrk_id].MAX_HP)))) && ((Object(root).dict[wrk_id].type > -1)))) && (!((this.id == wrk_id))))){ this.wx = Object(root).dict[wrk_id].x; if (this.wx > this.x){ this.wx = (this.wx - this.ATK_RANGE); } else { this.wx = (this.wx + this.ATK_RANGE); }; if (Object(root).war_Wall_ID == wrk_id){ this.wy = this.y; } else { this.wy = Object(root).dict[wrk_id].y; }; this.wrk_dis = Math.sqrt((Math.pow((this.wx - this.x), 2) + Math.pow((this.wy - this.y), 2))); if (this.dis > this.wrk_dis){ this.dis = this.wrk_dis; this.tid = wrk_id; }; }; i++; }; if (this.dis < 99999){ if (Object(root).dict[this.tid].live_flg){ this.tx = Object(root).dict[this.tid].x; if (Object(root).war_Wall_ID == this.tid){ this.ty = this.y; } else { this.ty = Object(root).dict[this.tid].y; }; if (this.tx > this.x){ this.scaleX = 1; } else { this.scaleX = -1; }; this.ty = (this.ty + (((this.id % 25) * 2) - 24)); }; }; if (((!((this.move_mode == "kurai"))) && (!((this.move_mode == "mahi"))))){ if ((((Object(root).war_Escape_Mode > 0)) && ((this.side == 0)))){ this.move_mode = "escape"; } else { this.move_mode = Object(root).war_UnitMode[this.side][this.type]; }; }; switch (this.move_mode){ case "attack": if (this.dis < 99999){ if (this.dis < this.ATK_RANGE){ if ((((this.cnt > this.ATK_SPEED)) && ((this.currentFrame < 3)))){ this.gotoAndPlay("attack"); }; } else { this.t_rot = ((Math.atan2((this.ty - this.y), (this.tx - this.x)) * 180) / Math.PI); this.xs = (Math.cos(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.ys = (Math.sin(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.x = (this.x + this.xs); this.y = (this.y + this.ys); }; if (this.currentFrame == 7){ attack(this.tid); }; }; break; case "deffence": this.dx = Object(root).war_UnitX[this.side][this.type]; this.wrk_dis = Math.sqrt((Math.pow((this.dx - this.x), 2) + Math.pow((this.dy - this.y), 2))); if (this.wrk_dis < this.SPEED){ this.x = this.dx; this.y = this.dy; } else { this.t_rot = ((Math.atan2((this.dy - this.y), (this.dx - this.x)) * 180) / Math.PI); this.xs = (Math.cos(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.ys = (Math.sin(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.x = (this.x + this.xs); this.y = (this.y + this.ys); }; if (this.dis < this.ATK_RANGE){ if ((((this.cnt > this.ATK_SPEED)) && ((this.currentFrame < 3)))){ this.gotoAndPlay("attack"); }; if (this.currentFrame == 7){ attack(this.tid); }; }; break; case "escape": this.gotoAndPlay("nige"); this.x = (this.x - (this.SPEED * Object(root).war_Escape_Mode)); this.scaleX = -1; if (Math.floor((Math.random() * 25)) == 1){ Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC05_ASE(Object(root).e_id, this.x, this.y); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); }; if (this.x < 16){ Object(root).war_Escape_UnitCnt++; i = 0; while (i < Object(root).war_UnitID[this.side].length) { if (Object(root).war_UnitID[this.side][i] == this.id){ Object(root).war_UnitID[this.side].splice(i, 1); break; }; i++; }; this.live_flg = false; this.visible = false; Object(root).dict[("SHADOW" + this.id)].visible = false; this.brain_flg = true; }; break; case "kurai": this.ys++; this.x = (this.x + this.xs); this.y = (this.y + this.ys); if (this.y >= this.yy){ this.y = this.yy; if (this.mahi_cnt <= 0){ this.gotoAndPlay("stay"); this.move_mode = Object(root).war_UnitMode[this.side][this.type]; } else { this.gotoAndPlay("mahi"); this.move_mode = "mahi"; }; }; break; case "mahi": this.mahi_cnt--; if (this.mahi_cnt <= 0){ this.gotoAndPlay("stay"); this.move_mode = Object(root).war_UnitMode[this.side][this.type]; }; break; }; if (this.x < 16){ this.x = 16; } else { if (this.x > 624){ this.x = 624; }; }; if (this.y < 66){ this.y = 66; } else { if (this.y > 384){ this.y = 384; }; }; Object(root).dict[("SHADOW" + this.id)].x = this.x; if (this.move_mode == "kurai"){ Object(root).dict[("SHADOW" + this.id)].y = (this.yy + 17); } else { Object(root).dict[("SHADOW" + this.id)].y = (this.y + 17); }; if ((((this.side == 0)) && (Object(root).dict[Object(root).war_Wall_ID]))){ if ((((this.x >= (Object(root).dict[Object(root).war_Wall_ID].x - 32))) && (Object(root).dict[Object(root).war_Wall_ID].live_flg))){ this.x = (Object(root).dict[Object(root).war_Wall_ID].x - 32); }; }; this.col_cnt--; if (this.col_cnt < 1){ this.transform.colorTransform = Object(root).color_normal; }; }; } public function kill(){ Object(root).dict["f_shadow"].removeChild(Object(root).dict[("SHADOW" + this.id)]); Object(root).dict[("SHADOW" + this.id)] = null; delete Object(root).dict[("SHADOW" + this.id)]; removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[this.id] = null; delete Object(root).dict[this.id]; this.parent.removeChild(this); } public function mahi(_arg1){ this.mahi_cnt = _arg1; if (this.move_mode != "kurai"){ this.gotoAndPlay("mahi"); this.move_mode = "mahi"; }; } public function heal(_arg1, _arg2, _arg3){ this.dmg = _arg1; this.hp = (this.hp + this.dmg); if (this.hp > this.MAX_HP){ this.hp = this.MAX_HP; }; this.col_cnt = 3; this.transform.colorTransform = Object(root).color_white; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC08_HEAL(Object(root).e_id, _arg2, _arg3, this.dmg); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); Object(root).se_heal_flg = true; } } }//package
Section 203
//UNIT06_REPAIR (UNIT06_REPAIR) package { import flash.display.*; import flash.events.*; public class UNIT06_REPAIR extends MovieClip { private var DEF_POWER:int;// = 5 private var SPEED:Number;// = 0 private var col_cnt:Number;// = 0 public var hp_bar:HP_BAR; private var i:int;// = 0 private var tx:Number;// = 0 private var ty:Number;// = 0 private var tid:int;// = 0 public var dx:Number;// = 0 private var dis:Number;// = 0 private var ATK_RANGE:int;// = 40 public var live_flg:Boolean;// = true public var dy:Number;// = 0 private var wrk_dis:Number;// = 0 private var wrk_id:int;// = 0 private var ATK_POWER_MIN:int;// = 80 private var wx:Number;// = 0 private var wrk_x:Number;// = 0 private var wrk_y:Number;// = 0 private var wy:Number;// = 0 private var dmg:int;// = 0 private var xs:Number;// = 0 public var hp:int;// = 0 private var ys:Number;// = 0 private var id:int;// = 0 private var yy:Number;// = 0 private var BASE_SPEED:Number;// = 3.5 public var type:int;// = 6 public var side:int;// = 0 private var move_mode:String;// = "" private var cnt:int;// = 0 public var brain_flg:Boolean;// = false private var ATK_SPEED:int;// = 100 private var t_rot:Number;// = 0 private var mahi_cnt:int;// = 0 private var ATK_POWER_MAX:int;// = 100 public var MAX_HP:int;// = 200 public function UNIT06_REPAIR(_arg1, _arg2, _arg3, _arg4){ type = 6; BASE_SPEED = 3.5; SPEED = 0; ATK_SPEED = 100; ATK_RANGE = 40; ATK_POWER_MAX = 100; ATK_POWER_MIN = 80; DEF_POWER = 5; MAX_HP = 200; id = 0; side = 0; hp = 0; move_mode = ""; yy = 0; ys = 0; xs = 0; col_cnt = 0; cnt = 0; i = 0; dmg = 0; tid = 0; dis = 0; wrk_id = 0; wrk_dis = 0; wx = 0; wy = 0; tx = 0; ty = 0; dx = 0; dy = 0; t_rot = 0; mahi_cnt = 0; live_flg = true; brain_flg = false; wrk_x = 0; wrk_y = 0; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16); this.id = _arg1; this.hp = this.MAX_HP; this.x = _arg2; this.y = _arg3; this.cnt = Math.floor((Math.random() * this.ATK_SPEED)); this.dx = _arg2; this.dy = _arg3; this.side = _arg4; if (this.side == 1){ this.scaleX = -1; this.hp_bar.bar_in.gotoAndStop(2); }; this.live_flg = true; addEventListener(Event.ENTER_FRAME, onEnterFrame); } private function attack(_arg1){ this.cnt = 0; this.dmg = ((Math.floor((Math.random() * ((ATK_POWER_MAX - ATK_POWER_MIN) + Object(root).war_Adj_ATK[this.side]))) + ATK_POWER_MIN) + Object(root).war_Adj_ATK[this.side]); this.tx = Object(root).dict[_arg1].x; this.ty = Object(root).dict[_arg1].y; i = 0; while (i < 16) { wrk_x = (Math.floor((Math.random() * 60)) - 30); wrk_y = (Math.floor((Math.random() * 60)) - 30); Object(root).e_id++; if (Object(root).war_Wall_ID == _arg1){ Object(root).dict[("ETC" + Object(root).e_id)] = new ETC09_REPAIR_EFFECT(Object(root).e_id, (this.tx + wrk_x), (this.y + wrk_y)); } else { Object(root).dict[("ETC" + Object(root).e_id)] = new ETC09_REPAIR_EFFECT(Object(root).e_id, (this.tx + wrk_x), (this.ty + wrk_y)); }; Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); i++; }; if (Object(root).war_Wall_ID == _arg1){ Object(root).dict[_arg1].heal(this.dmg, this.tx, this.y); } else { Object(root).dict[_arg1].heal(this.dmg, this.tx, this.ty); }; } function frame10(){ this.stop(); } function frame14(){ this.gotoAndPlay("mahi"); } function frame16(){ this.gotoAndPlay("nige"); } function frame15(){ this.stop(); } function frame3(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame7(){ this.gotoAndPlay("stay"); } function frame1(){ this.stop(); } function frame11(){ this.gotoAndPlay("stay"); } public function kurai(_arg1, _arg2, _arg3, _arg4){ this.dmg = _arg1; if (this.scaleX == _arg2){ this.dmg = (this.dmg * 2); }; this.dmg = Math.floor((this.dmg * ((100 - (this.DEF_POWER + Object(root).war_Adj_DEF[this.side])) / 100))); this.hp = (this.hp - this.dmg); this.col_cnt = 3; this.transform.colorTransform = Object(root).color_red; Object(root).se_poko_flg = true; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC01_DMG(Object(root).e_id, _arg3, _arg4, this.dmg, _arg2); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); if (this.move_mode != "kurai"){ this.gotoAndPlay("itai"); this.move_mode = "kurai"; this.yy = this.y; this.ys = -3; this.xs = (4 * _arg2); }; if ((((this.hp < 1)) && (this.live_flg))){ var _local5 = Object(root).war_UnitCnt[this.side]; var _local6 = this.type; var _local7 = (_local5[_local6] - 1); _local5[_local6] = _local7; _local5 = Object(root).war_TotalUnitCnt; _local6 = this.side; _local7 = (_local5[_local6] - 1); _local5[_local6] = _local7; i = 0; while (i < Object(root).war_UnitID[this.side].length) { if (Object(root).war_UnitID[this.side][i] == this.id){ Object(root).war_UnitID[this.side].splice(i, 1); break; }; i++; }; if ((((Object(root).war_TotalUnitCnt[(1 - this.side)] < 50)) && ((Math.floor((Math.random() * 100)) < Object(root).war_Brain[(1 - this.side)])))){ Object(root).se_brain_flg = true; _local5 = Object(root).war_UnitCnt_Brain[(1 - this.side)]; _local6 = this.type; _local7 = (_local5[_local6] + 1); _local5[_local6] = _local7; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC22_BRAIN_WASH(Object(root).e_id, this.x, this.y, this.scaleX, this.type); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); this.brain_flg = true; } else { Object(root).yarare_set(); if (Object(root).war_Capture[(1 - this.side)] > 0){ Object(root).se_buy_flg = true; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC06_TAC_EFFECT(Object(root).e_id, this.x, (this.y - 10), (6 + (Object(root).war_Capture[(1 - this.side)] / 5))); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); if (this.side == 0){ Object(root).gold[Object(root).ken_side[Object(root).ken_def_id]] = (Object(root).gold[Object(root).ken_side[Object(root).ken_def_id]] + Object(root).war_Capture[(1 - this.side)]); } else { Object(root).gold[Object(root).ken_side[Object(root).ken_atk_id]] = (Object(root).gold[Object(root).ken_side[Object(root).ken_atk_id]] + Object(root).war_Capture[(1 - this.side)]); }; }; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC02_UNITDOWN(Object(root).e_id, this.x, this.y, this.scaleX, this.type); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); }; this.live_flg = false; this.visible = false; Object(root).dict[("SHADOW" + this.id)].visible = false; Object(root).unit_y_adj(this.side, this.type); return; }; } function frame13(){ this.stop(); } function frame9(){ this.stop(); } function frame12(){ this.stop(); } function frame8(){ this.stop(); } function frame2(){ this.gotoAndStop("stay"); } public function resurrect(_arg1){ this.hp = _arg1; var _local2 = Object(root).war_UnitCnt[this.side]; var _local3 = this.type; var _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = Object(root).war_TotalUnitCnt; _local3 = this.side; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; Object(root).war_UnitID[this.side].push(this.id); this.live_flg = true; this.visible = true; Object(root).dict[("SHADOW" + this.id)].visible = true; Object(root).unit_y_adj(this.side, this.type); this.gotoAndPlay("stay"); this.move_mode = Object(root).war_UnitMode[this.side][this.type]; } function frame6(){ this.stop(); } public function onEnterFrame(_arg1:Event){ if (((((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))) && (this.live_flg))){ this.nextFrame(); this.hp_bar.bar_in.scaleX = (this.hp / this.MAX_HP); this.cnt++; this.SPEED = (this.BASE_SPEED + Object(root).war_Adj_SPEED[this.side]); this.dis = 99999; i = 0; while (i < Object(root).war_UnitID[this.side].length) { wrk_id = Object(root).war_UnitID[this.side][i]; if (((((((Object(root).dict[wrk_id].live_flg) && ((Object(root).dict[wrk_id].hp < Object(root).dict[wrk_id].MAX_HP)))) && ((Object(root).dict[wrk_id].type < 0)))) && (!((this.id == wrk_id))))){ this.wx = Object(root).dict[wrk_id].x; if (this.wx > this.x){ this.wx = (this.wx - this.ATK_RANGE); } else { this.wx = (this.wx + this.ATK_RANGE); }; if (Object(root).war_Wall_ID == wrk_id){ this.wy = this.y; } else { this.wy = Object(root).dict[wrk_id].y; }; this.wrk_dis = Math.sqrt((Math.pow((this.wx - this.x), 2) + Math.pow((this.wy - this.y), 2))); if (this.dis > this.wrk_dis){ this.dis = this.wrk_dis; this.tid = wrk_id; }; }; i++; }; if (this.dis < 99999){ if (Object(root).dict[this.tid].live_flg){ this.tx = Object(root).dict[this.tid].x; if (Object(root).war_Wall_ID == this.tid){ this.ty = this.y; } else { this.ty = Object(root).dict[this.tid].y; }; if (this.tx > this.x){ this.scaleX = 1; } else { this.scaleX = -1; }; this.ty = (this.ty + (((this.id % 25) * 2) - 24)); }; }; if (((!((this.move_mode == "kurai"))) && (!((this.move_mode == "mahi"))))){ if ((((Object(root).war_Escape_Mode > 0)) && ((this.side == 0)))){ this.move_mode = "escape"; } else { this.move_mode = Object(root).war_UnitMode[this.side][this.type]; }; }; switch (this.move_mode){ case "attack": if (this.dis < 99999){ if (this.dis < this.ATK_RANGE){ if ((((this.cnt > this.ATK_SPEED)) && ((this.currentFrame < 3)))){ this.gotoAndPlay("attack"); }; } else { this.t_rot = ((Math.atan2((this.ty - this.y), (this.tx - this.x)) * 180) / Math.PI); this.xs = (Math.cos(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.ys = (Math.sin(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.x = (this.x + this.xs); this.y = (this.y + this.ys); }; if (this.currentFrame == 7){ attack(this.tid); }; }; break; case "deffence": this.dx = Object(root).war_UnitX[this.side][this.type]; this.wrk_dis = Math.sqrt((Math.pow((this.dx - this.x), 2) + Math.pow((this.dy - this.y), 2))); if (this.wrk_dis < this.SPEED){ this.x = this.dx; this.y = this.dy; } else { this.t_rot = ((Math.atan2((this.dy - this.y), (this.dx - this.x)) * 180) / Math.PI); this.xs = (Math.cos(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.ys = (Math.sin(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.x = (this.x + this.xs); this.y = (this.y + this.ys); }; if (this.dis < this.ATK_RANGE){ if ((((this.cnt > this.ATK_SPEED)) && ((this.currentFrame < 3)))){ this.gotoAndPlay("attack"); }; if (this.currentFrame == 7){ attack(this.tid); }; }; break; case "escape": this.gotoAndPlay("nige"); this.x = (this.x - (this.SPEED * Object(root).war_Escape_Mode)); this.scaleX = -1; if (Math.floor((Math.random() * 25)) == 1){ Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC05_ASE(Object(root).e_id, this.x, this.y); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); }; if (this.x < 16){ Object(root).war_Escape_UnitCnt++; i = 0; while (i < Object(root).war_UnitID[this.side].length) { if (Object(root).war_UnitID[this.side][i] == this.id){ Object(root).war_UnitID[this.side].splice(i, 1); break; }; i++; }; this.live_flg = false; this.visible = false; Object(root).dict[("SHADOW" + this.id)].visible = false; this.brain_flg = true; }; break; case "kurai": this.ys++; this.x = (this.x + this.xs); this.y = (this.y + this.ys); if (this.y >= this.yy){ this.y = this.yy; if (this.mahi_cnt <= 0){ this.gotoAndPlay("stay"); this.move_mode = Object(root).war_UnitMode[this.side][this.type]; } else { this.gotoAndPlay("mahi"); this.move_mode = "mahi"; }; }; break; case "mahi": this.mahi_cnt--; if (this.mahi_cnt <= 0){ this.gotoAndPlay("stay"); this.move_mode = Object(root).war_UnitMode[this.side][this.type]; }; break; }; if (this.x < 16){ this.x = 16; } else { if (this.x > 624){ this.x = 624; }; }; if (this.y < 66){ this.y = 66; } else { if (this.y > 384){ this.y = 384; }; }; Object(root).dict[("SHADOW" + this.id)].x = this.x; if (this.move_mode == "kurai"){ Object(root).dict[("SHADOW" + this.id)].y = (this.yy + 17); } else { Object(root).dict[("SHADOW" + this.id)].y = (this.y + 17); }; if ((((this.side == 0)) && (Object(root).dict[Object(root).war_Wall_ID]))){ if ((((this.x >= (Object(root).dict[Object(root).war_Wall_ID].x - 32))) && (Object(root).dict[Object(root).war_Wall_ID].live_flg))){ this.x = (Object(root).dict[Object(root).war_Wall_ID].x - 32); }; }; this.col_cnt--; if (this.col_cnt < 1){ this.transform.colorTransform = Object(root).color_normal; }; }; } public function kill(){ Object(root).dict["f_shadow"].removeChild(Object(root).dict[("SHADOW" + this.id)]); Object(root).dict[("SHADOW" + this.id)] = null; delete Object(root).dict[("SHADOW" + this.id)]; removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[this.id] = null; delete Object(root).dict[this.id]; this.parent.removeChild(this); } public function mahi(_arg1){ this.mahi_cnt = _arg1; if (this.move_mode != "kurai"){ this.gotoAndPlay("mahi"); this.move_mode = "mahi"; }; } public function heal(_arg1, _arg2, _arg3){ this.dmg = _arg1; this.hp = (this.hp + this.dmg); if (this.hp > this.MAX_HP){ this.hp = this.MAX_HP; }; this.col_cnt = 3; this.transform.colorTransform = Object(root).color_white; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC08_HEAL(Object(root).e_id, _arg2, _arg3, this.dmg); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); Object(root).se_heal_flg = true; } } }//package
Section 204
//UNIT07_NIN (UNIT07_NIN) package { import flash.display.*; import flash.events.*; public class UNIT07_NIN extends MovieClip { private var DEF_POWER:int;// = 25 private var SPEED:Number;// = 0 private var col_cnt:Number;// = 0 public var hp_bar:HP_BAR; private var i:int;// = 0 private var tx:Number;// = 0 private var ty:Number;// = 0 private var tid:int;// = 0 public var dx:Number;// = 0 private var dis:Number;// = 0 private var ATK_RANGE:int;// = 30 public var live_flg:Boolean;// = true public var dy:Number;// = 0 private var ATK_POWER_MAX2:int;// = 35 private var wrk_dis:Number;// = 0 private var wrk_id:int;// = 0 private var ATK_POWER_MIN:int;// = 15 private var wx:Number;// = 0 private var wy:Number;// = 0 private var dmg:int;// = 0 public var hp:int;// = 100 private var xs:Number;// = 0 private var dis_y:Number;// = 0 private var ys:Number;// = 0 private var id:int;// = 0 private var yy:Number;// = 0 private var BASE_SPEED:Number;// = 5 public var type:int;// = 7 public var side:int;// = 0 private var move_mode:String;// = "" private var cnt:int;// = 0 private var ATK_POWER_MIN2:int;// = 20 public var brain_flg:Boolean;// = false private var ATK_SPEED:int;// = 20 private var t_rot:Number;// = 0 private var mahi_cnt:int;// = 0 private var ATK_POWER_MAX:int;// = 25 public var MAX_HP:int;// = 300 public function UNIT07_NIN(_arg1, _arg2, _arg3, _arg4){ type = 7; BASE_SPEED = 5; SPEED = 0; ATK_SPEED = 20; ATK_RANGE = 30; ATK_POWER_MAX = 25; ATK_POWER_MIN = 15; ATK_POWER_MAX2 = 35; ATK_POWER_MIN2 = 20; DEF_POWER = 25; MAX_HP = 300; id = 0; side = 0; hp = 100; move_mode = ""; yy = 0; ys = 0; xs = 0; col_cnt = 0; cnt = 0; i = 0; dmg = 0; tid = 0; dis = 0; dis_y = 0; wrk_id = 0; wrk_dis = 0; wx = 0; wy = 0; tx = 0; ty = 0; dx = 0; dy = 0; t_rot = 0; mahi_cnt = 0; live_flg = true; brain_flg = false; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 20, frame21, 21, frame22); this.id = _arg1; this.hp = this.MAX_HP; this.x = _arg2; this.y = _arg3; this.cnt = Math.floor((Math.random() * this.ATK_SPEED)); this.dx = _arg2; this.dy = _arg3; this.side = _arg4; if (this.side == 1){ this.scaleX = -1; this.hp_bar.bar_in.gotoAndStop(2); }; this.live_flg = true; addEventListener(Event.ENTER_FRAME, onEnterFrame); } private function attack(_arg1){ this.cnt = 0; this.dmg = ((Math.floor((Math.random() * ((ATK_POWER_MAX2 - ATK_POWER_MIN2) + Object(root).war_Adj_ATK[this.side]))) + ATK_POWER_MIN2) + Object(root).war_Adj_ATK[this.side]); this.dmg = Math.floor(((this.dmg * (100 - Object(root).war_Adj_DEF_S[this.side])) / 100)); if (Object(root).war_Wall_ID == _arg1){ Object(root).dict[_arg1].kurai(this.dmg, this.scaleX, Object(root).dict[_arg1].x, this.y); } else { Object(root).dict[_arg1].kurai(this.dmg, this.scaleX, Object(root).dict[_arg1].x, Object(root).dict[_arg1].y); }; } function frame10(){ this.stop(); } function frame14(){ this.stop(); } function frame16(){ this.stop(); } function frame15(){ this.stop(); } function frame17(){ this.gotoAndPlay("stay"); } function frame18(){ this.stop(); } function frame3(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame7(){ this.stop(); } function frame1(){ this.stop(); } function frame19(){ this.stop(); } function frame11(){ this.stop(); } public function kurai(_arg1, _arg2, _arg3, _arg4){ this.dmg = _arg1; if (this.scaleX == _arg2){ this.dmg = (this.dmg * 2); }; this.dmg = Math.floor((this.dmg * ((100 - (this.DEF_POWER + Object(root).war_Adj_DEF[this.side])) / 100))); this.hp = (this.hp - this.dmg); this.col_cnt = 3; this.transform.colorTransform = Object(root).color_red; Object(root).se_poko_flg = true; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC01_DMG(Object(root).e_id, _arg3, _arg4, this.dmg, _arg2); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); if (this.move_mode != "kurai"){ this.gotoAndPlay("itai"); this.move_mode = "kurai"; this.yy = this.y; this.ys = -1; this.xs = (4 * _arg2); }; if ((((this.hp < 1)) && (this.live_flg))){ var _local5 = Object(root).war_UnitCnt[this.side]; var _local6 = this.type; var _local7 = (_local5[_local6] - 1); _local5[_local6] = _local7; _local5 = Object(root).war_TotalUnitCnt; _local6 = this.side; _local7 = (_local5[_local6] - 1); _local5[_local6] = _local7; i = 0; while (i < Object(root).war_UnitID[this.side].length) { if (Object(root).war_UnitID[this.side][i] == this.id){ Object(root).war_UnitID[this.side].splice(i, 1); break; }; i++; }; if ((((Object(root).war_TotalUnitCnt[(1 - this.side)] < 50)) && ((Math.floor((Math.random() * 100)) < Object(root).war_Brain[(1 - this.side)])))){ Object(root).se_brain_flg = true; _local5 = Object(root).war_UnitCnt_Brain[(1 - this.side)]; _local6 = this.type; _local7 = (_local5[_local6] + 1); _local5[_local6] = _local7; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC22_BRAIN_WASH(Object(root).e_id, this.x, this.y, this.scaleX, this.type); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); this.brain_flg = true; } else { Object(root).yarare_set(); if (Object(root).war_Capture[(1 - this.side)] > 0){ Object(root).se_buy_flg = true; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC06_TAC_EFFECT(Object(root).e_id, this.x, (this.y - 10), (6 + (Object(root).war_Capture[(1 - this.side)] / 5))); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); if (this.side == 0){ Object(root).gold[Object(root).ken_side[Object(root).ken_def_id]] = (Object(root).gold[Object(root).ken_side[Object(root).ken_def_id]] + Object(root).war_Capture[(1 - this.side)]); } else { Object(root).gold[Object(root).ken_side[Object(root).ken_atk_id]] = (Object(root).gold[Object(root).ken_side[Object(root).ken_atk_id]] + Object(root).war_Capture[(1 - this.side)]); }; }; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC02_UNITDOWN(Object(root).e_id, this.x, this.y, this.scaleX, this.type); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); }; this.live_flg = false; this.visible = false; Object(root).dict[("SHADOW" + this.id)].visible = false; Object(root).unit_y_adj(this.side, this.type); return; }; } function frame13(){ this.gotoAndPlay("stay"); } function frame9(){ this.stop(); } function frame12(){ this.stop(); } function frame22(){ this.gotoAndPlay("nige"); } function frame8(){ this.gotoAndPlay("stay"); } function frame2(){ this.gotoAndPlay("stay"); } function frame20(){ this.gotoAndPlay("mahi"); } function frame21(){ this.stop(); } public function resurrect(_arg1){ this.hp = _arg1; var _local2 = Object(root).war_UnitCnt[this.side]; var _local3 = this.type; var _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = Object(root).war_TotalUnitCnt; _local3 = this.side; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; Object(root).war_UnitID[this.side].push(this.id); this.live_flg = true; this.visible = true; Object(root).dict[("SHADOW" + this.id)].visible = true; Object(root).unit_y_adj(this.side, this.type); this.gotoAndPlay("stay"); this.move_mode = Object(root).war_UnitMode[this.side][this.type]; } public function onEnterFrame(_arg1:Event){ if (((((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))) && (this.live_flg))){ this.cnt++; this.nextFrame(); this.hp_bar.bar_in.scaleX = (this.hp / this.MAX_HP); this.SPEED = (this.BASE_SPEED + Object(root).war_Adj_SPEED[this.side]); this.dis = 99999; this.dis_y = 99999; i = 0; while (i < Object(root).war_UnitID[(1 - this.side)].length) { wrk_id = Object(root).war_UnitID[(1 - this.side)][i]; if (Object(root).dict[wrk_id].live_flg){ this.wx = Object(root).dict[wrk_id].x; if (this.wx > this.x){ this.wx = (this.wx - this.ATK_RANGE); } else { this.wx = (this.wx + this.ATK_RANGE); }; if (Object(root).war_Wall_ID == wrk_id){ this.wy = this.y; } else { this.wy = Object(root).dict[wrk_id].y; }; this.wrk_dis = Math.sqrt((Math.pow((this.wx - this.x), 2) + Math.pow((this.wy - this.y), 2))); if (this.dis > this.wrk_dis){ this.dis = this.wrk_dis; this.tid = wrk_id; this.dis_y = Math.sqrt((Math.pow(0, 2) + Math.pow((this.wy - this.y), 2))); }; }; i++; }; if (Object(root).dict[this.tid].live_flg){ this.tx = Object(root).dict[this.tid].x; this.ty = Object(root).dict[this.tid].y; if (this.tx > this.x){ this.scaleX = 1; this.tx = (this.tx - this.ATK_RANGE); } else { this.scaleX = -1; this.tx = (this.tx + this.ATK_RANGE); }; this.ty = (this.ty + (((this.id % 25) * 2) - 24)); }; if (((!((this.move_mode == "kurai"))) && (!((this.move_mode == "mahi"))))){ if ((((Object(root).war_Escape_Mode > 0)) && ((this.side == 0)))){ this.move_mode = "escape"; } else { this.move_mode = Object(root).war_UnitMode[this.side][this.type]; if (this.dis_y < this.ATK_RANGE){ if ((((this.cnt > this.ATK_SPEED)) && ((this.currentFrame < 3)))){ if (this.dis < this.ATK_RANGE){ Object(root).se_katana_flg = true; this.gotoAndPlay("attack"); } else { Object(root).se_shuriken_flg = true; this.gotoAndPlay("shoot"); }; }; if (this.currentFrame == 12){ this.cnt = 0; this.dmg = ((Math.floor((Math.random() * ((ATK_POWER_MAX - ATK_POWER_MIN) + Object(root).war_Adj_ATK[this.side]))) + ATK_POWER_MIN) + Object(root).war_Adj_ATK[this.side]); this.dmg = Math.floor(((this.dmg * (100 - Object(root).war_Adj_DEF_L[this.side])) / 100)); Object(root).e_id++; if (Object(root).war_Wall_ID == this.tid){ Object(root).dict[("ETC" + Object(root).e_id)] = new ETC25_SHURIKEN(Object(root).e_id, this.tid, (this.x + (30 * this.scaleX)), this.y, Object(root).dict[this.tid].x, this.y, this.dmg); } else { Object(root).dict[("ETC" + Object(root).e_id)] = new ETC25_SHURIKEN(Object(root).e_id, this.tid, (this.x + (30 * this.scaleX)), this.y, Object(root).dict[this.tid].x, Object(root).dict[this.tid].y, this.dmg); }; Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); } else { if ((((this.currentFrame == 5)) && ((this.dis < (this.ATK_RANGE + 20))))){ attack(this.tid); }; }; }; }; }; this.dx = Object(root).war_UnitX[this.side][this.type]; switch (this.move_mode){ case "attack": this.wrk_dis = Math.sqrt((Math.pow((this.tx - this.x), 2) + Math.pow((this.ty - this.y), 2))); if (this.wrk_dis < this.SPEED){ this.x = this.tx; this.y = this.ty; } else { this.t_rot = ((Math.atan2((this.ty - this.y), (this.tx - this.x)) * 180) / Math.PI); this.xs = (Math.cos(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.ys = (Math.sin(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.x = (this.x + this.xs); this.y = (this.y + this.ys); }; break; case "deffence": this.wrk_dis = Math.sqrt((Math.pow((this.dx - this.x), 2) + Math.pow((this.dy - this.y), 2))); if (this.wrk_dis < this.SPEED){ this.x = this.dx; this.y = this.dy; } else { this.t_rot = ((Math.atan2((this.dy - this.y), (this.dx - this.x)) * 180) / Math.PI); this.xs = (Math.cos(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.ys = (Math.sin(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.x = (this.x + this.xs); this.y = (this.y + this.ys); }; break; case "escape": this.gotoAndPlay("nige"); this.x = (this.x - (this.SPEED * Object(root).war_Escape_Mode)); this.scaleX = -1; if (Math.floor((Math.random() * 25)) == 1){ Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC05_ASE(Object(root).e_id, this.x, this.y); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); }; if (this.x < 16){ Object(root).war_Escape_UnitCnt++; i = 0; while (i < Object(root).war_UnitID[this.side].length) { if (Object(root).war_UnitID[this.side][i] == this.id){ Object(root).war_UnitID[this.side].splice(i, 1); break; }; i++; }; this.live_flg = false; this.visible = false; Object(root).dict[("SHADOW" + this.id)].visible = false; this.brain_flg = true; }; break; case "kurai": this.ys++; this.x = (this.x + this.xs); this.y = (this.y + this.ys); if (this.y >= this.yy){ this.y = this.yy; if (this.mahi_cnt <= 0){ this.gotoAndPlay("stay"); this.move_mode = Object(root).war_UnitMode[this.side][this.type]; } else { this.gotoAndPlay("mahi"); this.move_mode = "mahi"; }; }; break; case "mahi": this.mahi_cnt--; if (this.mahi_cnt <= 0){ this.gotoAndPlay("stay"); this.move_mode = Object(root).war_UnitMode[this.side][this.type]; }; break; }; if (this.x < 16){ this.x = 16; } else { if (this.x > 624){ this.x = 624; }; }; if (this.y < 66){ this.y = 66; } else { if (this.y > 384){ this.y = 384; }; }; Object(root).dict[("SHADOW" + this.id)].x = this.x; if (this.move_mode == "kurai"){ Object(root).dict[("SHADOW" + this.id)].y = (this.yy + 17); } else { Object(root).dict[("SHADOW" + this.id)].y = (this.y + 17); }; if ((((this.side == 0)) && (Object(root).dict[Object(root).war_Wall_ID]))){ if ((((this.x >= (Object(root).dict[Object(root).war_Wall_ID].x - 32))) && (Object(root).dict[Object(root).war_Wall_ID].live_flg))){ this.x = (Object(root).dict[Object(root).war_Wall_ID].x - 32); }; }; this.col_cnt--; if (this.col_cnt < 1){ this.transform.colorTransform = Object(root).color_normal; }; }; } function frame6(){ this.stop(); } public function kill(){ Object(root).dict["f_shadow"].removeChild(Object(root).dict[("SHADOW" + this.id)]); Object(root).dict[("SHADOW" + this.id)] = null; delete Object(root).dict[("SHADOW" + this.id)]; removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[this.id] = null; delete Object(root).dict[this.id]; this.parent.removeChild(this); } public function mahi(_arg1){ this.mahi_cnt = _arg1; if (this.move_mode != "kurai"){ this.gotoAndPlay("mahi"); this.move_mode = "mahi"; }; } public function heal(_arg1, _arg2, _arg3){ this.dmg = _arg1; this.hp = (this.hp + this.dmg); if (this.hp > this.MAX_HP){ this.hp = this.MAX_HP; }; this.col_cnt = 3; this.transform.colorTransform = Object(root).color_white; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC08_HEAL(Object(root).e_id, _arg2, _arg3, this.dmg); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); Object(root).se_heal_flg = true; } } }//package
Section 205
//UNIT08_FIRE (UNIT08_FIRE) package { import flash.display.*; import flash.events.*; public class UNIT08_FIRE extends MovieClip { private var DEF_POWER:int;// = 0 private var SPEED:Number;// = 0 private var col_cnt:Number;// = 0 public var hp_bar:HP_BAR; private var i:int;// = 0 private var tx:Number;// = 0 private var ty:Number;// = 0 private var tid:int;// = 0 public var dx:Number;// = 0 private var dis:Number;// = 0 private var ATK_RANGE:int;// = 20 public var live_flg:Boolean;// = true public var dy:Number;// = 0 private var wrk_dis:Number;// = 0 private var wrk_id:int;// = 0 private var wx:Number;// = 0 private var wy:Number;// = 0 private var dmg:int;// = 0 private var xs:Number;// = 0 public var hp:int;// = 0 private var dis_y:Number;// = 0 private var ys:Number;// = 0 private var id:int;// = 0 private var yy:Number;// = 0 private var BASE_SPEED:Number;// = 1 public var type:int;// = 8 public var side:int;// = 0 private var move_mode:String;// = "" private var cnt:int;// = 0 public var brain_flg:Boolean;// = false private var ATK_SPEED:int;// = 100 private var t_rot:Number;// = 0 private var mahi_cnt:int;// = 0 public var MAX_HP:int;// = 150 public function UNIT08_FIRE(_arg1, _arg2, _arg3, _arg4){ type = 8; BASE_SPEED = 1; SPEED = 0; ATK_SPEED = 100; ATK_RANGE = 20; DEF_POWER = 0; MAX_HP = 150; id = 0; side = 0; hp = 0; move_mode = ""; yy = 0; ys = 0; xs = 0; col_cnt = 0; cnt = 0; i = 0; dmg = 0; tid = 0; dis = 0; dis_y = 0; wrk_id = 0; wrk_dis = 0; wx = 0; wy = 0; tx = 0; ty = 0; dx = 0; dy = 0; t_rot = 0; mahi_cnt = 0; live_flg = true; brain_flg = false; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16); this.id = _arg1; this.hp = this.MAX_HP; this.x = _arg2; this.y = _arg3; this.cnt = Math.floor((Math.random() * this.ATK_SPEED)); this.dx = _arg2; this.dy = _arg3; this.side = _arg4; if (this.side == 1){ this.scaleX = -1; this.hp_bar.bar_in.gotoAndStop(2); }; this.ATK_RANGE = (this.ATK_RANGE + (((this.id % 25) * 2) - 24)); this.live_flg = true; addEventListener(Event.ENTER_FRAME, onEnterFrame); } function frame10(){ this.stop(); } function frame14(){ this.gotoAndPlay("mahi"); } function frame16(){ this.gotoAndPlay("nige"); } function frame15(){ this.stop(); } function frame3(){ this.gotoAndPlay("stay"); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame7(){ this.gotoAndPlay("stay"); } function frame1(){ this.stop(); } function frame11(){ this.gotoAndPlay("stay"); } public function kurai(_arg1, _arg2, _arg3, _arg4){ this.dmg = _arg1; if (this.scaleX == _arg2){ this.dmg = (this.dmg * 2); }; this.dmg = Math.floor((this.dmg * ((100 - (this.DEF_POWER + Object(root).war_Adj_DEF[this.side])) / 100))); this.hp = (this.hp - this.dmg); this.col_cnt = 3; this.transform.colorTransform = Object(root).color_red; Object(root).se_poko_flg = true; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC01_DMG(Object(root).e_id, _arg3, _arg4, this.dmg, _arg2); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); if (this.move_mode != "kurai"){ this.gotoAndPlay("itai"); this.move_mode = "kurai"; this.yy = this.y; this.ys = -3; this.xs = (4 * _arg2); }; if ((((this.hp < 1)) && (this.live_flg))){ var _local5 = Object(root).war_UnitCnt[this.side]; var _local6 = this.type; var _local7 = (_local5[_local6] - 1); _local5[_local6] = _local7; _local5 = Object(root).war_TotalUnitCnt; _local6 = this.side; _local7 = (_local5[_local6] - 1); _local5[_local6] = _local7; i = 0; while (i < Object(root).war_UnitID[this.side].length) { if (Object(root).war_UnitID[this.side][i] == this.id){ Object(root).war_UnitID[this.side].splice(i, 1); break; }; i++; }; if ((((Object(root).war_TotalUnitCnt[(1 - this.side)] < 50)) && ((Math.floor((Math.random() * 100)) < Object(root).war_Brain[(1 - this.side)])))){ Object(root).se_brain_flg = true; _local5 = Object(root).war_UnitCnt_Brain[(1 - this.side)]; _local6 = this.type; _local7 = (_local5[_local6] + 1); _local5[_local6] = _local7; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC22_BRAIN_WASH(Object(root).e_id, this.x, this.y, this.scaleX, this.type); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); this.brain_flg = true; } else { Object(root).yarare_set(); if (Object(root).war_Capture[(1 - this.side)] > 0){ Object(root).se_buy_flg = true; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC06_TAC_EFFECT(Object(root).e_id, this.x, (this.y - 10), (6 + (Object(root).war_Capture[(1 - this.side)] / 5))); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); if (this.side == 0){ Object(root).gold[Object(root).ken_side[Object(root).ken_def_id]] = (Object(root).gold[Object(root).ken_side[Object(root).ken_def_id]] + Object(root).war_Capture[(1 - this.side)]); } else { Object(root).gold[Object(root).ken_side[Object(root).ken_atk_id]] = (Object(root).gold[Object(root).ken_side[Object(root).ken_atk_id]] + Object(root).war_Capture[(1 - this.side)]); }; }; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC02_UNITDOWN(Object(root).e_id, this.x, this.y, this.scaleX, this.type); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); }; this.live_flg = false; this.visible = false; Object(root).dict[("SHADOW" + this.id)].visible = false; Object(root).unit_y_adj(this.side, this.type); return; }; } function frame13(){ this.stop(); } function frame9(){ this.stop(); } function frame12(){ this.stop(); } function frame8(){ this.stop(); } function frame2(){ this.stop(); } public function resurrect(_arg1){ this.hp = _arg1; var _local2 = Object(root).war_UnitCnt[this.side]; var _local3 = this.type; var _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = Object(root).war_TotalUnitCnt; _local3 = this.side; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; Object(root).war_UnitID[this.side].push(this.id); this.live_flg = true; this.visible = true; Object(root).dict[("SHADOW" + this.id)].visible = true; Object(root).unit_y_adj(this.side, this.type); this.gotoAndPlay("stay"); this.move_mode = Object(root).war_UnitMode[this.side][this.type]; } function frame6(){ this.stop(); } public function onEnterFrame(_arg1:Event){ if (((((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))) && (this.live_flg))){ this.cnt++; this.nextFrame(); this.hp_bar.bar_in.scaleX = (this.hp / this.MAX_HP); this.SPEED = (this.BASE_SPEED + Object(root).war_Adj_SPEED[this.side]); if (this.SPEED <= 0){ this.SPEED = 0.1; }; this.dis = 99999; this.dis_y = 99999; i = 0; while (i < Object(root).war_UnitID[(1 - this.side)].length) { wrk_id = Object(root).war_UnitID[(1 - this.side)][i]; if (Object(root).dict[wrk_id].live_flg){ this.wx = Object(root).dict[wrk_id].x; if (Object(root).war_Wall_ID == wrk_id){ this.wy = this.y; } else { this.wy = Object(root).dict[wrk_id].y; }; if (((!((this.move_mode == "deffence"))) || ((Math.sqrt((Math.pow(0, 2) + Math.pow((this.wy - this.y), 2))) < this.ATK_RANGE)))){ this.wrk_dis = Math.sqrt((Math.pow((this.wx - this.x), 2) + Math.pow((this.wy - this.y), 2))); if (this.dis > this.wrk_dis){ this.dis = this.wrk_dis; this.tid = wrk_id; this.dis_y = Math.sqrt((Math.pow(0, 2) + Math.pow((this.wy - this.y), 2))); }; }; }; i++; }; if (Object(root).dict[this.tid].live_flg){ this.tx = Object(root).dict[this.tid].x; this.ty = Object(root).dict[this.tid].y; if (this.tx > this.x){ this.scaleX = 1; this.tx = (this.tx - this.ATK_RANGE); } else { this.scaleX = -1; this.tx = (this.tx + this.ATK_RANGE); }; }; if (((!((this.move_mode == "kurai"))) && (!((this.move_mode == "mahi"))))){ if ((((Object(root).war_Escape_Mode > 0)) && ((this.side == 0)))){ this.move_mode = "escape"; } else { this.move_mode = Object(root).war_UnitMode[this.side][this.type]; if (this.dis_y < this.ATK_RANGE){ if ((((this.cnt > this.ATK_SPEED)) && ((this.currentFrame < 3)))){ Object(root).se_fire_ball_flg = true; this.gotoAndPlay("shoot"); }; }; if (this.currentFrame == 6){ this.cnt = 0; Object(root).e_id++; if (Object(root).war_Wall_ID == this.tid){ Object(root).dict[("ETC" + Object(root).e_id)] = new ETC24_FIRE_BALL(Object(root).e_id, this.tid, (this.x + (50 * this.scaleX)), this.y, Object(root).dict[this.tid].x, this.y, this.side); } else { Object(root).dict[("ETC" + Object(root).e_id)] = new ETC24_FIRE_BALL(Object(root).e_id, this.tid, (this.x + (50 * this.scaleX)), this.y, Object(root).dict[this.tid].x, Object(root).dict[this.tid].y, this.side); }; Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); }; }; }; this.dx = Object(root).war_UnitX[this.side][this.type]; switch (this.move_mode){ case "attack": this.tx = this.x; if (this.dis_y < this.ATK_RANGE){ this.ty = this.y; }; this.wrk_dis = Math.sqrt((Math.pow((this.tx - this.x), 2) + Math.pow((this.ty - this.y), 2))); if (this.wrk_dis < this.SPEED){ this.x = this.tx; this.y = this.ty; } else { this.t_rot = ((Math.atan2((this.ty - this.y), (this.tx - this.x)) * 180) / Math.PI); this.xs = (Math.cos(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.ys = (Math.sin(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.x = (this.x + this.xs); this.y = (this.y + this.ys); }; break; case "deffence": this.wrk_dis = Math.sqrt((Math.pow((this.dx - this.x), 2) + Math.pow((this.dy - this.y), 2))); if (this.wrk_dis < this.SPEED){ this.x = this.dx; this.y = this.dy; } else { this.t_rot = ((Math.atan2((this.dy - this.y), (this.dx - this.x)) * 180) / Math.PI); this.xs = (Math.cos(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.ys = (Math.sin(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.x = (this.x + this.xs); this.y = (this.y + this.ys); }; break; case "escape": this.gotoAndPlay("nige"); this.x = (this.x - (this.SPEED * Object(root).war_Escape_Mode)); this.scaleX = -1; if (Math.floor((Math.random() * 25)) == 1){ Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC05_ASE(Object(root).e_id, this.x, this.y); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); }; if (this.x < 16){ Object(root).war_Escape_UnitCnt++; i = 0; while (i < Object(root).war_UnitID[this.side].length) { if (Object(root).war_UnitID[this.side][i] == this.id){ Object(root).war_UnitID[this.side].splice(i, 1); break; }; i++; }; this.live_flg = false; this.visible = false; Object(root).dict[("SHADOW" + this.id)].visible = false; this.brain_flg = true; }; break; case "kurai": this.ys++; this.x = (this.x + this.xs); this.y = (this.y + this.ys); if (this.y >= this.yy){ this.y = this.yy; if (this.mahi_cnt <= 0){ this.gotoAndPlay("stay"); this.move_mode = Object(root).war_UnitMode[this.side][this.type]; } else { this.gotoAndPlay("mahi"); this.move_mode = "mahi"; }; }; break; case "mahi": this.mahi_cnt--; if (this.mahi_cnt <= 0){ this.gotoAndPlay("stay"); this.move_mode = Object(root).war_UnitMode[this.side][this.type]; }; break; }; if (this.x < 16){ this.x = 16; } else { if (this.x > 624){ this.x = 624; }; }; if (this.y < 66){ this.y = 66; } else { if (this.y > 384){ this.y = 384; }; }; Object(root).dict[("SHADOW" + this.id)].x = this.x; if (this.move_mode == "kurai"){ Object(root).dict[("SHADOW" + this.id)].y = (this.yy + 17); } else { Object(root).dict[("SHADOW" + this.id)].y = (this.y + 17); }; if ((((this.side == 0)) && (Object(root).dict[Object(root).war_Wall_ID]))){ if ((((this.x >= (Object(root).dict[Object(root).war_Wall_ID].x - 32))) && (Object(root).dict[Object(root).war_Wall_ID].live_flg))){ this.x = (Object(root).dict[Object(root).war_Wall_ID].x - 32); }; }; this.col_cnt--; if (this.col_cnt < 1){ this.transform.colorTransform = Object(root).color_normal; }; }; } public function kill(){ Object(root).dict["f_shadow"].removeChild(Object(root).dict[("SHADOW" + this.id)]); Object(root).dict[("SHADOW" + this.id)] = null; delete Object(root).dict[("SHADOW" + this.id)]; removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[this.id] = null; delete Object(root).dict[this.id]; this.parent.removeChild(this); } public function mahi(_arg1){ this.mahi_cnt = _arg1; if (this.move_mode != "kurai"){ this.gotoAndPlay("mahi"); this.move_mode = "mahi"; }; } public function heal(_arg1, _arg2, _arg3){ this.dmg = _arg1; this.hp = (this.hp + this.dmg); if (this.hp > this.MAX_HP){ this.hp = this.MAX_HP; }; this.col_cnt = 3; this.transform.colorTransform = Object(root).color_white; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC08_HEAL(Object(root).e_id, _arg2, _arg3, this.dmg); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); Object(root).se_heal_flg = true; } } }//package
Section 206
//UNIT09_SNIPER (UNIT09_SNIPER) package { import flash.display.*; import flash.events.*; public class UNIT09_SNIPER extends MovieClip { private var DEF_POWER:int;// = 20 private var SPEED:Number;// = 0 private var col_cnt:Number;// = 0 public var hp_bar:HP_BAR; private var i:int;// = 0 private var tx:Number;// = 0 private var ty:Number;// = 0 private var tid:int;// = 0 public var dx:Number;// = 0 private var dis:Number;// = 0 private var ATK_RANGE:int;// = 30 public var live_flg:Boolean;// = true public var dy:Number;// = 0 private var wrk_dis:Number;// = 0 private var wrk_id:int;// = 0 private var ATK_POWER_MIN:int;// = 80 private var wx:Number;// = 0 private var wy:Number;// = 0 private var dmg:int;// = 0 private var xs:Number;// = 0 public var hp:int;// = 0 private var dis_y:Number;// = 0 private var ys:Number;// = 0 private var id:int;// = 0 private var yy:Number;// = 0 private var BASE_SPEED:Number;// = 2 public var type:int;// = 9 public var side:int;// = 0 private var move_mode:String;// = "" private var cnt:int;// = 0 public var brain_flg:Boolean;// = false private var ATK_SPEED:int;// = 100 private var t_rot:Number;// = 0 private var mahi_cnt:int;// = 0 private var ATK_POWER_MAX:int;// = 100 public var MAX_HP:int;// = 250 public function UNIT09_SNIPER(_arg1, _arg2, _arg3, _arg4){ type = 9; BASE_SPEED = 2; SPEED = 0; ATK_SPEED = 100; ATK_RANGE = 30; ATK_POWER_MAX = 100; ATK_POWER_MIN = 80; DEF_POWER = 20; MAX_HP = 250; id = 0; side = 0; hp = 0; move_mode = ""; yy = 0; ys = 0; xs = 0; col_cnt = 0; cnt = 0; i = 0; dmg = 0; tid = 0; dis = 0; dis_y = 0; wrk_id = 0; wrk_dis = 0; wx = 0; wy = 0; tx = 0; ty = 0; dx = 0; dy = 0; t_rot = 0; mahi_cnt = 0; live_flg = true; brain_flg = false; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16); this.id = _arg1; this.hp = this.MAX_HP; this.x = _arg2; this.y = _arg3; this.cnt = Math.floor((Math.random() * this.ATK_SPEED)); this.dx = _arg2; this.dy = _arg3; this.side = _arg4; if (this.side == 1){ this.scaleX = -1; this.hp_bar.bar_in.gotoAndStop(2); }; this.ATK_RANGE = (this.ATK_RANGE + (((this.id % 25) * 2) - 24)); this.live_flg = true; addEventListener(Event.ENTER_FRAME, onEnterFrame); } function frame10(){ this.stop(); } function frame14(){ this.gotoAndPlay("mahi"); } function frame16(){ this.gotoAndPlay("nige"); } function frame15(){ this.stop(); } function frame3(){ this.gotoAndStop("stay"); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame7(){ this.gotoAndPlay("stay"); } function frame1(){ this.stop(); } function frame11(){ this.gotoAndPlay("stay"); } public function kurai(_arg1, _arg2, _arg3, _arg4){ this.dmg = _arg1; if (this.scaleX == _arg2){ this.dmg = (this.dmg * 2); }; this.dmg = Math.floor((this.dmg * ((100 - (this.DEF_POWER + Object(root).war_Adj_DEF[this.side])) / 100))); this.hp = (this.hp - this.dmg); this.col_cnt = 3; this.transform.colorTransform = Object(root).color_red; Object(root).se_poko_flg = true; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC01_DMG(Object(root).e_id, _arg3, _arg4, this.dmg, _arg2); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); if (this.move_mode != "kurai"){ this.gotoAndPlay("itai"); this.move_mode = "kurai"; this.yy = this.y; this.ys = -3; this.xs = (4 * _arg2); }; if ((((this.hp < 1)) && (this.live_flg))){ var _local5 = Object(root).war_UnitCnt[this.side]; var _local6 = this.type; var _local7 = (_local5[_local6] - 1); _local5[_local6] = _local7; _local5 = Object(root).war_TotalUnitCnt; _local6 = this.side; _local7 = (_local5[_local6] - 1); _local5[_local6] = _local7; i = 0; while (i < Object(root).war_UnitID[this.side].length) { if (Object(root).war_UnitID[this.side][i] == this.id){ Object(root).war_UnitID[this.side].splice(i, 1); break; }; i++; }; if ((((Object(root).war_TotalUnitCnt[(1 - this.side)] < 50)) && ((Math.floor((Math.random() * 100)) < Object(root).war_Brain[(1 - this.side)])))){ Object(root).se_brain_flg = true; _local5 = Object(root).war_UnitCnt_Brain[(1 - this.side)]; _local6 = this.type; _local7 = (_local5[_local6] + 1); _local5[_local6] = _local7; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC22_BRAIN_WASH(Object(root).e_id, this.x, this.y, this.scaleX, this.type); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); this.brain_flg = true; } else { Object(root).yarare_set(); if (Object(root).war_Capture[(1 - this.side)] > 0){ Object(root).se_buy_flg = true; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC06_TAC_EFFECT(Object(root).e_id, this.x, (this.y - 10), (6 + (Object(root).war_Capture[(1 - this.side)] / 5))); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); if (this.side == 0){ Object(root).gold[Object(root).ken_side[Object(root).ken_def_id]] = (Object(root).gold[Object(root).ken_side[Object(root).ken_def_id]] + Object(root).war_Capture[(1 - this.side)]); } else { Object(root).gold[Object(root).ken_side[Object(root).ken_atk_id]] = (Object(root).gold[Object(root).ken_side[Object(root).ken_atk_id]] + Object(root).war_Capture[(1 - this.side)]); }; }; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC02_UNITDOWN(Object(root).e_id, this.x, this.y, this.scaleX, this.type); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); }; this.live_flg = false; this.visible = false; Object(root).dict[("SHADOW" + this.id)].visible = false; Object(root).unit_y_adj(this.side, this.type); return; }; } function frame13(){ this.stop(); } function frame9(){ this.stop(); } function frame12(){ this.stop(); } function frame8(){ this.stop(); } function frame2(){ this.stop(); } public function resurrect(_arg1){ this.hp = _arg1; var _local2 = Object(root).war_UnitCnt[this.side]; var _local3 = this.type; var _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = Object(root).war_TotalUnitCnt; _local3 = this.side; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; Object(root).war_UnitID[this.side].push(this.id); this.live_flg = true; this.visible = true; Object(root).dict[("SHADOW" + this.id)].visible = true; Object(root).unit_y_adj(this.side, this.type); this.gotoAndPlay("stay"); this.move_mode = Object(root).war_UnitMode[this.side][this.type]; } function frame6(){ this.stop(); } public function onEnterFrame(_arg1:Event){ if (((((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))) && (this.live_flg))){ this.cnt++; this.nextFrame(); this.hp_bar.bar_in.scaleX = (this.hp / this.MAX_HP); this.SPEED = (this.BASE_SPEED + Object(root).war_Adj_SPEED[this.side]); this.dis = 99999; this.dis_y = 99999; i = 0; while (i < Object(root).war_UnitID[(1 - this.side)].length) { wrk_id = Object(root).war_UnitID[(1 - this.side)][i]; if (Object(root).dict[wrk_id].live_flg){ this.wx = Object(root).dict[wrk_id].x; if (Object(root).war_Wall_ID == wrk_id){ this.wy = this.y; } else { this.wy = Object(root).dict[wrk_id].y; }; if (((!((this.move_mode == "deffence"))) || ((Math.sqrt((Math.pow(0, 2) + Math.pow((this.wy - this.y), 2))) < this.ATK_RANGE)))){ this.wrk_dis = Math.sqrt((Math.pow((this.wx - this.x), 2) + Math.pow((this.wy - this.y), 2))); if (this.dis > this.wrk_dis){ this.dis = this.wrk_dis; this.tid = wrk_id; this.dis_y = Math.sqrt((Math.pow(0, 2) + Math.pow((this.wy - this.y), 2))); }; }; }; i++; }; if (Object(root).dict[this.tid].live_flg){ this.tx = Object(root).dict[this.tid].x; this.ty = Object(root).dict[this.tid].y; if (this.tx > this.x){ this.scaleX = 1; this.tx = (this.tx - this.ATK_RANGE); } else { this.scaleX = -1; this.tx = (this.tx + this.ATK_RANGE); }; }; if (((!((this.move_mode == "kurai"))) && (!((this.move_mode == "mahi"))))){ if ((((Object(root).war_Escape_Mode > 0)) && ((this.side == 0)))){ this.move_mode = "escape"; } else { this.move_mode = Object(root).war_UnitMode[this.side][this.type]; if (this.dis_y < this.ATK_RANGE){ if ((((this.cnt > this.ATK_SPEED)) && ((this.currentFrame < 3)))){ Object(root).se_sniper_flg = true; this.gotoAndPlay("shoot"); }; }; if (this.currentFrame == 6){ this.cnt = 0; this.dmg = ((Math.floor((Math.random() * ((ATK_POWER_MAX - ATK_POWER_MIN) + Object(root).war_Adj_ATK[this.side]))) + ATK_POWER_MIN) + Object(root).war_Adj_ATK[this.side]); this.dmg = Math.floor(((this.dmg * (100 - Object(root).war_Adj_DEF_L[this.side])) / 100)); Object(root).e_id++; if (Object(root).war_Wall_ID == this.tid){ Object(root).dict[("ETC" + Object(root).e_id)] = new ETC27_SNIPE(Object(root).e_id, this.tid, this.x, this.y, Object(root).dict[this.tid].x, this.y, this.dmg); } else { Object(root).dict[("ETC" + Object(root).e_id)] = new ETC27_SNIPE(Object(root).e_id, this.tid, this.x, this.y, Object(root).dict[this.tid].x, Object(root).dict[this.tid].y, this.dmg); }; Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); }; }; }; this.dx = Object(root).war_UnitX[this.side][this.type]; switch (this.move_mode){ case "attack": if (this.cnt == 3){ Object(root).se_sniper2_flg = true; }; this.tx = this.x; if (this.dis_y < this.ATK_RANGE){ this.ty = this.y; }; this.wrk_dis = Math.sqrt((Math.pow((this.tx - this.x), 2) + Math.pow((this.ty - this.y), 2))); if (this.wrk_dis < this.SPEED){ this.x = this.tx; this.y = this.ty; } else { this.t_rot = ((Math.atan2((this.ty - this.y), (this.tx - this.x)) * 180) / Math.PI); this.xs = (Math.cos(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.ys = (Math.sin(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.x = (this.x + this.xs); this.y = (this.y + this.ys); }; break; case "deffence": if (this.cnt == 3){ Object(root).se_sniper2_flg = true; }; this.wrk_dis = Math.sqrt((Math.pow((this.dx - this.x), 2) + Math.pow((this.dy - this.y), 2))); if (this.wrk_dis < this.SPEED){ this.x = this.dx; this.y = this.dy; } else { this.t_rot = ((Math.atan2((this.dy - this.y), (this.dx - this.x)) * 180) / Math.PI); this.xs = (Math.cos(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.ys = (Math.sin(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.x = (this.x + this.xs); this.y = (this.y + this.ys); }; break; case "escape": this.gotoAndPlay("nige"); this.x = (this.x - (this.SPEED * Object(root).war_Escape_Mode)); this.scaleX = -1; if (Math.floor((Math.random() * 25)) == 1){ Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC05_ASE(Object(root).e_id, this.x, this.y); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); }; if (this.x < 16){ Object(root).war_Escape_UnitCnt++; i = 0; while (i < Object(root).war_UnitID[this.side].length) { if (Object(root).war_UnitID[this.side][i] == this.id){ Object(root).war_UnitID[this.side].splice(i, 1); break; }; i++; }; this.live_flg = false; this.visible = false; Object(root).dict[("SHADOW" + this.id)].visible = false; this.brain_flg = true; }; break; case "kurai": this.ys++; this.x = (this.x + this.xs); this.y = (this.y + this.ys); if (this.y >= this.yy){ this.y = this.yy; if (this.mahi_cnt <= 0){ this.gotoAndPlay("stay"); this.move_mode = Object(root).war_UnitMode[this.side][this.type]; } else { this.gotoAndPlay("mahi"); this.move_mode = "mahi"; }; }; break; case "mahi": this.mahi_cnt--; if (this.mahi_cnt <= 0){ this.gotoAndPlay("stay"); this.move_mode = Object(root).war_UnitMode[this.side][this.type]; }; break; }; if (this.x < 16){ this.x = 16; } else { if (this.x > 624){ this.x = 624; }; }; if (this.y < 66){ this.y = 66; } else { if (this.y > 384){ this.y = 384; }; }; Object(root).dict[("SHADOW" + this.id)].x = this.x; if (this.move_mode == "kurai"){ Object(root).dict[("SHADOW" + this.id)].y = (this.yy + 17); } else { Object(root).dict[("SHADOW" + this.id)].y = (this.y + 17); }; if ((((this.side == 0)) && (Object(root).dict[Object(root).war_Wall_ID]))){ if ((((this.x >= (Object(root).dict[Object(root).war_Wall_ID].x - 32))) && (Object(root).dict[Object(root).war_Wall_ID].live_flg))){ this.x = (Object(root).dict[Object(root).war_Wall_ID].x - 32); }; }; this.col_cnt--; if (this.col_cnt < 1){ this.transform.colorTransform = Object(root).color_normal; }; }; } public function kill(){ Object(root).dict["f_shadow"].removeChild(Object(root).dict[("SHADOW" + this.id)]); Object(root).dict[("SHADOW" + this.id)] = null; delete Object(root).dict[("SHADOW" + this.id)]; removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[this.id] = null; delete Object(root).dict[this.id]; this.parent.removeChild(this); } public function mahi(_arg1){ this.mahi_cnt = _arg1; if (this.move_mode != "kurai"){ this.gotoAndPlay("mahi"); this.move_mode = "mahi"; }; } public function heal(_arg1, _arg2, _arg3){ this.dmg = _arg1; this.hp = (this.hp + this.dmg); if (this.hp > this.MAX_HP){ this.hp = this.MAX_HP; }; this.col_cnt = 3; this.transform.colorTransform = Object(root).color_white; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC08_HEAL(Object(root).e_id, _arg2, _arg3, this.dmg); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); Object(root).se_heal_flg = true; } } }//package
Section 207
//UNIT10_KNIGHT (UNIT10_KNIGHT) package { import flash.display.*; import flash.events.*; public class UNIT10_KNIGHT extends MovieClip { private var DEF_POWER:int;// = 60 private var SPEED:Number;// = 0 private var col_cnt:Number;// = 0 public var hp_bar:HP_BAR; private var i:int;// = 0 private var tx:Number;// = 0 private var ty:Number;// = 0 private var tid:int;// = 0 public var dx:Number;// = 0 private var dis:Number;// = 0 private var ATK_RANGE:int;// = 20 public var live_flg:Boolean;// = true public var dy:Number;// = 0 private var wrk_dis:Number;// = 0 private var wrk_id:int;// = 0 private var ATK_POWER_MIN:int;// = 30 private var ws:int;// = 0 private var wx:Number;// = 0 private var wy:Number;// = 0 private var dmg:int;// = 0 private var xs:Number;// = 0 public var hp:int;// = 0 private var ys:Number;// = 0 private var id:int;// = 0 private var yy:Number;// = 0 private var BASE_SPEED:Number;// = 2 public var type:int;// = 10 public var side:int;// = 0 private var move_mode:String;// = "" private var cnt:int;// = 0 public var brain_flg:Boolean;// = false private var ATK_SPEED:int;// = 40 private var t_rot:Number;// = 0 private var mahi_cnt:int;// = 0 private var ATK_POWER_MAX:int;// = 50 public var MAX_HP:int;// = 400 private var ATK_AREA:int;// = 40 public function UNIT10_KNIGHT(_arg1, _arg2, _arg3, _arg4){ type = 10; BASE_SPEED = 2; SPEED = 0; ATK_SPEED = 40; ATK_RANGE = 20; ATK_AREA = 40; ATK_POWER_MAX = 50; ATK_POWER_MIN = 30; DEF_POWER = 60; MAX_HP = 400; id = 0; side = 0; hp = 0; move_mode = ""; yy = 0; ys = 0; xs = 0; col_cnt = 0; cnt = 0; i = 0; dmg = 0; tid = 0; dis = 0; wrk_id = 0; wrk_dis = 0; wx = 0; wy = 0; ws = 0; tx = 0; ty = 0; dx = 0; dy = 0; t_rot = 0; mahi_cnt = 0; live_flg = true; brain_flg = false; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18); this.id = _arg1; this.hp = this.MAX_HP; this.x = _arg2; this.y = _arg3; this.cnt = Math.floor((Math.random() * this.ATK_SPEED)); this.dx = _arg2; this.dy = _arg3; this.side = _arg4; if (this.side == 1){ this.scaleX = -1; this.hp_bar.bar_in.gotoAndStop(2); }; this.live_flg = true; addEventListener(Event.ENTER_FRAME, onEnterFrame); } private function attack(_arg1){ this.cnt = 0; i = 0; while (i < Object(root).war_UnitID[(1 - this.side)].length) { wrk_id = Object(root).war_UnitID[(1 - this.side)][i]; if (Object(root).dict[wrk_id].live_flg){ this.wx = Object(root).dict[wrk_id].x; if (Object(root).war_Wall_ID == wrk_id){ this.wy = this.y; } else { this.wy = Object(root).dict[wrk_id].y; }; this.wrk_dis = Math.sqrt((Math.pow((this.wx - this.x), 2) + Math.pow((this.wy - this.y), 2))); if (this.wrk_dis < this.ATK_AREA){ this.dmg = ((Math.floor((Math.random() * ((ATK_POWER_MAX - ATK_POWER_MIN) + Object(root).war_Adj_ATK[this.side]))) + ATK_POWER_MIN) + Object(root).war_Adj_ATK[this.side]); this.dmg = Math.floor(((this.dmg * (100 - Object(root).war_Adj_DEF_S[this.side])) / 100)); if (this.x > Object(root).dict[wrk_id].x){ this.ws = -1; } else { this.ws = 1; }; Object(root).dict[wrk_id].kurai(this.dmg, this.ws, Object(root).dict[wrk_id].x, Object(root).dict[wrk_id].y); }; }; i++; }; } function frame10(){ this.stop(); } function frame14(){ this.stop(); } function frame16(){ this.gotoAndPlay("mahi"); } function frame15(){ this.stop(); } function frame17(){ this.stop(); } function frame18(){ this.gotoAndPlay("nige"); } function frame3(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame7(){ this.stop(); } function frame1(){ this.stop(); } function frame11(){ this.stop(); } public function kurai(_arg1, _arg2, _arg3, _arg4){ this.dmg = _arg1; if (this.scaleX == _arg2){ this.dmg = (this.dmg * 2); }; this.dmg = Math.floor((this.dmg * ((100 - (this.DEF_POWER + Object(root).war_Adj_DEF[this.side])) / 100))); this.hp = (this.hp - this.dmg); this.col_cnt = 3; this.transform.colorTransform = Object(root).color_red; Object(root).se_poko_flg = true; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC01_DMG(Object(root).e_id, _arg3, _arg4, this.dmg, _arg2); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); if (((!((this.move_mode == "kurai"))) && ((this.scaleX == _arg2)))){ Object(root).se_poko_flg = true; this.gotoAndPlay("itai"); this.move_mode = "kurai"; this.yy = this.y; this.ys = -3; this.xs = (4 * _arg2); } else { Object(root).se_metal_flg = true; this.x = (this.x + (_arg2 * 4)); }; if ((((this.hp < 1)) && (this.live_flg))){ var _local5 = Object(root).war_UnitCnt[this.side]; var _local6 = this.type; var _local7 = (_local5[_local6] - 1); _local5[_local6] = _local7; _local5 = Object(root).war_TotalUnitCnt; _local6 = this.side; _local7 = (_local5[_local6] - 1); _local5[_local6] = _local7; i = 0; while (i < Object(root).war_UnitID[this.side].length) { if (Object(root).war_UnitID[this.side][i] == this.id){ Object(root).war_UnitID[this.side].splice(i, 1); break; }; i++; }; if ((((Object(root).war_TotalUnitCnt[(1 - this.side)] < 50)) && ((Math.floor((Math.random() * 100)) < Object(root).war_Brain[(1 - this.side)])))){ Object(root).se_brain_flg = true; _local5 = Object(root).war_UnitCnt_Brain[(1 - this.side)]; _local6 = this.type; _local7 = (_local5[_local6] + 1); _local5[_local6] = _local7; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC22_BRAIN_WASH(Object(root).e_id, this.x, this.y, this.scaleX, this.type); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); this.brain_flg = true; } else { Object(root).yarare_set(); if (Object(root).war_Capture[(1 - this.side)] > 0){ Object(root).se_buy_flg = true; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC06_TAC_EFFECT(Object(root).e_id, this.x, (this.y - 10), (6 + (Object(root).war_Capture[(1 - this.side)] / 5))); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); if (this.side == 0){ Object(root).gold[Object(root).ken_side[Object(root).ken_def_id]] = (Object(root).gold[Object(root).ken_side[Object(root).ken_def_id]] + Object(root).war_Capture[(1 - this.side)]); } else { Object(root).gold[Object(root).ken_side[Object(root).ken_atk_id]] = (Object(root).gold[Object(root).ken_side[Object(root).ken_atk_id]] + Object(root).war_Capture[(1 - this.side)]); }; }; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC02_UNITDOWN(Object(root).e_id, this.x, this.y, this.scaleX, this.type); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); }; this.live_flg = false; this.visible = false; Object(root).dict[("SHADOW" + this.id)].visible = false; Object(root).unit_y_adj(this.side, this.type); return; }; } function frame13(){ this.gotoAndPlay(12); } function frame9(){ this.gotoAndPlay("stay"); } function frame12(){ this.stop(); } function frame8(){ this.stop(); } function frame2(){ this.gotoAndPlay("stay"); } public function resurrect(_arg1){ this.hp = _arg1; var _local2 = Object(root).war_UnitCnt[this.side]; var _local3 = this.type; var _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = Object(root).war_TotalUnitCnt; _local3 = this.side; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; Object(root).war_UnitID[this.side].push(this.id); this.live_flg = true; this.visible = true; Object(root).dict[("SHADOW" + this.id)].visible = true; Object(root).unit_y_adj(this.side, this.type); this.gotoAndPlay("stay"); this.move_mode = Object(root).war_UnitMode[this.side][this.type]; } function frame6(){ this.stop(); } public function onEnterFrame(_arg1:Event){ if (((((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))) && (this.live_flg))){ this.nextFrame(); this.hp_bar.bar_in.scaleX = (this.hp / this.MAX_HP); this.cnt++; this.SPEED = (this.BASE_SPEED + Object(root).war_Adj_SPEED[this.side]); this.dis = 99999; i = 0; while (i < Object(root).war_UnitID[(1 - this.side)].length) { wrk_id = Object(root).war_UnitID[(1 - this.side)][i]; if (Object(root).dict[wrk_id].live_flg){ this.wx = Object(root).dict[wrk_id].x; if (this.wx > this.x){ this.wx = (this.wx - this.ATK_RANGE); } else { this.wx = (this.wx + this.ATK_RANGE); }; if (Object(root).war_Wall_ID == wrk_id){ this.wy = this.y; } else { this.wy = Object(root).dict[wrk_id].y; }; this.wrk_dis = Math.sqrt((Math.pow((this.wx - this.x), 2) + Math.pow((this.wy - this.y), 2))); if (this.dis > this.wrk_dis){ this.dis = this.wrk_dis; this.tid = wrk_id; }; }; i++; }; if (Object(root).dict[this.tid].live_flg){ this.tx = Object(root).dict[this.tid].x; if (Object(root).war_Wall_ID == this.tid){ this.ty = this.y; } else { this.ty = Object(root).dict[this.tid].y; }; if (this.tx > this.x){ this.scaleX = 1; this.tx = (this.tx - this.ATK_RANGE); } else { this.scaleX = -1; this.tx = (this.tx + this.ATK_RANGE); }; this.ty = (this.ty + (((this.id % 25) * 2) - 24)); }; if (((!((this.move_mode == "kurai"))) && (!((this.move_mode == "mahi"))))){ if ((((Object(root).war_Escape_Mode > 0)) && ((this.side == 0)))){ this.move_mode = "escape"; } else { this.move_mode = Object(root).war_UnitMode[this.side][this.type]; }; }; switch (this.move_mode){ case "attack": if (this.dis < this.ATK_RANGE){ if ((((this.cnt > this.ATK_SPEED)) && ((this.currentFrame < 3)))){ Object(root).se_knight_sword_flg = true; this.gotoAndPlay("attack"); }; } else { this.t_rot = ((Math.atan2((this.ty - this.y), (this.tx - this.x)) * 180) / Math.PI); this.xs = (Math.cos(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.ys = (Math.sin(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.x = (this.x + this.xs); this.y = (this.y + this.ys); }; if (this.currentFrame == 4){ attack(this.tid); }; break; case "deffence": this.dx = Object(root).war_UnitX[this.side][this.type]; this.wrk_dis = Math.sqrt((Math.pow((this.dx - this.x), 2) + Math.pow((this.dy - this.y), 2))); if (this.wrk_dis < this.SPEED){ this.x = this.dx; this.y = this.dy; } else { this.t_rot = ((Math.atan2((this.dy - this.y), (this.dx - this.x)) * 180) / Math.PI); this.xs = (Math.cos(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.ys = (Math.sin(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.x = (this.x + this.xs); this.y = (this.y + this.ys); }; if (this.dis < this.ATK_RANGE){ if ((((this.cnt > this.ATK_SPEED)) && ((this.currentFrame < 3)))){ Object(root).se_knight_sword_flg = true; this.gotoAndPlay("attack"); }; if (this.currentFrame == 4){ attack(this.tid); }; }; break; case "escape": this.gotoAndPlay("nige"); this.x = (this.x - (this.SPEED * Object(root).war_Escape_Mode)); this.scaleX = -1; if (Math.floor((Math.random() * 25)) == 1){ Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC05_ASE(Object(root).e_id, this.x, this.y); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); }; if (this.x < 16){ Object(root).war_Escape_UnitCnt++; i = 0; while (i < Object(root).war_UnitID[this.side].length) { if (Object(root).war_UnitID[this.side][i] == this.id){ Object(root).war_UnitID[this.side].splice(i, 1); break; }; i++; }; this.live_flg = false; this.visible = false; Object(root).dict[("SHADOW" + this.id)].visible = false; this.brain_flg = true; }; break; case "kurai": this.ys++; this.x = (this.x + this.xs); this.y = (this.y + this.ys); if (this.y >= this.yy){ this.y = this.yy; if (this.mahi_cnt <= 0){ this.gotoAndPlay("stay"); this.move_mode = Object(root).war_UnitMode[this.side][this.type]; } else { this.gotoAndPlay("mahi"); this.move_mode = "mahi"; }; }; break; case "mahi": this.mahi_cnt--; if (this.mahi_cnt <= 0){ this.gotoAndPlay("stay"); this.move_mode = Object(root).war_UnitMode[this.side][this.type]; }; break; }; if (this.x < 16){ this.x = 16; } else { if (this.x > 624){ this.x = 624; }; }; if (this.y < 66){ this.y = 66; } else { if (this.y > 384){ this.y = 384; }; }; Object(root).dict[("SHADOW" + this.id)].x = this.x; if (this.move_mode == "kurai"){ Object(root).dict[("SHADOW" + this.id)].y = (this.yy + 17); } else { Object(root).dict[("SHADOW" + this.id)].y = (this.y + 17); }; if ((((this.side == 0)) && (Object(root).dict[Object(root).war_Wall_ID]))){ if ((((this.x >= (Object(root).dict[Object(root).war_Wall_ID].x - 32))) && (Object(root).dict[Object(root).war_Wall_ID].live_flg))){ this.x = (Object(root).dict[Object(root).war_Wall_ID].x - 32); }; }; this.col_cnt--; if (this.col_cnt < 1){ this.transform.colorTransform = Object(root).color_normal; }; }; } public function kill(){ Object(root).dict["f_shadow"].removeChild(Object(root).dict[("SHADOW" + this.id)]); Object(root).dict[("SHADOW" + this.id)] = null; delete Object(root).dict[("SHADOW" + this.id)]; removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[this.id] = null; delete Object(root).dict[this.id]; this.parent.removeChild(this); } public function mahi(_arg1){ this.mahi_cnt = _arg1; if (this.move_mode != "kurai"){ this.gotoAndPlay("mahi"); this.move_mode = "mahi"; }; } public function heal(_arg1, _arg2, _arg3){ this.dmg = _arg1; this.hp = (this.hp + this.dmg); if (this.hp > this.MAX_HP){ this.hp = this.MAX_HP; }; this.col_cnt = 3; this.transform.colorTransform = Object(root).color_white; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC08_HEAL(Object(root).e_id, _arg2, _arg3, this.dmg); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); Object(root).se_heal_flg = true; } } }//package
Section 208
//UNIT11_HONE (UNIT11_HONE) package { import flash.display.*; import flash.events.*; public class UNIT11_HONE extends MovieClip { private var DEF_POWER:int;// = 0 private var SPEED:Number;// = 0 private var col_cnt:Number;// = 0 public var hp_bar:HP_BAR; private var i:int;// = 0 private var tx:Number;// = 0 private var ty:Number;// = 0 private var tid:int;// = 0 public var dx:Number;// = 0 private var dis:Number;// = 0 private var ATK_RANGE:int;// = 20 public var live_flg:Boolean;// = true public var dy:Number;// = 0 private var wrk_dis:Number;// = 0 private var wrk_id:int;// = 0 private var ATK_POWER_MIN:int;// = 20 private var wx:Number;// = 0 private var wy:Number;// = 0 private var dmg:int;// = 0 private var xs:Number;// = 0 public var hp:int;// = 0 private var ys:Number;// = 0 private var id:int;// = 0 private var yy:Number;// = 0 private var BASE_SPEED:Number;// = 1 public var type:int;// = 11 public var side:int;// = 0 private var move_mode:String;// = "" private var cnt:int;// = 0 public var brain_flg:Boolean;// = false private var ATK_SPEED:int;// = 50 private var t_rot:Number;// = 0 private var mahi_cnt:int;// = 0 private var ATK_POWER_MAX:int;// = 30 public var MAX_HP:int;// = 350 public function UNIT11_HONE(_arg1, _arg2, _arg3, _arg4){ type = 11; BASE_SPEED = 1; SPEED = 0; ATK_SPEED = 50; ATK_RANGE = 20; ATK_POWER_MAX = 30; ATK_POWER_MIN = 20; DEF_POWER = 0; MAX_HP = 350; id = 0; side = 0; hp = 0; move_mode = ""; yy = 0; ys = 0; xs = 0; col_cnt = 0; cnt = 0; i = 0; dmg = 0; tid = 0; dis = 0; wrk_id = 0; wrk_dis = 0; wx = 0; wy = 0; tx = 0; ty = 0; dx = 0; dy = 0; t_rot = 0; mahi_cnt = 0; live_flg = true; brain_flg = false; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18); this.id = _arg1; this.hp = this.MAX_HP; this.x = _arg2; this.y = _arg3; this.cnt = Math.floor((Math.random() * this.ATK_SPEED)); this.dx = _arg2; this.dy = _arg3; this.side = _arg4; if (this.side == 1){ this.scaleX = -1; this.hp_bar.bar_in.gotoAndStop(2); }; this.live_flg = true; addEventListener(Event.ENTER_FRAME, onEnterFrame); } private function attack(_arg1){ this.cnt = 0; this.dmg = ((Math.floor((Math.random() * ((ATK_POWER_MAX - ATK_POWER_MIN) + Object(root).war_Adj_ATK[this.side]))) + ATK_POWER_MIN) + Object(root).war_Adj_ATK[this.side]); this.dmg = Math.floor(((this.dmg * (100 - Object(root).war_Adj_DEF_S[this.side])) / 100)); if (Object(root).war_Wall_ID == _arg1){ Object(root).dict[_arg1].kurai(this.dmg, this.scaleX, Object(root).dict[_arg1].x, this.y); } else { Object(root).dict[_arg1].kurai(this.dmg, this.scaleX, Object(root).dict[_arg1].x, Object(root).dict[_arg1].y); }; } function frame10(){ this.stop(); } function frame14(){ this.stop(); } function frame16(){ this.gotoAndPlay("mahi"); } function frame15(){ this.stop(); } function frame17(){ this.stop(); } function frame18(){ this.gotoAndPlay("nige"); } function frame3(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame7(){ this.stop(); } function frame1(){ this.stop(); } function frame11(){ this.stop(); } public function kurai(_arg1, _arg2, _arg3, _arg4){ this.dmg = _arg1; if (this.scaleX == _arg2){ this.dmg = (this.dmg * 2); }; this.dmg = Math.floor((this.dmg * ((100 - (this.DEF_POWER + Object(root).war_Adj_DEF[this.side])) / 100))); this.hp = (this.hp - this.dmg); this.col_cnt = 3; this.transform.colorTransform = Object(root).color_red; Object(root).se_poko_flg = true; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC01_DMG(Object(root).e_id, _arg3, _arg4, this.dmg, _arg2); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); if (this.move_mode != "kurai"){ this.gotoAndPlay("itai"); this.move_mode = "kurai"; this.yy = this.y; this.ys = -1; this.xs = (4 * _arg2); }; if ((((this.hp < 1)) && (this.live_flg))){ var _local5 = Object(root).war_UnitCnt[this.side]; var _local6 = this.type; var _local7 = (_local5[_local6] - 1); _local5[_local6] = _local7; _local5 = Object(root).war_TotalUnitCnt; _local6 = this.side; _local7 = (_local5[_local6] - 1); _local5[_local6] = _local7; i = 0; while (i < Object(root).war_UnitID[this.side].length) { if (Object(root).war_UnitID[this.side][i] == this.id){ Object(root).war_UnitID[this.side].splice(i, 1); break; }; i++; }; if ((((Object(root).war_TotalUnitCnt[(1 - this.side)] < 50)) && ((Math.floor((Math.random() * 100)) < Object(root).war_Brain[(1 - this.side)])))){ Object(root).se_brain_flg = true; _local5 = Object(root).war_UnitCnt_Brain[(1 - this.side)]; _local6 = this.type; _local7 = (_local5[_local6] + 1); _local5[_local6] = _local7; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC22_BRAIN_WASH(Object(root).e_id, this.x, this.y, this.scaleX, this.type); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); this.brain_flg = true; } else { Object(root).yarare_set(); if (Object(root).war_Capture[(1 - this.side)] > 0){ Object(root).se_buy_flg = true; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC06_TAC_EFFECT(Object(root).e_id, this.x, (this.y - 10), (6 + (Object(root).war_Capture[(1 - this.side)] / 5))); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); if (this.side == 0){ Object(root).gold[Object(root).ken_side[Object(root).ken_def_id]] = (Object(root).gold[Object(root).ken_side[Object(root).ken_def_id]] + Object(root).war_Capture[(1 - this.side)]); } else { Object(root).gold[Object(root).ken_side[Object(root).ken_atk_id]] = (Object(root).gold[Object(root).ken_side[Object(root).ken_atk_id]] + Object(root).war_Capture[(1 - this.side)]); }; }; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC02_UNITDOWN(Object(root).e_id, this.x, this.y, this.scaleX, this.type); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); }; this.live_flg = false; this.visible = false; Object(root).dict[("SHADOW" + this.id)].visible = false; Object(root).unit_y_adj(this.side, this.type); return; }; } function frame13(){ this.gotoAndPlay(12); } function frame9(){ this.gotoAndPlay("stay"); } function frame12(){ this.stop(); } function frame8(){ this.stop(); } function frame2(){ this.gotoAndPlay("stay"); } public function resurrect(_arg1){ this.hp = _arg1; var _local2 = Object(root).war_UnitCnt[this.side]; var _local3 = this.type; var _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = Object(root).war_TotalUnitCnt; _local3 = this.side; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; Object(root).war_UnitID[this.side].push(this.id); this.live_flg = true; this.visible = true; Object(root).dict[("SHADOW" + this.id)].visible = true; Object(root).unit_y_adj(this.side, this.type); this.gotoAndPlay("stay"); this.move_mode = Object(root).war_UnitMode[this.side][this.type]; } function frame6(){ this.stop(); } public function onEnterFrame(_arg1:Event){ if (((((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))) && (this.live_flg))){ this.nextFrame(); this.hp_bar.bar_in.scaleX = (this.hp / this.MAX_HP); this.cnt++; this.SPEED = (this.BASE_SPEED + Object(root).war_Adj_SPEED[this.side]); if (this.SPEED <= 0){ this.SPEED = 0.1; }; this.dis = 99999; i = 0; while (i < Object(root).war_UnitID[(1 - this.side)].length) { wrk_id = Object(root).war_UnitID[(1 - this.side)][i]; if (Object(root).dict[wrk_id].live_flg){ this.wx = Object(root).dict[wrk_id].x; if (this.wx > this.x){ this.wx = (this.wx - this.ATK_RANGE); } else { this.wx = (this.wx + this.ATK_RANGE); }; if (Object(root).war_Wall_ID == wrk_id){ this.wy = this.y; } else { this.wy = Object(root).dict[wrk_id].y; }; this.wrk_dis = Math.sqrt((Math.pow((this.wx - this.x), 2) + Math.pow((this.wy - this.y), 2))); if (this.dis > this.wrk_dis){ this.dis = this.wrk_dis; this.tid = wrk_id; }; }; i++; }; if (Object(root).dict[this.tid].live_flg){ this.tx = Object(root).dict[this.tid].x; if (Object(root).war_Wall_ID == this.tid){ this.ty = this.y; } else { this.ty = Object(root).dict[this.tid].y; }; if (this.tx > this.x){ this.scaleX = 1; this.tx = (this.tx - this.ATK_RANGE); } else { this.scaleX = -1; this.tx = (this.tx + this.ATK_RANGE); }; this.ty = (this.ty + (((this.id % 25) * 2) - 24)); }; if (((!((this.move_mode == "kurai"))) && (!((this.move_mode == "mahi"))))){ if ((((Object(root).war_Escape_Mode > 0)) && ((this.side == 0)))){ this.move_mode = "escape"; } else { this.move_mode = Object(root).war_UnitMode[this.side][this.type]; }; }; switch (this.move_mode){ case "attack": if (this.dis < this.ATK_RANGE){ if ((((this.cnt > this.ATK_SPEED)) && ((this.currentFrame < 3)))){ Object(root).se_hone_attack_flg = true; this.gotoAndPlay("attack"); }; } else { this.t_rot = ((Math.atan2((this.ty - this.y), (this.tx - this.x)) * 180) / Math.PI); this.xs = (Math.cos(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.ys = (Math.sin(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.x = (this.x + this.xs); this.y = (this.y + this.ys); }; if ((((this.currentFrame == 4)) && ((this.dis < (this.ATK_RANGE + 20))))){ attack(this.tid); }; break; case "deffence": this.dx = Object(root).war_UnitX[this.side][this.type]; this.wrk_dis = Math.sqrt((Math.pow((this.dx - this.x), 2) + Math.pow((this.dy - this.y), 2))); if (this.wrk_dis < this.SPEED){ this.x = this.dx; this.y = this.dy; } else { this.t_rot = ((Math.atan2((this.dy - this.y), (this.dx - this.x)) * 180) / Math.PI); this.xs = (Math.cos(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.ys = (Math.sin(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.x = (this.x + this.xs); this.y = (this.y + this.ys); }; if (this.dis < this.ATK_RANGE){ if ((((this.cnt > this.ATK_SPEED)) && ((this.currentFrame < 3)))){ Object(root).se_hone_attack_flg = true; this.gotoAndPlay("attack"); }; if (this.currentFrame == 4){ attack(this.tid); }; }; break; case "escape": this.gotoAndPlay("nige"); this.x = (this.x - (this.SPEED * Object(root).war_Escape_Mode)); this.scaleX = -1; if (Math.floor((Math.random() * 25)) == 1){ Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC05_ASE(Object(root).e_id, this.x, this.y); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); }; if (this.x < 16){ Object(root).war_Escape_UnitCnt++; i = 0; while (i < Object(root).war_UnitID[this.side].length) { if (Object(root).war_UnitID[this.side][i] == this.id){ Object(root).war_UnitID[this.side].splice(i, 1); break; }; i++; }; this.live_flg = false; this.visible = false; Object(root).dict[("SHADOW" + this.id)].visible = false; this.brain_flg = true; }; break; case "kurai": this.ys++; this.x = (this.x + this.xs); this.y = (this.y + this.ys); if (this.y >= this.yy){ this.y = this.yy; if (this.mahi_cnt <= 0){ this.gotoAndPlay("stay"); this.move_mode = Object(root).war_UnitMode[this.side][this.type]; } else { this.gotoAndPlay("mahi"); this.move_mode = "mahi"; }; }; break; case "mahi": this.mahi_cnt--; if (this.mahi_cnt <= 0){ this.gotoAndPlay("stay"); this.move_mode = Object(root).war_UnitMode[this.side][this.type]; }; break; }; if (this.x < 16){ this.x = 16; } else { if (this.x > 624){ this.x = 624; }; }; if (this.y < 66){ this.y = 66; } else { if (this.y > 384){ this.y = 384; }; }; Object(root).dict[("SHADOW" + this.id)].x = this.x; if (this.move_mode == "kurai"){ Object(root).dict[("SHADOW" + this.id)].y = (this.yy + 17); } else { Object(root).dict[("SHADOW" + this.id)].y = (this.y + 17); }; if ((((this.side == 0)) && (Object(root).dict[Object(root).war_Wall_ID]))){ if ((((this.x >= (Object(root).dict[Object(root).war_Wall_ID].x - 32))) && (Object(root).dict[Object(root).war_Wall_ID].live_flg))){ this.x = (Object(root).dict[Object(root).war_Wall_ID].x - 32); }; }; this.col_cnt--; if (this.col_cnt < 1){ this.transform.colorTransform = Object(root).color_normal; }; }; } public function kill(){ Object(root).dict["f_shadow"].removeChild(Object(root).dict[("SHADOW" + this.id)]); Object(root).dict[("SHADOW" + this.id)] = null; delete Object(root).dict[("SHADOW" + this.id)]; removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[this.id] = null; delete Object(root).dict[this.id]; this.parent.removeChild(this); } public function mahi(_arg1){ this.mahi_cnt = _arg1; if (this.move_mode != "kurai"){ this.gotoAndPlay("mahi"); this.move_mode = "mahi"; }; } public function heal(_arg1, _arg2, _arg3){ this.dmg = _arg1; this.hp = (this.hp + this.dmg); if (this.hp > this.MAX_HP){ this.hp = this.MAX_HP; }; this.col_cnt = 3; this.transform.colorTransform = Object(root).color_white; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC08_HEAL(Object(root).e_id, _arg2, _arg3, this.dmg); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); Object(root).se_heal_flg = true; } } }//package
Section 209
//UNIT12_BIG (UNIT12_BIG) package { import flash.display.*; import flash.events.*; public class UNIT12_BIG extends MovieClip { private var DEF_POWER:int;// = 30 private var SPEED:Number;// = 0 private var col_cnt:Number;// = 0 public var hp_bar:HP_BAR; private var i:int;// = 0 private var tx:Number;// = 0 private var ty:Number;// = 0 private var tid:int;// = 0 public var dx:Number;// = 0 private var dis:Number;// = 0 private var ATK_RANGE:int;// = 50 public var live_flg:Boolean;// = true public var dy:Number;// = 0 private var wrk_dis:Number;// = 0 private var wrk_id:int;// = 0 private var ATK_POWER_MIN:int;// = 20 private var ws:Number;// = 0 private var wx:Number;// = 0 private var wy:Number;// = 0 private var dmg:int;// = 0 private var xs:Number;// = 0 public var hp:int;// = 0 private var ys:Number;// = 0 private var id:int;// = 0 private var yy:Number;// = 0 private var BASE_SPEED:Number;// = 0.5 public var type:int;// = 12 public var side:int;// = 0 private var move_mode:String;// = "" private var cnt:int;// = 0 public var brain_flg:Boolean;// = false private var ATK_SPEED:int;// = 70 private var t_rot:Number;// = 0 private var mahi_cnt:int;// = 0 private var ATK_POWER_MAX:int;// = 40 public var MAX_HP:int;// = 2000 private var ATK_AREA:int;// = 100 public function UNIT12_BIG(_arg1, _arg2, _arg3, _arg4){ type = 12; BASE_SPEED = 0.5; SPEED = 0; ATK_SPEED = 70; ATK_RANGE = 50; ATK_AREA = 100; ATK_POWER_MAX = 40; ATK_POWER_MIN = 20; DEF_POWER = 30; MAX_HP = 2000; id = 0; side = 0; hp = 0; move_mode = ""; yy = 0; ys = 0; xs = 0; col_cnt = 0; cnt = 0; i = 0; dmg = 0; tid = 0; dis = 0; wrk_id = 0; wrk_dis = 0; wx = 0; wy = 0; ws = 0; tx = 0; ty = 0; dx = 0; dy = 0; t_rot = 0; mahi_cnt = 0; live_flg = true; brain_flg = false; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 20, frame21, 21, frame22, 22, frame23, 23, frame24, 24, frame25, 25, frame26, 26, frame27, 27, frame28); this.id = _arg1; this.hp = this.MAX_HP; this.x = _arg2; this.y = _arg3; this.cnt = Math.floor((Math.random() * this.ATK_SPEED)); this.dx = _arg2; this.dy = _arg3; this.side = _arg4; if (this.side == 1){ this.scaleX = -1; this.hp_bar.bar_in.gotoAndStop(2); }; this.live_flg = true; addEventListener(Event.ENTER_FRAME, onEnterFrame); } function frame10(){ this.stop(); } function frame14(){ this.stop(); } function frame16(){ this.stop(); } function frame15(){ this.stop(); } function frame17(){ this.stop(); } function frame18(){ this.stop(); } function frame3(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame7(){ this.stop(); } function frame1(){ this.stop(); } function frame19(){ this.gotoAndPlay("stay"); } function frame23(){ this.gotoAndPlay(12); } function frame11(){ this.stop(); } public function kurai(_arg1, _arg2, _arg3, _arg4){ this.dmg = _arg1; if (this.scaleX == _arg2){ this.dmg = (this.dmg * 2); }; this.dmg = Math.floor((this.dmg * ((100 - (this.DEF_POWER + Object(root).war_Adj_DEF[this.side])) / 100))); this.hp = (this.hp - this.dmg); this.col_cnt = 3; this.transform.colorTransform = Object(root).color_red; Object(root).se_poko_flg = true; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC01_DMG(Object(root).e_id, _arg3, _arg4, this.dmg, _arg2); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); Object(root).se_metal_flg = true; if ((((this.hp < 1)) && (this.live_flg))){ var _local5 = Object(root).war_UnitCnt[this.side]; var _local6 = this.type; var _local7 = (_local5[_local6] - 1); _local5[_local6] = _local7; _local5 = Object(root).war_TotalUnitCnt; _local6 = this.side; _local7 = (_local5[_local6] - 1); _local5[_local6] = _local7; i = 0; while (i < Object(root).war_UnitID[this.side].length) { if (Object(root).war_UnitID[this.side][i] == this.id){ Object(root).war_UnitID[this.side].splice(i, 1); break; }; i++; }; Object(root).yarare_set(); if (Object(root).war_Capture[(1 - this.side)] > 0){ Object(root).se_buy_flg = true; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC06_TAC_EFFECT(Object(root).e_id, this.x, (this.y - 10), (6 + (Object(root).war_Capture[(1 - this.side)] / 5))); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); if (this.side == 0){ Object(root).gold[Object(root).ken_side[Object(root).ken_def_id]] = (Object(root).gold[Object(root).ken_side[Object(root).ken_def_id]] + Object(root).war_Capture[(1 - this.side)]); } else { Object(root).gold[Object(root).ken_side[Object(root).ken_atk_id]] = (Object(root).gold[Object(root).ken_side[Object(root).ken_atk_id]] + Object(root).war_Capture[(1 - this.side)]); }; }; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC02_UNITDOWN(Object(root).e_id, this.x, this.y, this.scaleX, this.type); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); this.live_flg = false; this.visible = false; Object(root).dict[("SHADOW" + this.id)].visible = false; Object(root).unit_y_adj(this.side, this.type); return; }; } function frame13(){ this.stop(); } function frame9(){ this.stop(); } function frame24(){ this.stop(); } function frame25(){ this.stop(); } function frame12(){ this.stop(); } function frame22(){ this.stop(); } function frame26(){ this.gotoAndPlay("mahi"); } function frame8(){ this.stop(); } function frame2(){ this.gotoAndPlay("stay"); } function frame20(){ this.stop(); } function frame21(){ this.stop(); } function frame27(){ this.stop(); } public function resurrect(_arg1){ this.hp = _arg1; var _local2 = Object(root).war_UnitCnt[this.side]; var _local3 = this.type; var _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = Object(root).war_TotalUnitCnt; _local3 = this.side; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; Object(root).war_UnitID[this.side].push(this.id); this.live_flg = true; this.visible = true; Object(root).dict[("SHADOW" + this.id)].visible = true; Object(root).unit_y_adj(this.side, this.type); this.gotoAndPlay("stay"); this.move_mode = Object(root).war_UnitMode[this.side][this.type]; } function frame28(){ this.gotoAndPlay("nige"); } function frame6(){ this.stop(); } public function onEnterFrame(_arg1:Event){ if (((((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))) && (this.live_flg))){ this.nextFrame(); this.hp_bar.bar_in.scaleX = (this.hp / this.MAX_HP); this.cnt++; this.SPEED = (this.BASE_SPEED + Object(root).war_Adj_SPEED[this.side]); if (this.SPEED <= 0){ this.SPEED = 0.1; }; this.dis = 99999; i = 0; while (i < Object(root).war_UnitID[(1 - this.side)].length) { wrk_id = Object(root).war_UnitID[(1 - this.side)][i]; if (Object(root).dict[wrk_id].live_flg){ this.wx = Object(root).dict[wrk_id].x; if (this.wx > this.x){ this.wx = (this.wx - this.ATK_RANGE); } else { this.wx = (this.wx + this.ATK_RANGE); }; if (Object(root).war_Wall_ID == wrk_id){ this.wy = this.y; } else { this.wy = Object(root).dict[wrk_id].y; }; this.wrk_dis = Math.sqrt((Math.pow((this.wx - this.x), 2) + Math.pow((this.wy - this.y), 2))); if (this.dis > this.wrk_dis){ this.dis = this.wrk_dis; this.tid = wrk_id; }; }; i++; }; if (Object(root).dict[this.tid].live_flg){ this.tx = Object(root).dict[this.tid].x; if (Object(root).war_Wall_ID == this.tid){ this.ty = this.y; } else { this.ty = Object(root).dict[this.tid].y; }; if (this.tx > this.x){ this.scaleX = 1; this.tx = (this.tx - 40); } else { this.scaleX = -1; this.tx = (this.tx + 40); }; }; if (((!((this.move_mode == "kurai"))) && (!((this.move_mode == "mahi"))))){ if ((((Object(root).war_Escape_Mode > 0)) && ((this.side == 0)))){ this.move_mode = "escape"; } else { this.move_mode = Object(root).war_UnitMode[this.side][this.type]; }; }; switch (this.move_mode){ case "attack": if (this.dis < this.ATK_RANGE){ if ((((this.cnt > this.ATK_SPEED)) && ((this.currentFrame < 3)))){ this.cnt = 0; this.gotoAndPlay("attack"); }; } else { this.t_rot = ((Math.atan2((this.ty - this.y), (this.tx - this.x)) * 180) / Math.PI); this.xs = (Math.cos(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.ys = (Math.sin(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.x = (this.x + this.xs); this.y = (this.y + this.ys); }; break; case "deffence": this.dx = Object(root).war_UnitX[this.side][this.type]; this.wrk_dis = Math.sqrt((Math.pow((this.dx - this.x), 2) + Math.pow((this.dy - this.y), 2))); if (this.wrk_dis < this.SPEED){ this.x = this.dx; this.y = this.dy; } else { this.t_rot = ((Math.atan2((this.dy - this.y), (this.dx - this.x)) * 180) / Math.PI); this.xs = (Math.cos(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.ys = (Math.sin(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.x = (this.x + this.xs); this.y = (this.y + this.ys); }; if (this.dis < this.ATK_RANGE){ if ((((this.cnt > this.ATK_SPEED)) && ((this.currentFrame < 3)))){ this.cnt = 0; this.gotoAndPlay("attack"); }; }; break; case "escape": this.gotoAndPlay("nige"); this.x = (this.x - (this.SPEED * Object(root).war_Escape_Mode)); this.scaleX = -1; if (Math.floor((Math.random() * 25)) == 1){ Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC05_ASE(Object(root).e_id, (this.x + 20), (this.y - 20)); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); }; if (this.x < 16){ Object(root).war_Escape_UnitCnt++; i = 0; while (i < Object(root).war_UnitID[this.side].length) { if (Object(root).war_UnitID[this.side][i] == this.id){ Object(root).war_UnitID[this.side].splice(i, 1); break; }; i++; }; this.live_flg = false; this.visible = false; Object(root).dict[("SHADOW" + this.id)].visible = false; this.brain_flg = true; }; break; case "kurai": this.ys++; this.x = (this.x + this.xs); this.y = (this.y + this.ys); if (this.y >= this.yy){ this.y = this.yy; if (this.mahi_cnt <= 0){ this.gotoAndPlay("stay"); this.move_mode = Object(root).war_UnitMode[this.side][this.type]; } else { this.gotoAndPlay("mahi"); this.move_mode = "mahi"; }; }; break; case "mahi": this.mahi_cnt--; if (this.mahi_cnt <= 0){ this.gotoAndPlay("stay"); this.move_mode = Object(root).war_UnitMode[this.side][this.type]; }; break; }; if ((((((this.currentFrame == 4)) || ((this.currentFrame == 6)))) || ((this.currentFrame == 8)))){ Object(root).se_nagi_flg = true; i = 0; while (i < Object(root).war_UnitID[(1 - this.side)].length) { wrk_id = Object(root).war_UnitID[(1 - this.side)][i]; if (Object(root).dict[wrk_id].live_flg){ this.wx = Object(root).dict[wrk_id].x; if (Object(root).war_Wall_ID == wrk_id){ this.wy = this.y; } else { this.wy = Object(root).dict[wrk_id].y; }; this.wrk_dis = Math.sqrt((Math.pow((this.wx - this.x), 2) + Math.pow((this.wy - this.y), 2))); if (this.wrk_dis < this.ATK_AREA){ this.dmg = ((Math.floor((Math.random() * ((ATK_POWER_MAX - ATK_POWER_MIN) + Object(root).war_Adj_ATK[this.side]))) + ATK_POWER_MIN) + Object(root).war_Adj_ATK[this.side]); this.dmg = Math.floor(((this.dmg * (100 - Object(root).war_Adj_DEF_S[this.side])) / 100)); if (this.x > Object(root).dict[wrk_id].x){ this.ws = -1; } else { this.ws = 1; }; Object(root).dict[wrk_id].kurai(this.dmg, this.ws, Object(root).dict[wrk_id].x, Object(root).dict[wrk_id].y); }; }; i++; }; }; if (this.x < 16){ this.x = 16; } else { if (this.x > 624){ this.x = 624; }; }; Object(root).dict[("SHADOW" + this.id)].scaleX = 2; Object(root).dict[("SHADOW" + this.id)].scaley = 2; Object(root).dict[("SHADOW" + this.id)].x = this.x; if (this.move_mode == "kurai"){ Object(root).dict[("SHADOW" + this.id)].y = (this.yy + 17); } else { Object(root).dict[("SHADOW" + this.id)].y = (this.y + 17); }; if ((((this.side == 0)) && (Object(root).dict[Object(root).war_Wall_ID]))){ if ((((this.x >= (Object(root).dict[Object(root).war_Wall_ID].x - 32))) && (Object(root).dict[Object(root).war_Wall_ID].live_flg))){ this.x = (Object(root).dict[Object(root).war_Wall_ID].x - 32); }; }; this.col_cnt--; if (this.col_cnt < 1){ this.transform.colorTransform = Object(root).color_normal; }; }; } public function kill(){ Object(root).dict["f_shadow"].removeChild(Object(root).dict[("SHADOW" + this.id)]); Object(root).dict[("SHADOW" + this.id)] = null; delete Object(root).dict[("SHADOW" + this.id)]; removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[this.id] = null; delete Object(root).dict[this.id]; this.parent.removeChild(this); } public function mahi(_arg1){ this.mahi_cnt = _arg1; if (this.move_mode != "kurai"){ this.gotoAndPlay("mahi"); this.move_mode = "mahi"; }; } public function heal(_arg1, _arg2, _arg3){ this.dmg = _arg1; this.hp = (this.hp + this.dmg); if (this.hp > this.MAX_HP){ this.hp = this.MAX_HP; }; this.col_cnt = 3; this.transform.colorTransform = Object(root).color_white; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC08_HEAL(Object(root).e_id, _arg2, _arg3, this.dmg); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); Object(root).se_heal_flg = true; } } }//package
Section 210
//UNIT13_YOWAI (UNIT13_YOWAI) package { import flash.display.*; import flash.events.*; public class UNIT13_YOWAI extends MovieClip { private var DEF_POWER:int;// = 10 private var SPEED:Number;// = 0 private var col_cnt:Number;// = 0 public var hp_bar:HP_BAR; private var i:int;// = 0 private var tx:Number;// = 0 private var ty:Number;// = 0 private var tid:int;// = 0 public var dx:Number;// = 0 private var dis:Number;// = 0 private var ATK_RANGE:int;// = 15 public var live_flg:Boolean;// = true public var dy:Number;// = 0 private var wrk_dis:Number;// = 0 private var wrk_id:int;// = 0 private var ATK_POWER_MIN:int;// = 2 private var wx:Number;// = 0 private var wy:Number;// = 0 private var dmg:int;// = 0 private var xs:Number;// = 0 public var hp:int;// = 0 private var ys:Number;// = 0 private var id:int;// = 0 private var yy:Number;// = 0 private var BASE_SPEED:Number;// = 2.5 public var type:int;// = 13 public var side:int;// = 0 private var move_mode:String;// = "" public var brain_flg:Boolean;// = false public var body:MovieClip; private var t_rot:Number;// = 0 private var mahi_cnt:int;// = 0 private var ATK_POWER_MAX:int;// = 40 public var MAX_HP:int;// = 250 public function UNIT13_YOWAI(_arg1, _arg2, _arg3, _arg4){ type = 13; BASE_SPEED = 2.5; SPEED = 0; ATK_RANGE = 15; ATK_POWER_MAX = 40; ATK_POWER_MIN = 2; DEF_POWER = 10; MAX_HP = 250; id = 0; side = 0; hp = 0; move_mode = ""; yy = 0; ys = 0; xs = 0; col_cnt = 0; i = 0; dmg = 0; tid = 0; dis = 0; wrk_id = 0; wrk_dis = 0; wx = 0; wy = 0; tx = 0; ty = 0; dx = 0; dy = 0; t_rot = 0; mahi_cnt = 0; live_flg = true; brain_flg = false; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5); this.id = _arg1; this.hp = this.MAX_HP; this.x = _arg2; this.y = _arg3; this.dx = _arg2; this.dy = _arg3; this.body.rotation = Math.floor((Math.random() * 360)); this.side = _arg4; if (this.side == 1){ this.scaleX = -1; this.hp_bar.bar_in.gotoAndStop(2); }; this.live_flg = true; addEventListener(Event.ENTER_FRAME, onEnterFrame); } private function attack(_arg1){ this.dmg = ((Math.floor((Math.random() * ((ATK_POWER_MAX - ATK_POWER_MIN) + Object(root).war_Adj_ATK[this.side]))) + ATK_POWER_MIN) + Object(root).war_Adj_ATK[this.side]); this.dmg = Math.floor(((this.dmg * (100 - Object(root).war_Adj_DEF_S[this.side])) / 100)); if (Object(root).war_Wall_ID == _arg1){ Object(root).dict[_arg1].kurai(this.dmg, this.scaleX, Object(root).dict[_arg1].x, this.y); } else { Object(root).dict[_arg1].kurai(this.dmg, this.scaleX, Object(root).dict[_arg1].x, Object(root).dict[_arg1].y); }; } function frame3(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.gotoAndPlay("mahi"); } function frame1(){ this.stop(); } public function kurai(_arg1, _arg2, _arg3, _arg4){ this.dmg = _arg1; if (this.scaleX == _arg2){ this.dmg = (this.dmg * 2); }; this.dmg = Math.floor((this.dmg * ((100 - (this.DEF_POWER + Object(root).war_Adj_DEF[this.side])) / 100))); this.hp = (this.hp - this.dmg); this.col_cnt = 3; this.transform.colorTransform = Object(root).color_red; Object(root).se_poko_flg = true; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC01_DMG(Object(root).e_id, _arg3, _arg4, this.dmg, _arg2); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); if (this.move_mode != "kurai"){ this.gotoAndPlay("itai"); this.move_mode = "kurai"; this.yy = this.y; this.ys = -3; this.xs = (4 * _arg2); }; if ((((this.hp < 1)) && (this.live_flg))){ var _local5 = Object(root).war_UnitCnt[this.side]; var _local6 = this.type; var _local7 = (_local5[_local6] - 1); _local5[_local6] = _local7; _local5 = Object(root).war_TotalUnitCnt; _local6 = this.side; _local7 = (_local5[_local6] - 1); _local5[_local6] = _local7; i = 0; while (i < Object(root).war_UnitID[this.side].length) { if (Object(root).war_UnitID[this.side][i] == this.id){ Object(root).war_UnitID[this.side].splice(i, 1); break; }; i++; }; if ((((Object(root).war_TotalUnitCnt[(1 - this.side)] < 50)) && ((Math.floor((Math.random() * 100)) < Object(root).war_Brain[(1 - this.side)])))){ Object(root).se_brain_flg = true; _local5 = Object(root).war_UnitCnt_Brain[(1 - this.side)]; _local6 = this.type; _local7 = (_local5[_local6] + 1); _local5[_local6] = _local7; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC22_BRAIN_WASH(Object(root).e_id, this.x, this.y, this.scaleX, this.type); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); this.brain_flg = true; } else { Object(root).se_ikimono_flg = true; if (Object(root).war_Capture[(1 - this.side)] > 0){ Object(root).se_buy_flg = true; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC06_TAC_EFFECT(Object(root).e_id, this.x, (this.y - 10), (6 + (Object(root).war_Capture[(1 - this.side)] / 5))); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); if (this.side == 0){ Object(root).gold[Object(root).ken_side[Object(root).ken_def_id]] = (Object(root).gold[Object(root).ken_side[Object(root).ken_def_id]] + Object(root).war_Capture[(1 - this.side)]); } else { Object(root).gold[Object(root).ken_side[Object(root).ken_atk_id]] = (Object(root).gold[Object(root).ken_side[Object(root).ken_atk_id]] + Object(root).war_Capture[(1 - this.side)]); }; }; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC36_YOWAI_YARARE(Object(root).e_id, this.x, this.y, this.scaleX, this.body.rotation); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); }; this.live_flg = false; this.visible = false; Object(root).dict[("SHADOW" + this.id)].visible = false; Object(root).unit_y_adj(this.side, this.type); return; }; } function frame2(){ this.gotoAndPlay("stay"); } public function resurrect(_arg1){ this.hp = _arg1; var _local2 = Object(root).war_UnitCnt[this.side]; var _local3 = this.type; var _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = Object(root).war_TotalUnitCnt; _local3 = this.side; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; Object(root).war_UnitID[this.side].push(this.id); this.live_flg = true; this.visible = true; Object(root).dict[("SHADOW" + this.id)].visible = true; Object(root).unit_y_adj(this.side, this.type); this.gotoAndPlay("stay"); this.move_mode = Object(root).war_UnitMode[this.side][this.type]; } public function onEnterFrame(_arg1:Event){ if (((((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))) && (this.live_flg))){ this.hp_bar.bar_in.scaleX = (this.hp / this.MAX_HP); if (this.currentFrame < 3){ this.body.gotoAndStop(1); } else { this.body.gotoAndStop(2); }; this.SPEED = (this.BASE_SPEED + Object(root).war_Adj_SPEED[this.side]); this.dis = 99999; i = 0; while (i < Object(root).war_UnitID[(1 - this.side)].length) { wrk_id = Object(root).war_UnitID[(1 - this.side)][i]; if (Object(root).dict[wrk_id].live_flg){ this.wx = Object(root).dict[wrk_id].x; if (this.wx > this.x){ this.wx = (this.wx - this.ATK_RANGE); } else { this.wx = (this.wx + this.ATK_RANGE); }; if (Object(root).war_Wall_ID == wrk_id){ this.wy = this.y; } else { this.wy = Object(root).dict[wrk_id].y; }; this.wrk_dis = Math.sqrt((Math.pow((this.wx - this.x), 2) + Math.pow((this.wy - this.y), 2))); if (this.dis > this.wrk_dis){ this.dis = this.wrk_dis; this.tid = wrk_id; }; }; i++; }; if (Object(root).dict[this.tid].live_flg){ this.tx = Object(root).dict[this.tid].x; if (Object(root).war_Wall_ID == this.tid){ this.ty = this.y; } else { this.ty = Object(root).dict[this.tid].y; }; if (this.tx > this.x){ this.scaleX = 1; this.tx = (this.tx - this.ATK_RANGE); } else { this.scaleX = -1; this.tx = (this.tx + this.ATK_RANGE); }; }; if (((!((this.move_mode == "kurai"))) && (!((this.move_mode == "mahi"))))){ this.move_mode = "attack"; }; switch (this.move_mode){ case "attack": this.t_rot = ((Math.atan2((this.ty - this.y), (this.tx - this.x)) * 180) / Math.PI); this.xs = (Math.cos(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.ys = (Math.sin(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.x = (this.x + this.xs); this.y = (this.y + this.ys); this.body.rotation = (this.body.rotation + 4); if (this.dis < this.ATK_RANGE){ attack(this.tid); this.move_mode = "kurai"; this.yy = this.y; this.ys = -3; this.xs = (4 * -(this.scaleX)); }; break; case "kurai": this.ys++; this.x = (this.x + this.xs); this.y = (this.y + this.ys); if (this.y >= this.yy){ this.y = this.yy; if (this.mahi_cnt <= 0){ this.gotoAndPlay("stay"); this.move_mode = "attack"; } else { this.gotoAndPlay("mahi"); this.move_mode = "mahi"; }; }; break; case "mahi": this.mahi_cnt--; if (this.mahi_cnt <= 0){ this.gotoAndPlay("stay"); this.move_mode = "attack"; }; break; }; if (this.x < 16){ this.x = 16; } else { if (this.x > 624){ this.x = 624; }; }; if (this.y < 66){ this.y = 66; } else { if (this.y > 384){ this.y = 384; }; }; Object(root).dict[("SHADOW" + this.id)].x = this.x; if (this.move_mode == "kurai"){ Object(root).dict[("SHADOW" + this.id)].y = (this.yy + 17); } else { Object(root).dict[("SHADOW" + this.id)].y = (this.y + 17); }; if ((((this.side == 0)) && (Object(root).dict[Object(root).war_Wall_ID]))){ if ((((this.x >= (Object(root).dict[Object(root).war_Wall_ID].x - 32))) && (Object(root).dict[Object(root).war_Wall_ID].live_flg))){ this.x = (Object(root).dict[Object(root).war_Wall_ID].x - 32); attack(this.tid); this.move_mode = "kurai"; this.yy = this.y; this.ys = -3; this.xs = (4 * -(this.scaleX)); }; }; this.col_cnt--; if (this.col_cnt < 1){ this.transform.colorTransform = Object(root).color_normal; }; }; } public function kill(){ Object(root).dict["f_shadow"].removeChild(Object(root).dict[("SHADOW" + this.id)]); Object(root).dict[("SHADOW" + this.id)] = null; delete Object(root).dict[("SHADOW" + this.id)]; removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[this.id] = null; delete Object(root).dict[this.id]; this.parent.removeChild(this); } public function mahi(_arg1){ this.mahi_cnt = _arg1; if (this.move_mode != "kurai"){ this.gotoAndPlay("mahi"); this.move_mode = "mahi"; }; } public function heal(_arg1, _arg2, _arg3){ this.dmg = _arg1; this.hp = (this.hp + this.dmg); if (this.hp > this.MAX_HP){ this.hp = this.MAX_HP; }; this.col_cnt = 3; this.transform.colorTransform = Object(root).color_white; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC08_HEAL(Object(root).e_id, _arg2, _arg3, this.dmg); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); Object(root).se_heal_flg = true; } } }//package
Section 211
//UNIT14_BIRIBIRI (UNIT14_BIRIBIRI) package { import flash.display.*; import flash.events.*; public class UNIT14_BIRIBIRI extends MovieClip { private var DEF_POWER:int;// = 5 private var SPEED:Number;// = 0 private var col_cnt:Number;// = 0 public var hp_bar:HP_BAR; private var i:int;// = 0 private var tx:Number;// = 0 private var ty:Number;// = 0 private var tid:int;// = 0 public var dx:Number;// = 0 private var dis:Number;// = 0 private var ATK_RANGE:int;// = 30 public var live_flg:Boolean;// = true public var dy:Number;// = 0 private var wrk_dis:Number;// = 0 private var wrk_id:int;// = 0 private var ATK_POWER_MIN:int;// = 40 private var wx:Number;// = 0 private var wy:Number;// = 0 private var dmg:int;// = 0 private var xs:Number;// = 0 public var hp:int;// = 0 private var dis_y:Number;// = 0 private var ys:Number;// = 0 private var id:int;// = 0 private var yy:Number;// = 0 private var BASE_SPEED:Number;// = 2 public var type:int;// = 14 public var side:int;// = 0 private var move_mode:String;// = "" private var cnt:int;// = 0 public var brain_flg:Boolean;// = false private var ATK_SPEED:int;// = 30 private var t_rot:Number;// = 0 private var mahi_cnt:int;// = 0 private var ATK_POWER_MAX:int;// = 50 public var MAX_HP:int;// = 250 public function UNIT14_BIRIBIRI(_arg1, _arg2, _arg3, _arg4){ type = 14; BASE_SPEED = 2; SPEED = 0; ATK_SPEED = 30; ATK_RANGE = 30; ATK_POWER_MAX = 50; ATK_POWER_MIN = 40; DEF_POWER = 5; MAX_HP = 250; id = 0; side = 0; hp = 0; move_mode = ""; yy = 0; ys = 0; xs = 0; col_cnt = 0; cnt = 0; i = 0; dmg = 0; tid = 0; dis = 0; dis_y = 0; wrk_id = 0; wrk_dis = 0; wx = 0; wy = 0; tx = 0; ty = 0; dx = 0; dy = 0; t_rot = 0; mahi_cnt = 0; live_flg = true; brain_flg = false; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13); this.id = _arg1; this.hp = this.MAX_HP; this.x = _arg2; this.y = _arg3; this.cnt = Math.floor((Math.random() * this.ATK_SPEED)); this.dx = _arg2; this.dy = _arg3; this.side = _arg4; if (this.side == 1){ this.scaleX = -1; this.hp_bar.bar_in.gotoAndStop(2); }; this.ATK_RANGE = (this.ATK_RANGE + (((this.id % 25) * 2) - 24)); this.live_flg = true; addEventListener(Event.ENTER_FRAME, onEnterFrame); } function frame10(){ this.gotoAndPlay("stay"); } function frame3(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame7(){ this.stop(); } function frame1(){ this.stop(); } function frame11(){ this.stop(); } public function kurai(_arg1, _arg2, _arg3, _arg4){ this.dmg = _arg1; if (this.scaleX == _arg2){ this.dmg = (this.dmg * 2); }; this.dmg = Math.floor((this.dmg * ((100 - (this.DEF_POWER + Object(root).war_Adj_DEF[this.side])) / 100))); this.hp = (this.hp - this.dmg); this.col_cnt = 3; this.transform.colorTransform = Object(root).color_red; Object(root).se_poko_flg = true; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC01_DMG(Object(root).e_id, _arg3, _arg4, this.dmg, _arg2); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); if (this.move_mode != "kurai"){ this.gotoAndPlay("itai"); this.move_mode = "kurai"; this.yy = this.y; this.ys = -3; this.xs = (4 * _arg2); }; if ((((this.hp < 1)) && (this.live_flg))){ var _local5 = Object(root).war_UnitCnt[this.side]; var _local6 = this.type; var _local7 = (_local5[_local6] - 1); _local5[_local6] = _local7; _local5 = Object(root).war_TotalUnitCnt; _local6 = this.side; _local7 = (_local5[_local6] - 1); _local5[_local6] = _local7; i = 0; while (i < Object(root).war_UnitID[this.side].length) { if (Object(root).war_UnitID[this.side][i] == this.id){ Object(root).war_UnitID[this.side].splice(i, 1); break; }; i++; }; if ((((Object(root).war_TotalUnitCnt[(1 - this.side)] < 50)) && ((Math.floor((Math.random() * 100)) < Object(root).war_Brain[(1 - this.side)])))){ Object(root).se_brain_flg = true; _local5 = Object(root).war_UnitCnt_Brain[(1 - this.side)]; _local6 = this.type; _local7 = (_local5[_local6] + 1); _local5[_local6] = _local7; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC22_BRAIN_WASH(Object(root).e_id, this.x, this.y, this.scaleX, this.type); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); this.brain_flg = true; } else { Object(root).se_ikimono_flg = true; if (Object(root).war_Capture[(1 - this.side)] > 0){ Object(root).se_buy_flg = true; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC06_TAC_EFFECT(Object(root).e_id, this.x, (this.y - 10), (6 + (Object(root).war_Capture[(1 - this.side)] / 5))); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); if (this.side == 0){ Object(root).gold[Object(root).ken_side[Object(root).ken_def_id]] = (Object(root).gold[Object(root).ken_side[Object(root).ken_def_id]] + Object(root).war_Capture[(1 - this.side)]); } else { Object(root).gold[Object(root).ken_side[Object(root).ken_atk_id]] = (Object(root).gold[Object(root).ken_side[Object(root).ken_atk_id]] + Object(root).war_Capture[(1 - this.side)]); }; }; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC37_BIRIBIRI_YARARE(Object(root).e_id, this.x, this.y, this.scaleX, this.rotation); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); }; this.live_flg = false; this.visible = false; Object(root).dict[("SHADOW" + this.id)].visible = false; Object(root).unit_y_adj(this.side, this.type); return; }; } function frame13(){ this.gotoAndPlay("mahi"); } function frame9(){ this.stop(); } function frame12(){ this.stop(); } function frame8(){ this.stop(); } function frame2(){ this.stop(); } public function resurrect(_arg1){ this.hp = _arg1; var _local2 = Object(root).war_UnitCnt[this.side]; var _local3 = this.type; var _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = Object(root).war_TotalUnitCnt; _local3 = this.side; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; Object(root).war_UnitID[this.side].push(this.id); this.live_flg = true; this.visible = true; Object(root).dict[("SHADOW" + this.id)].visible = true; Object(root).unit_y_adj(this.side, this.type); this.gotoAndPlay("stay"); this.move_mode = Object(root).war_UnitMode[this.side][this.type]; } function frame6(){ this.stop(); } public function onEnterFrame(_arg1:Event){ if (((((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))) && (this.live_flg))){ this.cnt++; this.nextFrame(); this.hp_bar.bar_in.scaleX = (this.hp / this.MAX_HP); this.SPEED = (this.BASE_SPEED + Object(root).war_Adj_SPEED[this.side]); this.dis = 99999; this.dis_y = 99999; i = 0; while (i < Object(root).war_UnitID[(1 - this.side)].length) { wrk_id = Object(root).war_UnitID[(1 - this.side)][i]; if (Object(root).dict[wrk_id].live_flg){ this.wx = Object(root).dict[wrk_id].x; if (Object(root).war_Wall_ID == wrk_id){ this.wy = this.y; } else { this.wy = Object(root).dict[wrk_id].y; }; this.wrk_dis = Math.sqrt((Math.pow((this.wx - this.x), 2) + Math.pow((this.wy - this.y), 2))); if (this.dis > this.wrk_dis){ this.dis = this.wrk_dis; this.tid = wrk_id; this.dis_y = Math.sqrt((Math.pow(0, 2) + Math.pow((this.wy - this.y), 2))); }; }; i++; }; if (Object(root).dict[this.tid].live_flg){ this.tx = Object(root).dict[this.tid].x; this.ty = Object(root).dict[this.tid].y; if (this.tx > this.x){ this.scaleX = 1; this.tx = (this.tx - this.ATK_RANGE); } else { this.scaleX = -1; this.tx = (this.tx + this.ATK_RANGE); }; }; if (((!((this.move_mode == "kurai"))) && (!((this.move_mode == "mahi"))))){ this.move_mode = "attack"; if (this.dis_y < this.ATK_RANGE){ if (this.cnt > this.ATK_SPEED){ Object(root).se_kaminari_flg = true; this.cnt = 0; this.dmg = ((Math.floor((Math.random() * ((ATK_POWER_MAX - ATK_POWER_MIN) + Object(root).war_Adj_ATK[this.side]))) + ATK_POWER_MIN) + Object(root).war_Adj_ATK[this.side]); this.dmg = Math.floor(((this.dmg * (100 - Object(root).war_Adj_DEF_L[this.side])) / 100)); Object(root).e_id++; if (Object(root).war_Wall_ID == this.tid){ Object(root).dict[("ETC" + Object(root).e_id)] = new ETC39_KAMINARI(Object(root).e_id, this.tid, this.x, this.y, Object(root).dict[this.tid].x, this.y, this.dmg); } else { Object(root).dict[("ETC" + Object(root).e_id)] = new ETC39_KAMINARI(Object(root).e_id, this.tid, this.x, this.y, Object(root).dict[this.tid].x, Object(root).dict[this.tid].y, this.dmg); }; Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); }; }; }; this.dx = Object(root).war_UnitX[this.side][this.type]; switch (this.move_mode){ case "attack": this.tx = this.x; if (this.dis_y < this.ATK_RANGE){ this.ty = this.y; }; this.wrk_dis = Math.sqrt((Math.pow((this.tx - this.x), 2) + Math.pow((this.ty - this.y), 2))); if (this.wrk_dis < this.SPEED){ this.x = this.tx; this.y = this.ty; } else { this.t_rot = ((Math.atan2((this.ty - this.y), (this.tx - this.x)) * 180) / Math.PI); this.xs = (Math.cos(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.ys = (Math.sin(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.x = (this.x + this.xs); this.y = (this.y + this.ys); }; break; case "kurai": this.ys++; this.x = (this.x + this.xs); this.y = (this.y + this.ys); if (this.y >= this.yy){ this.y = this.yy; if (this.mahi_cnt <= 0){ this.gotoAndPlay("stay"); this.move_mode = "attack"; } else { this.gotoAndPlay("mahi"); this.move_mode = "mahi"; }; }; break; case "mahi": this.mahi_cnt--; if (this.mahi_cnt <= 0){ this.gotoAndPlay("stay"); this.move_mode = "attack"; }; break; }; if (this.x < 16){ this.x = 16; } else { if (this.x > 624){ this.x = 624; }; }; if (this.y < 66){ this.y = 66; } else { if (this.y > 384){ this.y = 384; }; }; Object(root).dict[("SHADOW" + this.id)].x = this.x; if (this.move_mode == "kurai"){ Object(root).dict[("SHADOW" + this.id)].y = (this.yy + 17); } else { Object(root).dict[("SHADOW" + this.id)].y = (this.y + 17); }; if ((((this.side == 0)) && (Object(root).dict[Object(root).war_Wall_ID]))){ if ((((this.x >= (Object(root).dict[Object(root).war_Wall_ID].x - 32))) && (Object(root).dict[Object(root).war_Wall_ID].live_flg))){ this.x = (Object(root).dict[Object(root).war_Wall_ID].x - 32); }; }; this.col_cnt--; if (this.col_cnt < 1){ this.transform.colorTransform = Object(root).color_normal; }; }; } public function kill(){ Object(root).dict["f_shadow"].removeChild(Object(root).dict[("SHADOW" + this.id)]); Object(root).dict[("SHADOW" + this.id)] = null; delete Object(root).dict[("SHADOW" + this.id)]; removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[this.id] = null; delete Object(root).dict[this.id]; this.parent.removeChild(this); } public function mahi(_arg1){ this.mahi_cnt = _arg1; if (this.move_mode != "kurai"){ this.gotoAndPlay("mahi"); this.move_mode = "mahi"; }; } public function heal(_arg1, _arg2, _arg3){ this.dmg = _arg1; this.hp = (this.hp + this.dmg); if (this.hp > this.MAX_HP){ this.hp = this.MAX_HP; }; this.col_cnt = 3; this.transform.colorTransform = Object(root).color_white; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC08_HEAL(Object(root).e_id, _arg2, _arg3, this.dmg); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); Object(root).se_heal_flg = true; } } }//package
Section 212
//UNIT15_KATAI (UNIT15_KATAI) package { import flash.display.*; import flash.events.*; public class UNIT15_KATAI extends MovieClip { private var DEF_POWER:int;// = 75 private var SPEED:Number;// = 0 private var col_cnt:Number;// = 0 public var hp_bar:HP_BAR; private var i:int;// = 0 private var tx:Number;// = 0 private var ty:Number;// = 0 private var tid:int;// = 0 public var dx:Number;// = 0 private var dis:Number;// = 0 private var ATK_RANGE:int;// = 15 public var live_flg:Boolean;// = true public var dy:Number;// = 0 private var wrk_dis:Number;// = 0 private var wrk_id:int;// = 0 private var ATK_POWER_MIN:int;// = 40 private var wx:Number;// = 0 private var wy:Number;// = 0 private var dmg:int;// = 0 private var xs:Number;// = 0 public var hp:int;// = 0 private var ys:Number;// = 0 private var id:int;// = 0 private var yy:Number;// = 0 private var BASE_SPEED:Number;// = 1.5 public var type:int;// = 15 public var side:int;// = 0 private var move_mode:String;// = "" public var brain_flg:Boolean;// = false public var body:MovieClip; private var t_rot:Number;// = 0 private var mahi_cnt:int;// = 0 private var ATK_POWER_MAX:int;// = 50 public var MAX_HP:int;// = 300 public function UNIT15_KATAI(_arg1, _arg2, _arg3, _arg4){ type = 15; BASE_SPEED = 1.5; SPEED = 0; ATK_RANGE = 15; ATK_POWER_MAX = 50; ATK_POWER_MIN = 40; DEF_POWER = 75; MAX_HP = 300; id = 0; side = 0; hp = 0; move_mode = ""; yy = 0; ys = 0; xs = 0; col_cnt = 0; i = 0; dmg = 0; tid = 0; dis = 0; wrk_id = 0; wrk_dis = 0; wx = 0; wy = 0; tx = 0; ty = 0; dx = 0; dy = 0; t_rot = 0; mahi_cnt = 0; live_flg = true; brain_flg = false; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5); this.id = _arg1; this.hp = this.MAX_HP; this.x = _arg2; this.y = _arg3; this.dx = _arg2; this.dy = _arg3; this.body.rotation = Math.floor((Math.random() * 360)); this.side = _arg4; if (this.side == 1){ this.scaleX = -1; this.hp_bar.bar_in.gotoAndStop(2); }; this.live_flg = true; addEventListener(Event.ENTER_FRAME, onEnterFrame); } private function attack(_arg1){ this.dmg = ((Math.floor((Math.random() * ((ATK_POWER_MAX - ATK_POWER_MIN) + Object(root).war_Adj_ATK[this.side]))) + ATK_POWER_MIN) + Object(root).war_Adj_ATK[this.side]); this.dmg = Math.floor(((this.dmg * (100 - Object(root).war_Adj_DEF_S[this.side])) / 100)); if (Object(root).war_Wall_ID == _arg1){ Object(root).dict[_arg1].kurai(this.dmg, this.scaleX, Object(root).dict[_arg1].x, this.y); } else { Object(root).dict[_arg1].kurai(this.dmg, this.scaleX, Object(root).dict[_arg1].x, Object(root).dict[_arg1].y); }; } function frame3(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.gotoAndPlay("mahi"); } function frame1(){ this.stop(); } public function kurai(_arg1, _arg2, _arg3, _arg4){ this.dmg = _arg1; if (this.scaleX == _arg2){ this.dmg = (this.dmg * 2); }; this.dmg = Math.floor((this.dmg * ((100 - (this.DEF_POWER + Object(root).war_Adj_DEF[this.side])) / 100))); this.hp = (this.hp - this.dmg); this.col_cnt = 3; this.transform.colorTransform = Object(root).color_red; Object(root).se_metal_flg = true; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC01_DMG(Object(root).e_id, _arg3, _arg4, this.dmg, _arg2); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); if (this.move_mode != "kurai"){ this.gotoAndPlay("itai"); this.move_mode = "kurai"; this.yy = this.y; this.ys = -1; this.xs = (4 * _arg2); }; if ((((this.hp < 1)) && (this.live_flg))){ var _local5 = Object(root).war_UnitCnt[this.side]; var _local6 = this.type; var _local7 = (_local5[_local6] - 1); _local5[_local6] = _local7; _local5 = Object(root).war_TotalUnitCnt; _local6 = this.side; _local7 = (_local5[_local6] - 1); _local5[_local6] = _local7; i = 0; while (i < Object(root).war_UnitID[this.side].length) { if (Object(root).war_UnitID[this.side][i] == this.id){ Object(root).war_UnitID[this.side].splice(i, 1); break; }; i++; }; if ((((Object(root).war_TotalUnitCnt[(1 - this.side)] < 50)) && ((Math.floor((Math.random() * 100)) < Object(root).war_Brain[(1 - this.side)])))){ Object(root).se_brain_flg = true; _local5 = Object(root).war_UnitCnt_Brain[(1 - this.side)]; _local6 = this.type; _local7 = (_local5[_local6] + 1); _local5[_local6] = _local7; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC22_BRAIN_WASH(Object(root).e_id, this.x, this.y, this.scaleX, this.type); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); this.brain_flg = true; } else { Object(root).se_ikimono_flg = true; if (Object(root).war_Capture[(1 - this.side)] > 0){ Object(root).se_buy_flg = true; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC06_TAC_EFFECT(Object(root).e_id, this.x, (this.y - 10), (6 + (Object(root).war_Capture[(1 - this.side)] / 5))); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); if (this.side == 0){ Object(root).gold[Object(root).ken_side[Object(root).ken_def_id]] = (Object(root).gold[Object(root).ken_side[Object(root).ken_def_id]] + Object(root).war_Capture[(1 - this.side)]); } else { Object(root).gold[Object(root).ken_side[Object(root).ken_atk_id]] = (Object(root).gold[Object(root).ken_side[Object(root).ken_atk_id]] + Object(root).war_Capture[(1 - this.side)]); }; }; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC38_KATAI_YARARE(Object(root).e_id, this.x, this.y, this.scaleX, this.body.rotation); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); }; this.live_flg = false; this.visible = false; Object(root).dict[("SHADOW" + this.id)].visible = false; Object(root).unit_y_adj(this.side, this.type); return; }; } function frame2(){ this.gotoAndPlay("stay"); } public function resurrect(_arg1){ this.hp = _arg1; var _local2 = Object(root).war_UnitCnt[this.side]; var _local3 = this.type; var _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; _local2 = Object(root).war_TotalUnitCnt; _local3 = this.side; _local4 = (_local2[_local3] + 1); _local2[_local3] = _local4; Object(root).war_UnitID[this.side].push(this.id); this.live_flg = true; this.visible = true; Object(root).dict[("SHADOW" + this.id)].visible = true; Object(root).unit_y_adj(this.side, this.type); this.gotoAndPlay("stay"); this.move_mode = Object(root).war_UnitMode[this.side][this.type]; } public function onEnterFrame(_arg1:Event){ if (((((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))) && (this.live_flg))){ this.hp_bar.bar_in.scaleX = (this.hp / this.MAX_HP); if (this.currentFrame < 3){ this.body.gotoAndStop(1); } else { this.body.gotoAndStop(2); }; this.SPEED = (this.BASE_SPEED + Object(root).war_Adj_SPEED[this.side]); if (this.SPEED <= 0){ this.SPEED = 0.1; }; this.dis = 99999; i = 0; while (i < Object(root).war_UnitID[(1 - this.side)].length) { wrk_id = Object(root).war_UnitID[(1 - this.side)][i]; if (Object(root).dict[wrk_id].live_flg){ this.wx = Object(root).dict[wrk_id].x; if (this.wx > this.x){ this.wx = (this.wx - this.ATK_RANGE); } else { this.wx = (this.wx + this.ATK_RANGE); }; if (Object(root).war_Wall_ID == wrk_id){ this.wy = this.y; } else { this.wy = Object(root).dict[wrk_id].y; }; this.wrk_dis = Math.sqrt((Math.pow((this.wx - this.x), 2) + Math.pow((this.wy - this.y), 2))); if (this.dis > this.wrk_dis){ this.dis = this.wrk_dis; this.tid = wrk_id; }; }; i++; }; if (Object(root).dict[this.tid].live_flg){ this.tx = Object(root).dict[this.tid].x; if (Object(root).war_Wall_ID == this.tid){ this.ty = this.y; } else { this.ty = Object(root).dict[this.tid].y; }; if (this.tx > this.x){ this.scaleX = 1; this.tx = (this.tx - this.ATK_RANGE); } else { this.scaleX = -1; this.tx = (this.tx + this.ATK_RANGE); }; }; if (((!((this.move_mode == "kurai"))) && (!((this.move_mode == "mahi"))))){ this.move_mode = "attack"; }; switch (this.move_mode){ case "attack": this.t_rot = ((Math.atan2((this.ty - this.y), (this.tx - this.x)) * 180) / Math.PI); this.xs = (Math.cos(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.ys = (Math.sin(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.x = (this.x + this.xs); this.y = (this.y + this.ys); this.body.rotation = (this.body.rotation + 4); if (this.dis < this.ATK_RANGE){ attack(this.tid); this.move_mode = "kurai"; this.yy = this.y; this.ys = -2; this.xs = (4 * -(this.scaleX)); }; break; case "kurai": this.ys++; this.x = (this.x + this.xs); this.y = (this.y + this.ys); if (this.y >= this.yy){ this.y = this.yy; if (this.mahi_cnt <= 0){ this.gotoAndPlay("stay"); this.move_mode = "attack"; } else { this.gotoAndPlay("mahi"); this.move_mode = "mahi"; }; }; break; case "mahi": this.mahi_cnt--; if (this.mahi_cnt <= 0){ this.gotoAndPlay("stay"); this.move_mode = "attack"; }; break; }; if (this.x < 16){ this.x = 16; } else { if (this.x > 624){ this.x = 624; }; }; if (this.y < 66){ this.y = 66; } else { if (this.y > 384){ this.y = 384; }; }; Object(root).dict[("SHADOW" + this.id)].x = this.x; if (this.move_mode == "kurai"){ Object(root).dict[("SHADOW" + this.id)].y = (this.yy + 17); } else { Object(root).dict[("SHADOW" + this.id)].y = (this.y + 17); }; if ((((this.side == 0)) && (Object(root).dict[Object(root).war_Wall_ID]))){ if ((((this.x >= (Object(root).dict[Object(root).war_Wall_ID].x - 32))) && (Object(root).dict[Object(root).war_Wall_ID].live_flg))){ this.x = (Object(root).dict[Object(root).war_Wall_ID].x - 32); attack(this.tid); this.move_mode = "kurai"; this.yy = this.y; this.ys = -2; this.xs = (4 * -(this.scaleX)); }; }; this.col_cnt--; if (this.col_cnt < 1){ this.transform.colorTransform = Object(root).color_normal; }; }; } public function kill(){ Object(root).dict["f_shadow"].removeChild(Object(root).dict[("SHADOW" + this.id)]); Object(root).dict[("SHADOW" + this.id)] = null; delete Object(root).dict[("SHADOW" + this.id)]; removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[this.id] = null; delete Object(root).dict[this.id]; this.parent.removeChild(this); } public function mahi(_arg1){ this.mahi_cnt = _arg1; if (this.move_mode != "kurai"){ this.gotoAndPlay("mahi"); this.move_mode = "mahi"; }; } public function heal(_arg1, _arg2, _arg3){ this.dmg = _arg1; this.hp = (this.hp + this.dmg); if (this.hp > this.MAX_HP){ this.hp = this.MAX_HP; }; this.col_cnt = 3; this.transform.colorTransform = Object(root).color_white; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC08_HEAL(Object(root).e_id, _arg2, _arg3, this.dmg); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); Object(root).se_heal_flg = true; } } }//package
Section 213
//UNIT16_BOSS (UNIT16_BOSS) package { import flash.display.*; import flash.events.*; public class UNIT16_BOSS extends MovieClip { private var DEF_POWER:int;// = 30 private var SPEED:Number;// = 0 private var col_cnt:Number;// = 0 public var hp_bar:HP_BAR; private var i:int;// = 0 private var tx:Number;// = 0 private var ty:Number;// = 0 private var tid:int;// = 0 public var dx:Number;// = 0 private var dis:Number;// = 0 private var ATK_RANGE:int;// = 50 public var live_flg:Boolean;// = true public var dy:Number;// = 0 private var wrk_dis:Number;// = 0 private var wrk_id:int;// = 0 private var ATK_POWER_MIN:int;// = 100 private var ws:Number;// = 0 private var wx:Number;// = 0 private var wy:Number;// = 0 private var dmg:int;// = 0 private var xs:Number;// = 0 public var hp:int;// = 0 private var ys:Number;// = 0 private var id:int;// = 0 private var yy:Number;// = 0 private var BASE_SPEED:Number;// = 0.5 public var type:int;// = 16 public var side:int;// = 0 private var move_mode:String;// = "" private var cnt:int;// = 0 public var brain_flg:Boolean;// = false private var ATK_SPEED:int;// = 100 public var body:MovieClip; private var t_rot:Number;// = 0 private var mahi_cnt:int;// = 0 private var ATK_POWER_MAX:int;// = 150 public var MAX_HP:int;// = 10000 private var ATK_AREA:int;// = 160 public function UNIT16_BOSS(_arg1, _arg2, _arg3, _arg4){ type = 16; BASE_SPEED = 0.5; SPEED = 0; ATK_SPEED = 100; ATK_RANGE = 50; ATK_AREA = 160; ATK_POWER_MAX = 150; ATK_POWER_MIN = 100; DEF_POWER = 30; MAX_HP = 10000; id = 0; side = 0; hp = 0; move_mode = ""; yy = 0; ys = 0; xs = 0; col_cnt = 0; cnt = 0; i = 0; dmg = 0; tid = 0; dis = 0; wrk_id = 0; wrk_dis = 0; wx = 0; wy = 0; ws = 0; tx = 0; ty = 0; dx = 0; dy = 0; t_rot = 0; mahi_cnt = 0; live_flg = true; brain_flg = false; super(); addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13); this.id = _arg1; this.hp = this.MAX_HP; this.x = _arg2; this.y = _arg3; this.cnt = Math.floor((Math.random() * this.ATK_SPEED)); this.dx = _arg2; this.dy = _arg3; this.side = _arg4; if (this.side == 1){ this.scaleX = -1; this.hp_bar.bar_in.gotoAndStop(2); }; this.live_flg = true; addEventListener(Event.ENTER_FRAME, onEnterFrame); } function frame10(){ this.gotoAndPlay("stay"); } function frame3(){ this.stop(); } function frame4(){ this.stop(); } function frame5(){ this.stop(); } function frame7(){ this.stop(); } function frame1(){ this.stop(); } function frame11(){ this.stop(); } public function kurai(_arg1, _arg2, _arg3, _arg4){ this.dmg = _arg1; if (this.scaleX == _arg2){ this.dmg = (this.dmg * 2); }; this.dmg = Math.floor((this.dmg * ((100 - (this.DEF_POWER + Object(root).war_Adj_DEF[this.side])) / 100))); this.hp = (this.hp - this.dmg); this.col_cnt = 3; this.transform.colorTransform = Object(root).color_red; Object(root).se_poko_flg = true; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC01_DMG(Object(root).e_id, _arg3, _arg4, this.dmg, _arg2); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); Object(root).se_metal_flg = true; if ((((this.hp < 1)) && (this.live_flg))){ var _local5 = Object(root).war_UnitCnt[this.side]; var _local6 = this.type; var _local7 = (_local5[_local6] - 1); _local5[_local6] = _local7; _local5 = Object(root).war_TotalUnitCnt; _local6 = this.side; _local7 = (_local5[_local6] - 1); _local5[_local6] = _local7; i = 0; while (i < Object(root).war_UnitID[this.side].length) { if (Object(root).war_UnitID[this.side][i] == this.id){ Object(root).war_UnitID[this.side].splice(i, 1); break; }; i++; }; Object(root).se_ikimono_flg = true; if (Object(root).war_Capture[(1 - this.side)] > 0){ Object(root).se_buy_flg = true; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC06_TAC_EFFECT(Object(root).e_id, this.x, (this.y - 10), (6 + (Object(root).war_Capture[(1 - this.side)] / 5))); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); if (this.side == 0){ Object(root).gold[Object(root).ken_side[Object(root).ken_def_id]] = (Object(root).gold[Object(root).ken_side[Object(root).ken_def_id]] + Object(root).war_Capture[(1 - this.side)]); } else { Object(root).gold[Object(root).ken_side[Object(root).ken_atk_id]] = (Object(root).gold[Object(root).ken_side[Object(root).ken_atk_id]] + Object(root).war_Capture[(1 - this.side)]); }; }; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC40_BOSS_YARARE(Object(root).e_id, this.x, (this.y - 18.8), this.scaleX, this.body.rotation); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); this.live_flg = false; this.visible = false; Object(root).dict[("SHADOW" + this.id)].visible = false; Object(root).war_Sippai[this.side] = 0; Object(root).unit_y_adj(this.side, this.type); return; }; } function frame13(){ this.gotoAndPlay("mahi"); } function frame9(){ this.stop(); } function frame12(){ this.stop(); } function frame8(){ this.stop(); } function frame2(){ this.gotoAndPlay("stay"); } function frame6(){ this.stop(); } public function onEnterFrame(_arg1:Event){ if (((((!(Object(root).pause_flg)) && ((Object(root).game_mode == "battle_main")))) && (this.live_flg))){ this.nextFrame(); if ((((this.currentFrame < 3)) || ((this.currentFrame > 10)))){ this.body.gotoAndStop(1); } else { this.body.gotoAndStop(2); }; this.hp_bar.bar_in.scaleX = (this.hp / this.MAX_HP); this.cnt++; this.SPEED = (this.BASE_SPEED + Object(root).war_Adj_SPEED[this.side]); if (this.SPEED <= 0){ this.SPEED = 0.1; }; this.dis = 99999; i = 0; while (i < Object(root).war_UnitID[(1 - this.side)].length) { wrk_id = Object(root).war_UnitID[(1 - this.side)][i]; if (Object(root).dict[wrk_id].live_flg){ this.wx = Object(root).dict[wrk_id].x; if (this.wx > this.x){ this.wx = (this.wx - this.ATK_RANGE); } else { this.wx = (this.wx + this.ATK_RANGE); }; if (Object(root).war_Wall_ID == wrk_id){ this.wy = this.y; } else { this.wy = Object(root).dict[wrk_id].y; }; this.wrk_dis = Math.sqrt((Math.pow((this.wx - this.x), 2) + Math.pow((this.wy - this.y), 2))); if (this.dis > this.wrk_dis){ this.dis = this.wrk_dis; this.tid = wrk_id; }; }; i++; }; if (Object(root).dict[this.tid].live_flg){ this.tx = Object(root).dict[this.tid].x; if (Object(root).war_Wall_ID == this.tid){ this.ty = this.y; } else { this.ty = Object(root).dict[this.tid].y; }; if (this.tx > this.x){ this.scaleX = 1; this.tx = (this.tx - 40); } else { this.scaleX = -1; this.tx = (this.tx + 40); }; }; if (((!((this.move_mode == "kurai"))) && (!((this.move_mode == "mahi"))))){ this.move_mode = "attack"; }; switch (this.move_mode){ case "attack": if (this.dis < this.ATK_RANGE){ if ((((this.cnt > this.ATK_SPEED)) && ((this.currentFrame < 3)))){ Object(root).se_boss_flg = true; this.cnt = 0; this.gotoAndPlay("attack"); }; } else { this.t_rot = ((Math.atan2((this.ty - this.y), (this.tx - this.x)) * 180) / Math.PI); this.xs = (Math.cos(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.ys = (Math.sin(((this.t_rot * Math.PI) / 180)) * this.SPEED); this.x = (this.x + this.xs); this.y = (this.y + this.ys); this.body.rotation = (this.body.rotation + 2); }; break; case "kurai": this.ys++; this.x = (this.x + this.xs); this.y = (this.y + this.ys); if (this.y >= this.yy){ this.y = this.yy; if (this.mahi_cnt <= 0){ this.gotoAndPlay("stay"); this.move_mode = "attack"; } else { this.gotoAndPlay("mahi"); this.move_mode = "mahi"; }; }; break; case "mahi": this.mahi_cnt--; if (this.mahi_cnt <= 0){ this.gotoAndPlay("stay"); this.move_mode = "attack"; }; break; }; if (this.currentFrame == 7){ i = 0; while (i < Object(root).war_UnitID[(1 - this.side)].length) { wrk_id = Object(root).war_UnitID[(1 - this.side)][i]; if (Object(root).dict[wrk_id].live_flg){ this.wx = Object(root).dict[wrk_id].x; if (Object(root).war_Wall_ID == wrk_id){ this.wy = this.y; } else { this.wy = Object(root).dict[wrk_id].y; }; this.wrk_dis = Math.sqrt((Math.pow((this.wx - this.x), 2) + Math.pow((this.wy - this.y), 2))); if (this.wrk_dis < this.ATK_AREA){ this.dmg = ((Math.floor((Math.random() * ((ATK_POWER_MAX - ATK_POWER_MIN) + Object(root).war_Adj_ATK[this.side]))) + ATK_POWER_MIN) + Object(root).war_Adj_ATK[this.side]); this.dmg = Math.floor(((this.dmg * (100 - Object(root).war_Adj_DEF_S[this.side])) / 100)); if (this.x > Object(root).dict[wrk_id].x){ this.ws = -1; } else { this.ws = 1; }; Object(root).dict[wrk_id].kurai(this.dmg, this.ws, Object(root).dict[wrk_id].x, Object(root).dict[wrk_id].y); }; }; i++; }; }; if (this.x < 16){ this.x = 16; } else { if (this.x > 624){ this.x = 624; }; }; Object(root).dict[("SHADOW" + this.id)].scaleX = 2; Object(root).dict[("SHADOW" + this.id)].scaley = 2; Object(root).dict[("SHADOW" + this.id)].x = this.x; if (this.move_mode == "kurai"){ Object(root).dict[("SHADOW" + this.id)].y = (this.yy + 17); } else { Object(root).dict[("SHADOW" + this.id)].y = (this.y + 17); }; if ((((this.side == 0)) && (Object(root).dict[Object(root).war_Wall_ID]))){ if ((((this.x >= (Object(root).dict[Object(root).war_Wall_ID].x - 32))) && (Object(root).dict[Object(root).war_Wall_ID].live_flg))){ this.x = (Object(root).dict[Object(root).war_Wall_ID].x - 32); }; }; this.col_cnt--; if (this.col_cnt < 1){ this.transform.colorTransform = Object(root).color_normal; }; }; } public function kill(){ Object(root).dict["f_shadow"].removeChild(Object(root).dict[("SHADOW" + this.id)]); Object(root).dict[("SHADOW" + this.id)] = null; delete Object(root).dict[("SHADOW" + this.id)]; removeEventListener(Event.ENTER_FRAME, onEnterFrame); Object(root).dict[this.id] = null; delete Object(root).dict[this.id]; this.parent.removeChild(this); } public function mahi(_arg1){ this.mahi_cnt = _arg1; if (this.move_mode != "kurai"){ this.gotoAndPlay("mahi"); this.move_mode = "mahi"; }; } public function heal(_arg1, _arg2, _arg3){ this.dmg = _arg1; this.hp = (this.hp + this.dmg); if (this.hp > this.MAX_HP){ this.hp = this.MAX_HP; }; this.col_cnt = 3; this.transform.colorTransform = Object(root).color_white; Object(root).e_id++; Object(root).dict[("ETC" + Object(root).e_id)] = new ETC08_HEAL(Object(root).e_id, _arg2, _arg3, this.dmg); Object(root).dict["f_main"].addChild(Object(root).dict[("ETC" + Object(root).e_id)]); Object(root).se_heal_flg = true; } } }//package
Section 214
//war_end (war_end) package { import flash.display.*; public dynamic class war_end extends MovieClip { public var win_side1:MovieClip; public var win_side2:MovieClip; public function war_end(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ this.stop(); } function frame2(){ this.stop(); } } }//package
Section 215
//war_start (war_start) package { import flash.display.*; public dynamic class war_start extends MovieClip { public var def_side:MovieClip; public var atk_side:MovieClip; } }//package
Section 216
//WAV_16t_FALL (WAV_16t_FALL) package { import flash.media.*; public dynamic class WAV_16t_FALL extends Sound { } }//package
Section 217
//WAV_16t_HIT (WAV_16t_HIT) package { import flash.media.*; public dynamic class WAV_16t_HIT extends Sound { } }//package
Section 218
//WAV_ALERT (WAV_ALERT) package { import flash.media.*; public dynamic class WAV_ALERT extends Sound { } }//package
Section 219
//WAV_BOMB (WAV_BOMB) package { import flash.media.*; public dynamic class WAV_BOMB extends Sound { } }//package
Section 220
//WAV_BOSS (WAV_BOSS) package { import flash.media.*; public dynamic class WAV_BOSS extends Sound { } }//package
Section 221
//WAV_BRAIN (WAV_BRAIN) package { import flash.media.*; public dynamic class WAV_BRAIN extends Sound { } }//package
Section 222
//WAV_BRAKE (WAV_BRAKE) package { import flash.media.*; public dynamic class WAV_BRAKE extends Sound { } }//package
Section 223
//WAV_BUY (WAV_BUY) package { import flash.media.*; public dynamic class WAV_BUY extends Sound { } }//package
Section 224
//WAV_CANNON (WAV_CANNON) package { import flash.media.*; public dynamic class WAV_CANNON extends Sound { } }//package
Section 225
//WAV_CLICK (WAV_CLICK) package { import flash.media.*; public dynamic class WAV_CLICK extends Sound { } }//package
Section 226
//WAV_DORA (WAV_DORA) package { import flash.media.*; public dynamic class WAV_DORA extends Sound { } }//package
Section 227
//WAV_EARTH (WAV_EARTH) package { import flash.media.*; public dynamic class WAV_EARTH extends Sound { } }//package
Section 228
//WAV_ENDING (WAV_ENDING) package { import flash.media.*; public dynamic class WAV_ENDING extends Sound { } }//package
Section 229
//WAV_ESCAPE (WAV_ESCAPE) package { import flash.media.*; public dynamic class WAV_ESCAPE extends Sound { } }//package
Section 230
//WAV_FIRE (WAV_FIRE) package { import flash.media.*; public dynamic class WAV_FIRE extends Sound { } }//package
Section 231
//WAV_FIRE_BALL (WAV_FIRE_BALL) package { import flash.media.*; public dynamic class WAV_FIRE_BALL extends Sound { } }//package
Section 232
//WAV_FIRE_BOMB (WAV_FIRE_BOMB) package { import flash.media.*; public dynamic class WAV_FIRE_BOMB extends Sound { } }//package
Section 233
//WAV_FLASH (WAV_FLASH) package { import flash.media.*; public dynamic class WAV_FLASH extends Sound { } }//package
Section 234
//WAV_GAMEOVER (WAV_GAMEOVER) package { import flash.media.*; public dynamic class WAV_GAMEOVER extends Sound { } }//package
Section 235
//WAV_HEAL (WAV_HEAL) package { import flash.media.*; public dynamic class WAV_HEAL extends Sound { } }//package
Section 236
//WAV_HOLY (WAV_HOLY) package { import flash.media.*; public dynamic class WAV_HOLY extends Sound { } }//package
Section 237
//WAV_HONE_ATTACK (WAV_HONE_ATTACK) package { import flash.media.*; public dynamic class WAV_HONE_ATTACK extends Sound { } }//package
Section 238
//WAV_HONE_YARARE (WAV_HONE_YARARE) package { import flash.media.*; public dynamic class WAV_HONE_YARARE extends Sound { } }//package
Section 239
//WAV_IKIMONO (WAV_IKIMONO) package { import flash.media.*; public dynamic class WAV_IKIMONO extends Sound { } }//package
Section 240
//WAV_KAMINARI (WAV_KAMINARI) package { import flash.media.*; public dynamic class WAV_KAMINARI extends Sound { } }//package
Section 241
//WAV_KATANA (WAV_KATANA) package { import flash.media.*; public dynamic class WAV_KATANA extends Sound { } }//package
Section 242
//WAV_KNIGHT_SWORD (WAV_KNIGHT_SWORD) package { import flash.media.*; public dynamic class WAV_KNIGHT_SWORD extends Sound { } }//package
Section 243
//WAV_LOSE (WAV_LOSE) package { import flash.media.*; public dynamic class WAV_LOSE extends Sound { } }//package
Section 244
//WAV_METAL (WAV_METAL) package { import flash.media.*; public dynamic class WAV_METAL extends Sound { } }//package
Section 245
//WAV_NAGI (WAV_NAGI) package { import flash.media.*; public dynamic class WAV_NAGI extends Sound { } }//package
Section 246
//WAV_POI (WAV_POI) package { import flash.media.*; public dynamic class WAV_POI extends Sound { } }//package
Section 247
//WAV_POKO (WAV_POKO) package { import flash.media.*; public dynamic class WAV_POKO extends Sound { } }//package
Section 248
//WAV_PON (WAV_PON) package { import flash.media.*; public dynamic class WAV_PON extends Sound { } }//package
Section 249
//WAV_REPAIR (WAV_REPAIR) package { import flash.media.*; public dynamic class WAV_REPAIR extends Sound { } }//package
Section 250
//WAV_SAVE (WAV_SAVE) package { import flash.media.*; public dynamic class WAV_SAVE extends Sound { } }//package
Section 251
//WAV_SHURIKEN (WAV_SHURIKEN) package { import flash.media.*; public dynamic class WAV_SHURIKEN extends Sound { } }//package
Section 252
//WAV_SIZUKU_FALL (WAV_SIZUKU_FALL) package { import flash.media.*; public dynamic class WAV_SIZUKU_FALL extends Sound { } }//package
Section 253
//WAV_SIZUKU_HIT (WAV_SIZUKU_HIT) package { import flash.media.*; public dynamic class WAV_SIZUKU_HIT extends Sound { } }//package
Section 254
//WAV_SMOKE (WAV_SMOKE) package { import flash.media.*; public dynamic class WAV_SMOKE extends Sound { } }//package
Section 255
//WAV_SNIPER (WAV_SNIPER) package { import flash.media.*; public dynamic class WAV_SNIPER extends Sound { } }//package
Section 256
//WAV_SNIPER2 (WAV_SNIPER2) package { import flash.media.*; public dynamic class WAV_SNIPER2 extends Sound { } }//package
Section 257
//WAV_SWING (WAV_SWING) package { import flash.media.*; public dynamic class WAV_SWING extends Sound { } }//package
Section 258
//WAV_TAC (WAV_TAC) package { import flash.media.*; public dynamic class WAV_TAC extends Sound { } }//package
Section 259
//WAV_TOBI_BOMB (WAV_TOBI_BOMB) package { import flash.media.*; public dynamic class WAV_TOBI_BOMB extends Sound { } }//package
Section 260
//WAV_WARCRY (WAV_WARCRY) package { import flash.media.*; public dynamic class WAV_WARCRY extends Sound { } }//package
Section 261
//WAV_WIND (WAV_WIND) package { import flash.media.*; public dynamic class WAV_WIND extends Sound { } }//package
Section 262
//WAV_YARARE1 (WAV_YARARE1) package { import flash.media.*; public dynamic class WAV_YARARE1 extends Sound { } }//package
Section 263
//WAV_YARARE2 (WAV_YARARE2) package { import flash.media.*; public dynamic class WAV_YARARE2 extends Sound { } }//package
Section 264
//WAV_YARARE3 (WAV_YARARE3) package { import flash.media.*; public dynamic class WAV_YARARE3 extends Sound { } }//package
Section 265
//WAV_YARI (WAV_YARI) package { import flash.media.*; public dynamic class WAV_YARI extends Sound { } }//package
Section 266
//WAV_YUMI (WAV_YUMI) package { import flash.media.*; public dynamic class WAV_YUMI extends Sound { } }//package

Library Items

Symbol 1 Sound {WAV_KAMINARI}Used by:1295
Symbol 2 GraphicUsed by:24
Symbol 3 GraphicUsed by:24
Symbol 4 GraphicUsed by:24
Symbol 5 GraphicUsed by:10
Symbol 6 GraphicUsed by:8 1415 1493 1504
Symbol 7 GraphicUsed by:8
Symbol 8 MovieClip {TDW_E__fla.00HP_185}Uses:6 7Used by:10
Symbol 9 GraphicUsed by:10
Symbol 10 MovieClip {HP_BAR}Uses:5 8 9Used by:24 724 726 743 758 765 781 792 806 827 842 855 873 888 916 1316 1326 1347  Timeline
Symbol 11 GraphicUsed by:24
Symbol 12 GraphicUsed by:24
Symbol 13 GraphicUsed by:24
Symbol 14 GraphicUsed by:24
Symbol 15 GraphicUsed by:24
Symbol 16 GraphicUsed by:24
Symbol 17 GraphicUsed by:24
Symbol 18 GraphicUsed by:24
Symbol 19 GraphicUsed by:24
Symbol 20 GraphicUsed by:24
Symbol 21 GraphicUsed by:24 743 758 765 781 792 806 827 842 855 873 888 1316 1326
Symbol 22 GraphicUsed by:24
Symbol 23 GraphicUsed by:24 827 842 855
Symbol 24 MovieClip {UNIT14_BIRIBIRI}Uses:2 3 4 10 11 12 13 14 15 16 17 18 19 20 21 22 23Used by:Timeline
Symbol 25 GraphicUsed by:26
Symbol 26 MovieClipUses:25Used by:Timeline
Symbol 27 GraphicUsed by:Timeline
Symbol 28 GraphicUsed by:338
Symbol 29 GraphicUsed by:30
Symbol 30 MovieClipUses:29Used by:338
Symbol 31 GraphicUsed by:32
Symbol 32 MovieClipUses:31Used by:160
Symbol 33 GraphicUsed by:160
Symbol 34 GraphicUsed by:35
Symbol 35 MovieClipUses:34Used by:160 164 168 172 176 179 183 186 190 194 198 202 205 207 210 214 217 220 224 228 232 236 240 243 247 251 254 258 262 265 268 270 272 274 278 281 283 287 291 295 299 303 306 310 314 317 321 325 329 333 337
Symbol 36 GraphicUsed by:62
Symbol 37 GraphicUsed by:48
Symbol 38 GraphicUsed by:48
Symbol 39 GraphicUsed by:48
Symbol 40 GraphicUsed by:48
Symbol 41 GraphicUsed by:48
Symbol 42 GraphicUsed by:48
Symbol 43 GraphicUsed by:48 625
Symbol 44 GraphicUsed by:48
Symbol 45 GraphicUsed by:48
Symbol 46 GraphicUsed by:48
Symbol 47 GraphicUsed by:48
Symbol 48 MovieClip {TDW_E__fla.Timeline_8}Uses:37 38 39 40 41 42 43 44 45 46 47Used by:62 1186
Symbol 49 GraphicUsed by:60
Symbol 50 GraphicUsed by:60
Symbol 51 GraphicUsed by:60
Symbol 52 GraphicUsed by:60
Symbol 53 GraphicUsed by:60
Symbol 54 GraphicUsed by:60
Symbol 55 GraphicUsed by:60
Symbol 56 GraphicUsed by:60
Symbol 57 GraphicUsed by:60
Symbol 58 GraphicUsed by:60
Symbol 59 GraphicUsed by:60
Symbol 60 MovieClip {bld_unit}Uses:49 50 51 52 53 54 55 56 57 58 59Used by:62 384  Timeline
Symbol 61 GraphicUsed by:62
Symbol 62 MovieClip {TDW_E__fla.05_7}Uses:36 48 60 61Used by:160 164 168 172 176 179 183 186 190 194 198 202 205 207 210 214 217 220 224 228 232 236 240 243 247 251 254 258 262 265 268 270 272 274 278 281 283 287 291 295 299 303 306 310 314 317 321 325 329 333 337
Symbol 63 GraphicUsed by:159
Symbol 64 BitmapUsed by:65 645 1060 1190 1448
Symbol 65 GraphicUses:64Used by:159
Symbol 66 BitmapUsed by:67 646 1061 1191 1432 1450
Symbol 67 GraphicUses:66Used by:159
Symbol 68 BitmapUsed by:69 647 1062 1192 1433 1451
Symbol 69 GraphicUses:68Used by:159
Symbol 70 BitmapUsed by:71 648 1063 1193
Symbol 71 GraphicUses:70Used by:159
Symbol 72 BitmapUsed by:73 649 1064 1194 1434
Symbol 73 GraphicUses:72Used by:159
Symbol 74 BitmapUsed by:75 650 1065 1195 1452
Symbol 75 GraphicUses:74Used by:159
Symbol 76 BitmapUsed by:77 651 1066 1196 1435 1453
Symbol 77 GraphicUses:76Used by:159
Symbol 78 BitmapUsed by:79 652 1067 1197 1454
Symbol 79 GraphicUses:78Used by:159
Symbol 80 BitmapUsed by:81 653 1068 1198
Symbol 81 GraphicUses:80Used by:159
Symbol 82 BitmapUsed by:83 654 1069 1199 1455
Symbol 83 GraphicUses:82Used by:159
Symbol 84 BitmapUsed by:85 655 1070 1200 1436 1456
Symbol 85 GraphicUses:84Used by:159
Symbol 86 BitmapUsed by:87 656 1071 1201 1457
Symbol 87 GraphicUses:86Used by:159
Symbol 88 BitmapUsed by:89 657 1072 1202 1458
Symbol 89 GraphicUses:88Used by:159
Symbol 90 BitmapUsed by:91 658 1073 1203 1459
Symbol 91 GraphicUses:90Used by:159
Symbol 92 BitmapUsed by:93 659 1074 1204 1437 1460
Symbol 93 GraphicUses:92Used by:159
Symbol 94 BitmapUsed by:95 660 1075 1205 1461
Symbol 95 GraphicUses:94Used by:159
Symbol 96 BitmapUsed by:97 661 1076 1206 1462
Symbol 97 GraphicUses:96Used by:159
Symbol 98 BitmapUsed by:99 662 1077 1207 1463
Symbol 99 GraphicUses:98Used by:159
Symbol 100 BitmapUsed by:101 663 1078 1208 1438 1464
Symbol 101 GraphicUses:100Used by:159
Symbol 102 BitmapUsed by:103 664 1079 1209 1439 1465
Symbol 103 GraphicUses:102Used by:159
Symbol 104 BitmapUsed by:105 665 1080 1210 1466
Symbol 105 GraphicUses:104Used by:159
Symbol 106 BitmapUsed by:107 666 1081 1211 1440 1467
Symbol 107 GraphicUses:106Used by:159
Symbol 108 BitmapUsed by:109 667 1082 1212 1441 1468
Symbol 109 GraphicUses:108Used by:159
Symbol 110 BitmapUsed by:111 668 1083 1213 1469
Symbol 111 GraphicUses:110Used by:159
Symbol 112 BitmapUsed by:113 669 1084 1214 1470
Symbol 113 GraphicUses:112Used by:159
Symbol 114 BitmapUsed by:115 670 1085 1215 1442 1471
Symbol 115 GraphicUses:114Used by:159
Symbol 116 BitmapUsed by:117 671 1086 1216 1472
Symbol 117 GraphicUses:116Used by:159
Symbol 118 BitmapUsed by:119 672 1087 1217 1473
Symbol 119 GraphicUses:118Used by:159
Symbol 120 BitmapUsed by:121 673 1088 1218 1474
Symbol 121 GraphicUses:120Used by:159
Symbol 122 BitmapUsed by:123 674 1089 1219 1443
Symbol 123 GraphicUses:122Used by:159
Symbol 124 BitmapUsed by:125 675 1090 1220
Symbol 125 GraphicUses:124Used by:159
Symbol 126 BitmapUsed by:127 676 1091 1221 1475
Symbol 127 GraphicUses:126Used by:159
Symbol 128 BitmapUsed by:129 677 1092 1222 1476
Symbol 129 GraphicUses:128Used by:159
Symbol 130 BitmapUsed by:131 678 1093 1223 1477
Symbol 131 GraphicUses:130Used by:159
Symbol 132 BitmapUsed by:133 679 1094 1224 1444 1478
Symbol 133 GraphicUses:132Used by:159
Symbol 134 BitmapUsed by:135 680 1095 1225 1479
Symbol 135 GraphicUses:134Used by:159
Symbol 136 BitmapUsed by:137 681 1096 1226 1480
Symbol 137 GraphicUses:136Used by:159
Symbol 138 BitmapUsed by:139 682 1097 1227 1481
Symbol 139 GraphicUses:138Used by:159
Symbol 140 BitmapUsed by:141 683 1098 1228 1482
Symbol 141 GraphicUses:140Used by:159
Symbol 142 BitmapUsed by:143 684 1099 1229 1445 1483
Symbol 143 GraphicUses:142Used by:159
Symbol 144 BitmapUsed by:145 685 1100 1230 1484
Symbol 145 GraphicUses:144Used by:159
Symbol 146 BitmapUsed by:147 686 1101 1231 1485
Symbol 147 GraphicUses:146Used by:159
Symbol 148 BitmapUsed by:149 687 1102 1232 1486
Symbol 149 GraphicUses:148Used by:159
Symbol 150 BitmapUsed by:151 688 1103 1233 1487
Symbol 151 GraphicUses:150Used by:159
Symbol 152 BitmapUsed by:153 689 1104 1234 1488
Symbol 153 GraphicUses:152Used by:159
Symbol 154 BitmapUsed by:155 690 1105 1235 1489
Symbol 155 GraphicUses:154Used by:159
Symbol 156 BitmapUsed by:157 691 1106 1236 1490
Symbol 157 GraphicUses:156Used by:159
Symbol 158 GraphicUsed by:159
Symbol 159 MovieClip {TDW_E__fla.Timeline_10}Uses:63 65 67 69 71 73 75 77 79 81 83 85 87 89 91 93 95 97 99 101 103 105 107 109 111 113 115 117 119 121 123 125 127 129 131 133 135 137 139 141 143 145 147 149 151 153 155 157 158Used by:160 164 168 172 176 179 183 186 190 194 198 202 205 207 210 214 217 220 224 228 232 236 240 243 247 251 254 258 262 265 268 270 272 274 278 281 283 287 291 295 299 303 306 310 314 317 321 325 329 333 337 1056
Symbol 160 MovieClip {TDW_E__fla.01_4}Uses:32 33 35 62 159Used by:338
Symbol 161 GraphicUsed by:162
Symbol 162 MovieClipUses:161Used by:164
Symbol 163 GraphicUsed by:164
Symbol 164 MovieClip {TDW_E__fla.02_11}Uses:162 163 35 62 159Used by:338
Symbol 165 GraphicUsed by:166 177 184 203 206 208 215 218 241 252 263 266 269 271 273 279 282 304 315 1189
Symbol 166 MovieClipUses:165Used by:168
Symbol 167 GraphicUsed by:168
Symbol 168 MovieClip {TDW_E__fla.03_13}Uses:166 167 35 62 159Used by:338
Symbol 169 GraphicUsed by:170
Symbol 170 MovieClipUses:169Used by:172
Symbol 171 GraphicUsed by:172
Symbol 172 MovieClip {TDW_E__fla.04_15}Uses:170 171 35 62 159Used by:338
Symbol 173 GraphicUsed by:174
Symbol 174 MovieClipUses:173Used by:176
Symbol 175 GraphicUsed by:176
Symbol 176 MovieClip {TDW_E__fla.05_17}Uses:174 175 35 62 159Used by:338
Symbol 177 MovieClipUses:165Used by:179
Symbol 178 GraphicUsed by:179
Symbol 179 MovieClip {TDW_E__fla.06_19}Uses:177 178 35 62 159Used by:338
Symbol 180 GraphicUsed by:181
Symbol 181 MovieClipUses:180Used by:183
Symbol 182 GraphicUsed by:183
Symbol 183 MovieClip {TDW_E__fla.07_21}Uses:181 182 35 62 159Used by:338
Symbol 184 MovieClipUses:165Used by:186
Symbol 185 GraphicUsed by:186
Symbol 186 MovieClip {TDW_E__fla.08_23}Uses:184 185 35 62 159Used by:338
Symbol 187 GraphicUsed by:188
Symbol 188 MovieClipUses:187Used by:190
Symbol 189 GraphicUsed by:190
Symbol 190 MovieClip {TDW_E__fla.09_25}Uses:188 189 35 62 159Used by:338
Symbol 191 GraphicUsed by:192
Symbol 192 MovieClipUses:191Used by:194
Symbol 193 GraphicUsed by:194
Symbol 194 MovieClip {TDW_E__fla.10_27}Uses:192 193 35 62 159Used by:338
Symbol 195 GraphicUsed by:196
Symbol 196 MovieClipUses:195Used by:198
Symbol 197 GraphicUsed by:198
Symbol 198 MovieClip {TDW_E__fla.11_29}Uses:196 197 35 62 159Used by:338
Symbol 199 GraphicUsed by:200
Symbol 200 MovieClipUses:199Used by:202
Symbol 201 GraphicUsed by:202
Symbol 202 MovieClip {TDW_E__fla.12_31}Uses:200 201 35 62 159Used by:338
Symbol 203 MovieClipUses:165Used by:205
Symbol 204 GraphicUsed by:205 207
Symbol 205 MovieClip {TDW_E__fla.13_33}Uses:203 204 35 62 159Used by:338
Symbol 206 MovieClipUses:165Used by:207
Symbol 207 MovieClip {TDW_E__fla.14_35}Uses:206 204 35 62 159Used by:338
Symbol 208 MovieClipUses:165Used by:210
Symbol 209 GraphicUsed by:210
Symbol 210 MovieClip {TDW_E__fla.15_37}Uses:208 209 35 62 159Used by:338
Symbol 211 GraphicUsed by:212
Symbol 212 MovieClipUses:211Used by:214
Symbol 213 GraphicUsed by:214
Symbol 214 MovieClip {TDW_E__fla.16_39}Uses:212 213 35 62 159Used by:338
Symbol 215 MovieClipUses:165Used by:217
Symbol 216 GraphicUsed by:217
Symbol 217 MovieClip {TDW_E__fla.17_41}Uses:215 216 35 62 159Used by:338
Symbol 218 MovieClipUses:165Used by:220
Symbol 219 GraphicUsed by:220
Symbol 220 MovieClip {TDW_E__fla.18_43}Uses:218 219 35 62 159Used by:338
Symbol 221 GraphicUsed by:222
Symbol 222 MovieClipUses:221Used by:224
Symbol 223 GraphicUsed by:224
Symbol 224 MovieClip {TDW_E__fla.19_45}Uses:222 223 35 62 159Used by:338
Symbol 225 GraphicUsed by:226
Symbol 226 MovieClipUses:225Used by:228
Symbol 227 GraphicUsed by:228
Symbol 228 MovieClip {TDW_E__fla.20_47}Uses:226 227 35 62 159Used by:338
Symbol 229 GraphicUsed by:230
Symbol 230 MovieClipUses:229Used by:232
Symbol 231 GraphicUsed by:232
Symbol 232 MovieClip {TDW_E__fla.21_49}Uses:230 231 35 62 159Used by:338
Symbol 233 GraphicUsed by:234
Symbol 234 MovieClipUses:233Used by:236
Symbol 235 GraphicUsed by:236
Symbol 236 MovieClip {TDW_E__fla.22_51}Uses:234 235 35 62 159Used by:338
Symbol 237 GraphicUsed by:238
Symbol 238 MovieClipUses:237Used by:240
Symbol 239 GraphicUsed by:240
Symbol 240 MovieClip {TDW_E__fla.23_53}Uses:238 239 35 62 159Used by:338
Symbol 241 MovieClipUses:165Used by:243
Symbol 242 GraphicUsed by:243
Symbol 243 MovieClip {TDW_E__fla.24_55}Uses:241 242 35 62 159Used by:338
Symbol 244 GraphicUsed by:245
Symbol 245 MovieClipUses:244Used by:247
Symbol 246 GraphicUsed by:247
Symbol 247 MovieClip {TDW_E__fla.25_57}Uses:245 246 35 62 159Used by:338
Symbol 248 GraphicUsed by:249
Symbol 249 MovieClipUses:248Used by:251
Symbol 250 GraphicUsed by:251
Symbol 251 MovieClip {TDW_E__fla.26_59}Uses:249 250 35 62 159Used by:338
Symbol 252 MovieClipUses:165Used by:254
Symbol 253 GraphicUsed by:254
Symbol 254 MovieClip {TDW_E__fla.27_61}Uses:252 253 35 62 159Used by:338
Symbol 255 GraphicUsed by:256
Symbol 256 MovieClipUses:255Used by:258
Symbol 257 GraphicUsed by:258
Symbol 258 MovieClip {TDW_E__fla.28_63}Uses:256 257 35 62 159Used by:338
Symbol 259 GraphicUsed by:260
Symbol 260 MovieClipUses:259Used by:262
Symbol 261 GraphicUsed by:262
Symbol 262 MovieClip {TDW_E__fla.29_65}Uses:260 261 35 62 159Used by:338
Symbol 263 MovieClipUses:165Used by:265
Symbol 264 GraphicUsed by:265
Symbol 265 MovieClip {TDW_E__fla.30_67}Uses:263 264 35 62 159Used by:338
Symbol 266 MovieClipUses:165Used by:268
Symbol 267 GraphicUsed by:268 270 272 274
Symbol 268 MovieClip {TDW_E__fla.31_69}Uses:266 267 35 62 159Used by:338
Symbol 269 MovieClipUses:165Used by:270
Symbol 270 MovieClip {TDW_E__fla.32_71}Uses:269 267 35 62 159Used by:338
Symbol 271 MovieClipUses:165Used by:272
Symbol 272 MovieClip {TDW_E__fla.33_73}Uses:271 267 35 62 159Used by:338
Symbol 273 MovieClipUses:165Used by:274
Symbol 274 MovieClip {TDW_E__fla.34_75}Uses:273 267 35 62 159Used by:338
Symbol 275 GraphicUsed by:276
Symbol 276 MovieClipUses:275Used by:278
Symbol 277 GraphicUsed by:278
Symbol 278 MovieClip {TDW_E__fla.35_77}Uses:276 277 35 62 159Used by:338
Symbol 279 MovieClipUses:165Used by:281
Symbol 280 GraphicUsed by:281 283
Symbol 281 MovieClip {TDW_E__fla.36_79}Uses:279 280 35 62 159Used by:338
Symbol 282 MovieClipUses:165Used by:283
Symbol 283 MovieClip {TDW_E__fla.37_81}Uses:282 280 35 62 159Used by:338
Symbol 284 GraphicUsed by:285
Symbol 285 MovieClipUses:284Used by:287
Symbol 286 GraphicUsed by:287
Symbol 287 MovieClip {TDW_E__fla.38_83}Uses:285 286 35 62 159Used by:338
Symbol 288 GraphicUsed by:289
Symbol 289 MovieClipUses:288Used by:291
Symbol 290 GraphicUsed by:291
Symbol 291 MovieClip {TDW_E__fla.39_85}Uses:289 290 35 62 159Used by:338
Symbol 292 GraphicUsed by:293
Symbol 293 MovieClipUses:292Used by:295
Symbol 294 GraphicUsed by:295
Symbol 295 MovieClip {TDW_E__fla.40_87}Uses:293 294 35 62 159Used by:338
Symbol 296 GraphicUsed by:297
Symbol 297 MovieClipUses:296Used by:299
Symbol 298 GraphicUsed by:299
Symbol 299 MovieClip {TDW_E__fla.41_89}Uses:297 298 35 62 159Used by:338
Symbol 300 GraphicUsed by:301
Symbol 301 MovieClipUses:300Used by:303
Symbol 302 GraphicUsed by:303
Symbol 303 MovieClip {TDW_E__fla.42_91}Uses:301 302 35 62 159Used by:338
Symbol 304 MovieClipUses:165Used by:306
Symbol 305 GraphicUsed by:306
Symbol 306 MovieClip {TDW_E__fla.43_93}Uses:304 305 35 62 159Used by:338
Symbol 307 GraphicUsed by:308
Symbol 308 MovieClipUses:307Used by:310
Symbol 309 GraphicUsed by:310
Symbol 310 MovieClip {TDW_E__fla.44_95}Uses:308 309 35 62 159Used by:338
Symbol 311 GraphicUsed by:312
Symbol 312 MovieClipUses:311Used by:314
Symbol 313 GraphicUsed by:314
Symbol 314 MovieClip {TDW_E__fla.45_97}Uses:312 313 35 62 159Used by:338
Symbol 315 MovieClipUses:165Used by:317
Symbol 316 GraphicUsed by:317
Symbol 317 MovieClip {TDW_E__fla.46_99}Uses:315 316 35 62 159Used by:338
Symbol 318 GraphicUsed by:319
Symbol 319 MovieClipUses:318Used by:321
Symbol 320 GraphicUsed by:321
Symbol 321 MovieClip {TDW_E__fla.47_101}Uses:319 320 35 62 159Used by:338
Symbol 322 GraphicUsed by:323
Symbol 323 MovieClipUses:322Used by:325
Symbol 324 GraphicUsed by:325
Symbol 325 MovieClip {TDW_E__fla.51_103}Uses:323 324 35 62 159Used by:338
Symbol 326 GraphicUsed by:327
Symbol 327 MovieClipUses:326Used by:329
Symbol 328 GraphicUsed by:329
Symbol 329 MovieClip {TDW_E__fla.48_105}Uses:327 328 35 62 159Used by:338
Symbol 330 GraphicUsed by:331
Symbol 331 MovieClipUses:330Used by:333
Symbol 332 GraphicUsed by:333
Symbol 333 MovieClip {TDW_E__fla.49_107}Uses:331 332 35 62 159Used by:338
Symbol 334 GraphicUsed by:335
Symbol 335 MovieClipUses:334Used by:337
Symbol 336 GraphicUsed by:337
Symbol 337 MovieClip {TDW_E__fla.50_109}Uses:335 336 35 62 159Used by:338
Symbol 338 MovieClip {japan_map}Uses:28 30 160 164 168 172 176 179 183 186 190 194 198 202 205 207 210 214 217 220 224 228 232 236 240 243 247 251 254 258 262 265 268 270 272 274 278 281 283 287 291 295 299 303 306 310 314 317 321 325 329 333 337Used by:1298  Timeline
Symbol 339 GraphicUsed by:342
Symbol 340 GraphicUsed by:342
Symbol 341 GraphicUsed by:342
Symbol 342 MovieClip {TDW_E__fla.Timeline_112}Uses:339 340 341Used by:346 360 1364
Symbol 343 GraphicUsed by:345
Symbol 344 GraphicUsed by:345
Symbol 345 MovieClip {TDW_E__fla.Timeline_113}Uses:343 344Used by:346
Symbol 346 MovieClip {BTN16_SAVE}Uses:342 345Used by:Timeline
Symbol 347 GraphicUsed by:348
Symbol 348 MovieClip {BTN09_TAB}Uses:347Used by:Timeline
Symbol 349 GraphicUsed by:352 1424
Symbol 350 GraphicUsed by:352 1424
Symbol 351 GraphicUsed by:352 1424
Symbol 352 MovieClip {TDW_E__fla.Timeline_116}Uses:349 350 351Used by:356 364 369 1499 1527
Symbol 353 GraphicUsed by:355
Symbol 354 GraphicUsed by:355
Symbol 355 MovieClip {TDW_E__fla.Timeline_117}Uses:353 354Used by:356
Symbol 356 MovieClip {BTN03_PAUSE}Uses:352 355Used by:Timeline
Symbol 357 GraphicUsed by:359
Symbol 358 GraphicUsed by:359
Symbol 359 MovieClip {TDW_E__fla.Timeline_119}Uses:357 358Used by:360
Symbol 360 MovieClip {BTN17_LOAD}Uses:342 359Used by:Timeline
Symbol 361 GraphicUsed by:363
Symbol 362 GraphicUsed by:363
Symbol 363 MovieClip {TDW_E__fla.Timeline_121}Uses:361 362Used by:364
Symbol 364 MovieClip {BTN05_SOUND}Uses:352 363Used by:Timeline
Symbol 365 GraphicUsed by:368
Symbol 366 GraphicUsed by:368
Symbol 367 GraphicUsed by:368
Symbol 368 MovieClip {TDW_E__fla.Timeline_123}Uses:365 366 367Used by:369
Symbol 369 MovieClip {BTN04_VISUAL}Uses:352 368Used by:Timeline
Symbol 370 GraphicUsed by:373
Symbol 371 GraphicUsed by:373
Symbol 372 GraphicUsed by:373
Symbol 373 MovieClip {TDW_E__fla.Timeline_125}Uses:370 371 372Used by:377 390 447
Symbol 374 GraphicUsed by:376
Symbol 375 GraphicUsed by:376
Symbol 376 MovieClip {TDW_E__fla.Timeline_126}Uses:374 375Used by:377
Symbol 377 MovieClip {BTN01_TURNEND}Uses:373 376Used by:Timeline
Symbol 378 GraphicUsed by:381
Symbol 379 GraphicUsed by:381
Symbol 380 GraphicUsed by:381
Symbol 381 MovieClip {TDW_E__fla.Timeline_128}Uses:378 379 380Used by:384 403 448
Symbol 382 GraphicUsed by:383
Symbol 383 MovieClip {TDW_E__fla.Timeline_129}Uses:382Used by:384 403 448
Symbol 384 MovieClip {BTN10_BLD}Uses:381 60 383Used by:Timeline
Symbol 385 GraphicUsed by:389
Symbol 386 GraphicUsed by:389
Symbol 387 GraphicUsed by:389
Symbol 388 GraphicUsed by:389
Symbol 389 MovieClip {TDW_E__fla.Timeline_131}Uses:385 386 387 388Used by:390
Symbol 390 MovieClip {BTN14_TACUSE}Uses:373 389Used by:Timeline
Symbol 391 GraphicUsed by:402
Symbol 392 GraphicUsed by:402
Symbol 393 GraphicUsed by:402
Symbol 394 GraphicUsed by:402
Symbol 395 GraphicUsed by:402
Symbol 396 GraphicUsed by:402
Symbol 397 GraphicUsed by:402
Symbol 398 GraphicUsed by:402
Symbol 399 GraphicUsed by:402
Symbol 400 GraphicUsed by:402
Symbol 401 GraphicUsed by:402
Symbol 402 MovieClip {TDW_E__fla.Timeline_133}Uses:391 392 393 394 395 396 397 398 399 400 401Used by:403 411 494
Symbol 403 MovieClip {BTN11_TAC}Uses:381 402 383Used by:Timeline
Symbol 404 GraphicUsed by:407
Symbol 405 GraphicUsed by:407
Symbol 406 GraphicUsed by:407
Symbol 407 MovieClip {TDW_E__fla.Timeline_135}Uses:404 405 406Used by:411
Symbol 408 GraphicUsed by:410
Symbol 409 GraphicUsed by:410
Symbol 410 MovieClip {TDW_E__fla.Timeline_136}Uses:408 409Used by:411
Symbol 411 MovieClip {BTN15_TAC_SELECT}Uses:407 402 410Used by:Timeline
Symbol 412 GraphicUsed by:415
Symbol 413 GraphicUsed by:415
Symbol 414 GraphicUsed by:415
Symbol 415 MovieClip {TDW_E__fla.Timeline_138}Uses:412 413 414Used by:442
Symbol 416 GraphicUsed by:432
Symbol 417 GraphicUsed by:432
Symbol 418 GraphicUsed by:432
Symbol 419 GraphicUsed by:432
Symbol 420 GraphicUsed by:432
Symbol 421 GraphicUsed by:432
Symbol 422 GraphicUsed by:432
Symbol 423 GraphicUsed by:432
Symbol 424 GraphicUsed by:432
Symbol 425 GraphicUsed by:432
Symbol 426 GraphicUsed by:432
Symbol 427 GraphicUsed by:432
Symbol 428 GraphicUsed by:432
Symbol 429 GraphicUsed by:432
Symbol 430 GraphicUsed by:432
Symbol 431 GraphicUsed by:432
Symbol 432 MovieClip {map_unit}Uses:416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431Used by:442 448 630 939
Symbol 433 GraphicUsed by:435
Symbol 434 GraphicUsed by:435
Symbol 435 MovieClip {TDW_E__fla.Timeline_140}Uses:433 434Used by:442
Symbol 436 GraphicUsed by:441
Symbol 437 GraphicUsed by:441
Symbol 438 GraphicUsed by:441
Symbol 439 GraphicUsed by:441
Symbol 440 GraphicUsed by:441
Symbol 441 MovieClipUses:436 437 438 439 440Used by:442
Symbol 442 MovieClip {BTN12_BATTLE}Uses:415 432 435 441Used by:Timeline
Symbol 443 GraphicUsed by:446
Symbol 444 GraphicUsed by:446
Symbol 445 GraphicUsed by:446
Symbol 446 MovieClip {TDW_E__fla.Timeline_143}Uses:443 444 445Used by:447
Symbol 447 MovieClip {BTN13_ESCAPE}Uses:373 446Used by:Timeline
Symbol 448 MovieClip {BTN02_BUY}Uses:381 432 383Used by:Timeline
Symbol 449 GraphicUsed by:459
Symbol 450 GraphicUsed by:459
Symbol 451 GraphicUsed by:459
Symbol 452 GraphicUsed by:459
Symbol 453 GraphicUsed by:459
Symbol 454 GraphicUsed by:459
Symbol 455 GraphicUsed by:459
Symbol 456 GraphicUsed by:459
Symbol 457 GraphicUsed by:459
Symbol 458 GraphicUsed by:459
Symbol 459 MovieClip {TDW_E__fla.Timeline_146}Uses:449 450 451 452 453 454 455 456 457 458Used by:460
Symbol 460 MovieClip {ETC01_DMG}Uses:459Used by:Timeline
Symbol 461 GraphicUsed by:475
Symbol 462 GraphicUsed by:475
Symbol 463 GraphicUsed by:475
Symbol 464 GraphicUsed by:475
Symbol 465 GraphicUsed by:475
Symbol 466 GraphicUsed by:475
Symbol 467 GraphicUsed by:475
Symbol 468 GraphicUsed by:475
Symbol 469 GraphicUsed by:475
Symbol 470 GraphicUsed by:475
Symbol 471 GraphicUsed by:475
Symbol 472 GraphicUsed by:475
Symbol 473 GraphicUsed by:474
Symbol 474 MovieClipUses:473Used by:475 726
Symbol 475 MovieClip {ETC02_UNITDOWN}Uses:461 462 463 464 465 466 467 468 469 470 471 472 474Used by:Timeline
Symbol 476 BitmapUsed by:477
Symbol 477 GraphicUses:476Used by:478 746
Symbol 478 MovieClip {ETC03_ALLOW}Uses:477Used by:Timeline
Symbol 479 GraphicUsed by:481
Symbol 480 GraphicUsed by:481 644
Symbol 481 MovieClip {ETC04_CANNON}Uses:479 480Used by:Timeline
Symbol 482 GraphicUsed by:483
Symbol 483 MovieClip {ETC05_ASE}Uses:482Used by:Timeline
Symbol 484 GraphicUsed by:493
Symbol 485 GraphicUsed by:493
Symbol 486 GraphicUsed by:493
Symbol 487 GraphicUsed by:493
Symbol 488 GraphicUsed by:493
Symbol 489 GraphicUsed by:493
Symbol 490 GraphicUsed by:493
Symbol 491 GraphicUsed by:493
Symbol 492 GraphicUsed by:493
Symbol 493 MovieClip {ETC06_TAC_EFFECT}Uses:484 485 486 487 488 489 490 491 492Used by:Timeline
Symbol 494 MovieClip {ETC07_TAC_NAME}Uses:402Used by:Timeline
Symbol 495 GraphicUsed by:505
Symbol 496 GraphicUsed by:505
Symbol 497 GraphicUsed by:505
Symbol 498 GraphicUsed by:505
Symbol 499 GraphicUsed by:505
Symbol 500 GraphicUsed by:505
Symbol 501 GraphicUsed by:505
Symbol 502 GraphicUsed by:505
Symbol 503 GraphicUsed by:505
Symbol 504 GraphicUsed by:505
Symbol 505 MovieClip {TDW_E__fla.Timeline_155}Uses:495 496 497 498 499 500 501 502 503 504Used by:506 697
Symbol 506 MovieClip {ETC08_HEAL}Uses:505Used by:Timeline
Symbol 507 GraphicUsed by:509
Symbol 508 GraphicUsed by:509
Symbol 509 MovieClip {ETC09_REPAIR_EFFECT}Uses:507 508Used by:Timeline
Symbol 510 GraphicUsed by:513
Symbol 511 GraphicUsed by:513
Symbol 512 GraphicUsed by:513
Symbol 513 MovieClip {ETC10_OMORI}Uses:510 511 512Used by:Timeline
Symbol 514 GraphicUsed by:515
Symbol 515 MovieClip {ETC11_KEMURI}Uses:514Used by:Timeline
Symbol 516 GraphicUsed by:519
Symbol 517 GraphicUsed by:519
Symbol 518 GraphicUsed by:519
Symbol 519 MovieClip {ETC12_KAZE}Uses:516 517 518Used by:Timeline
Symbol 520 GraphicUsed by:523
Symbol 521 GraphicUsed by:523
Symbol 522 GraphicUsed by:523
Symbol 523 MovieClip {ETC13_FRAME}Uses:520 521 522Used by:Timeline
Symbol 524 GraphicUsed by:534
Symbol 525 GraphicUsed by:534
Symbol 526 GraphicUsed by:534
Symbol 527 GraphicUsed by:534
Symbol 528 GraphicUsed by:534
Symbol 529 GraphicUsed by:534
Symbol 530 GraphicUsed by:534
Symbol 531 GraphicUsed by:534
Symbol 532 GraphicUsed by:534
Symbol 533 GraphicUsed by:534
Symbol 534 MovieClip {ETC14_EARTH}Uses:524 525 526 527 528 529 530 531 532 533Used by:Timeline
Symbol 535 GraphicUsed by:536
Symbol 536 MovieClip {ETC15_SIZUKU}Uses:535Used by:Timeline
Symbol 537 GraphicUsed by:538
Symbol 538 MovieClip {ETC16_HEAL_EFFECT}Uses:537Used by:Timeline
Symbol 539 GraphicUsed by:542
Symbol 540 GraphicUsed by:542
Symbol 541 GraphicUsed by:542
Symbol 542 MovieClip {ETC17_FLASH}Uses:539 540 541Used by:Timeline
Symbol 543 GraphicUsed by:549
Symbol 544 GraphicUsed by:549
Symbol 545 GraphicUsed by:549
Symbol 546 GraphicUsed by:549
Symbol 547 GraphicUsed by:549
Symbol 548 GraphicUsed by:549
Symbol 549 MovieClip {ETC18_HOLY}Uses:543 544 545 546 547 548Used by:Timeline
Symbol 550 GraphicUsed by:560
Symbol 551 GraphicUsed by:560
Symbol 552 GraphicUsed by:560
Symbol 553 GraphicUsed by:560
Symbol 554 GraphicUsed by:560
Symbol 555 GraphicUsed by:560
Symbol 556 GraphicUsed by:560
Symbol 557 GraphicUsed by:560
Symbol 558 GraphicUsed by:560
Symbol 559 GraphicUsed by:560
Symbol 560 MovieClip {ETC19_HONE_RISE}Uses:550 551 552 553 554 555 556 557 558 559Used by:Timeline
Symbol 561 GraphicUsed by:562
Symbol 562 MovieClip {ETC20_SHADOW}Uses:561Used by:Timeline
Symbol 563 GraphicUsed by:599
Symbol 564 FontUsed by:565 566 567 568 569 570 571 572 573 574 575 576 585 586 587 593 594 595 596 597 598 955 956 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1296 1368 1369 1371 1372 1373 1377 1378 1379 1380 1384 1385 1386 1389 1392 1393 1396 1397 1403 1404 1409 1410 1413 1414 1500 1501 1502 1503 1506 1509 1523 1528 1529
Symbol 565 TextUses:564Used by:599
Symbol 566 TextUses:564Used by:599
Symbol 567 TextUses:564Used by:599
Symbol 568 TextUses:564Used by:599
Symbol 569 TextUses:564Used by:599
Symbol 570 TextUses:564Used by:599
Symbol 571 TextUses:564Used by:599
Symbol 572 TextUses:564Used by:599
Symbol 573 TextUses:564Used by:599
Symbol 574 TextUses:564Used by:599
Symbol 575 TextUses:564Used by:599
Symbol 576 TextUses:564Used by:599
Symbol 577 GraphicUsed by:599
Symbol 578 GraphicUsed by:599
Symbol 579 GraphicUsed by:599
Symbol 580 GraphicUsed by:599
Symbol 581 GraphicUsed by:599
Symbol 582 GraphicUsed by:599
Symbol 583 GraphicUsed by:599
Symbol 584 GraphicUsed by:599
Symbol 585 TextUses:564Used by:599
Symbol 586 TextUses:564Used by:599
Symbol 587 TextUses:564Used by:599
Symbol 588 GraphicUsed by:599
Symbol 589 GraphicUsed by:599
Symbol 590 GraphicUsed by:599
Symbol 591 GraphicUsed by:599
Symbol 592 GraphicUsed by:599
Symbol 593 TextUses:564Used by:599
Symbol 594 TextUses:564Used by:599
Symbol 595 TextUses:564Used by:599
Symbol 596 TextUses:564Used by:599
Symbol 597 TextUses:564Used by:599
Symbol 598 TextUses:564Used by:599
Symbol 599 MovieClip {ETC21_MES}Uses:563 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598Used by:Timeline
Symbol 600 GraphicUsed by:615
Symbol 601 GraphicUsed by:615
Symbol 602 GraphicUsed by:615
Symbol 603 GraphicUsed by:615
Symbol 604 GraphicUsed by:615
Symbol 605 GraphicUsed by:615
Symbol 606 GraphicUsed by:615
Symbol 607 GraphicUsed by:615
Symbol 608 GraphicUsed by:615
Symbol 609 GraphicUsed by:615
Symbol 610 GraphicUsed by:615
Symbol 611 GraphicUsed by:615
Symbol 612 GraphicUsed by:615
Symbol 613 GraphicUsed by:615
Symbol 614 GraphicUsed by:615
Symbol 615 MovieClip {ETC22_BRAIN_WASH}Uses:600 601 602 603 604 605 606 607 608 609 610 611 612 613 614Used by:Timeline
Symbol 616 GraphicUsed by:620
Symbol 617 GraphicUsed by:620
Symbol 618 GraphicUsed by:620
Symbol 619 GraphicUsed by:620
Symbol 620 MovieClip {ETC23_BOMB_EFFECT}Uses:616 617 618 619Used by:Timeline
Symbol 621 GraphicUsed by:624
Symbol 622 GraphicUsed by:624
Symbol 623 GraphicUsed by:624
Symbol 624 MovieClip {ETC24_FIRE_BALL}Uses:621 622 623Used by:Timeline
Symbol 625 MovieClip {ETC25_SHURIKEN}Uses:43Used by:Timeline
Symbol 626 GraphicUsed by:627
Symbol 627 MovieClip {ETC26_FIRE_EFFECT}Uses:626Used by:Timeline
Symbol 628 GraphicUsed by:629
Symbol 629 MovieClip {ETC27_SNIPE}Uses:628Used by:Timeline
Symbol 630 MovieClip {ETC28_MAP_WAR}Uses:432Used by:Timeline
Symbol 631 GraphicUsed by:637
Symbol 632 GraphicUsed by:637
Symbol 633 GraphicUsed by:637
Symbol 634 GraphicUsed by:637
Symbol 635 GraphicUsed by:637
Symbol 636 GraphicUsed by:637
Symbol 637 MovieClip {ETC29_MAP_WAR_NOW}Uses:631 632 633 634 635 636Used by:Timeline
Symbol 638 GraphicUsed by:641
Symbol 639 GraphicUsed by:641
Symbol 640 GraphicUsed by:641
Symbol 641 MovieClip {ETC30_MAP_INFO}Uses:638 639 640Used by:Timeline
Symbol 642 GraphicUsed by:644
Symbol 643 GraphicUsed by:644
Symbol 644 MovieClip {ETC31_SIEN}Uses:642 480 643Used by:Timeline
Symbol 645 GraphicUses:64Used by:693
Symbol 646 GraphicUses:66Used by:693
Symbol 647 GraphicUses:68Used by:693
Symbol 648 GraphicUses:70Used by:693
Symbol 649 GraphicUses:72Used by:693
Symbol 650 GraphicUses:74Used by:693
Symbol 651 GraphicUses:76Used by:693
Symbol 652 GraphicUses:78Used by:693
Symbol 653 GraphicUses:80Used by:693
Symbol 654 GraphicUses:82Used by:693
Symbol 655 GraphicUses:84Used by:693
Symbol 656 GraphicUses:86Used by:693
Symbol 657 GraphicUses:88Used by:693
Symbol 658 GraphicUses:90Used by:693
Symbol 659 GraphicUses:92Used by:693
Symbol 660 GraphicUses:94Used by:693
Symbol 661 GraphicUses:96Used by:693
Symbol 662 GraphicUses:98Used by:693
Symbol 663 GraphicUses:100Used by:693
Symbol 664 GraphicUses:102Used by:693
Symbol 665 GraphicUses:104Used by:693
Symbol 666 GraphicUses:106Used by:693
Symbol 667 GraphicUses:108Used by:693
Symbol 668 GraphicUses:110Used by:693
Symbol 669 GraphicUses:112Used by:693
Symbol 670 GraphicUses:114Used by:693
Symbol 671 GraphicUses:116Used by:693
Symbol 672 GraphicUses:118Used by:693
Symbol 673 GraphicUses:120Used by:693
Symbol 674 GraphicUses:122Used by:693
Symbol 675 GraphicUses:124Used by:693
Symbol 676 GraphicUses:126Used by:693
Symbol 677 GraphicUses:128Used by:693
Symbol 678 GraphicUses:130Used by:693
Symbol 679 GraphicUses:132Used by:693
Symbol 680 GraphicUses:134Used by:693
Symbol 681 GraphicUses:136Used by:693
Symbol 682 GraphicUses:138Used by:693
Symbol 683 GraphicUses:140Used by:693
Symbol 684 GraphicUses:142Used by:693
Symbol 685 GraphicUses:144Used by:693
Symbol 686 GraphicUses:146Used by:693
Symbol 687 GraphicUses:148Used by:693
Symbol 688 GraphicUses:150Used by:693
Symbol 689 GraphicUses:152Used by:693
Symbol 690 GraphicUses:154Used by:693
Symbol 691 GraphicUses:156Used by:693
Symbol 692 GraphicUsed by:693
Symbol 693 MovieClip {TDW_E__fla.Timeline_180}Uses:645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692Used by:695 1186 1240 1243
Symbol 694 GraphicUsed by:695
Symbol 695 MovieClip {ETC32_KEN_DEAD}Uses:693 694Used by:Timeline
Symbol 696 GraphicUsed by:697
Symbol 697 MovieClip {ETC33_TURN_START}Uses:505 696Used by:Timeline
Symbol 698 GraphicUsed by:699
Symbol 699 MovieClip {ETC34_PLAYER_START}Uses:698Used by:Timeline
Symbol 700 GraphicUsed by:701
Symbol 701 MovieClip {ETC35_WAR_START}Uses:700Used by:Timeline
Symbol 702 GraphicUsed by:711
Symbol 703 GraphicUsed by:711 717 723
Symbol 704 GraphicUsed by:711 717 723
Symbol 705 GraphicUsed by:711 717 723
Symbol 706 GraphicUsed by:711 717 723
Symbol 707 GraphicUsed by:711
Symbol 708 GraphicUsed by:711
Symbol 709 GraphicUsed by:711
Symbol 710 GraphicUsed by:711
Symbol 711 MovieClip {TDW_E__fla.Timeline_187}Uses:702 703 704 705 706 707 708 709 710Used by:724
Symbol 712 GraphicUsed by:717
Symbol 713 GraphicUsed by:717
Symbol 714 GraphicUsed by:717
Symbol 715 GraphicUsed by:717
Symbol 716 GraphicUsed by:717
Symbol 717 MovieClip {TDW_E__fla.Timeline_188}Uses:712 703 704 705 706 713 714 715 716Used by:724
Symbol 718 GraphicUsed by:723
Symbol 719 GraphicUsed by:723
Symbol 720 GraphicUsed by:723
Symbol 721 GraphicUsed by:723
Symbol 722 GraphicUsed by:723
Symbol 723 MovieClip {TDW_E__fla.Timeline_189}Uses:718 703 704 705 706 719 720 721 722Used by:724
Symbol 724 MovieClip {BLD01_WALL}Uses:711 10 717 723Used by:Timeline
Symbol 725 GraphicUsed by:726
Symbol 726 MovieClip {BLD02_TOWER}Uses:725 474 10Used by:Timeline
Symbol 727 GraphicUsed by:743
Symbol 728 GraphicUsed by:729
Symbol 729 MovieClipUses:728Used by:743 888
Symbol 730 GraphicUsed by:743
Symbol 731 GraphicUsed by:732
Symbol 732 MovieClipUses:731Used by:743 888
Symbol 733 GraphicUsed by:743
Symbol 734 GraphicUsed by:735
Symbol 735 MovieClipUses:734Used by:743
Symbol 736 GraphicUsed by:743
Symbol 737 GraphicUsed by:743
Symbol 738 GraphicUsed by:743
Symbol 739 GraphicUsed by:743
Symbol 740 GraphicUsed by:743
Symbol 741 GraphicUsed by:743
Symbol 742 GraphicUsed by:743
Symbol 743 MovieClip {UNIT01_KEN}Uses:727 10 729 730 732 733 735 736 737 738 739 740 21 741 742Used by:Timeline
Symbol 744 GraphicUsed by:758
Symbol 745 GraphicUsed by:758
Symbol 746 MovieClipUses:477Used by:758
Symbol 747 GraphicUsed by:758
Symbol 748 GraphicUsed by:758
Symbol 749 GraphicUsed by:758
Symbol 750 GraphicUsed by:758
Symbol 751 GraphicUsed by:758
Symbol 752 GraphicUsed by:758
Symbol 753 GraphicUsed by:758
Symbol 754 GraphicUsed by:758
Symbol 755 GraphicUsed by:758
Symbol 756 GraphicUsed by:758
Symbol 757 GraphicUsed by:758
Symbol 758 MovieClip {UNIT02_YUMI}Uses:744 10 745 746 747 748 749 750 751 752 753 754 755 756 21 757Used by:Timeline
Symbol 759 GraphicUsed by:765
Symbol 760 GraphicUsed by:765
Symbol 761 GraphicUsed by:765
Symbol 762 GraphicUsed by:765
Symbol 763 GraphicUsed by:765
Symbol 764 GraphicUsed by:765
Symbol 765 MovieClip {UNIT03_TATE}Uses:759 10 760 761 762 763 21 764Used by:Timeline
Symbol 766 GraphicUsed by:781
Symbol 767 GraphicUsed by:781
Symbol 768 GraphicUsed by:781
Symbol 769 GraphicUsed by:781
Symbol 770 GraphicUsed by:771
Symbol 771 MovieClipUses:770Used by:781
Symbol 772 GraphicUsed by:781
Symbol 773 GraphicUsed by:781
Symbol 774 GraphicUsed by:781
Symbol 775 GraphicUsed by:781
Symbol 776 GraphicUsed by:781
Symbol 777 GraphicUsed by:781
Symbol 778 GraphicUsed by:781
Symbol 779 GraphicUsed by:781
Symbol 780 GraphicUsed by:781
Symbol 781 MovieClip {UNIT04_YARI}Uses:766 767 768 10 769 771 772 773 774 775 776 777 778 21 779 780Used by:Timeline
Symbol 782 GraphicUsed by:792
Symbol 783 GraphicUsed by:792
Symbol 784 GraphicUsed by:792
Symbol 785 GraphicUsed by:792
Symbol 786 GraphicUsed by:792
Symbol 787 GraphicUsed by:792
Symbol 788 GraphicUsed by:792
Symbol 789 GraphicUsed by:792
Symbol 790 GraphicUsed by:792
Symbol 791 GraphicUsed by:792
Symbol 792 MovieClip {UNIT05_HEAL}Uses:782 783 784 785 10 786 787 788 789 21 790 791Used by:Timeline
Symbol 793 GraphicUsed by:806
Symbol 794 GraphicUsed by:806
Symbol 795 GraphicUsed by:806
Symbol 796 GraphicUsed by:806
Symbol 797 GraphicUsed by:806
Symbol 798 GraphicUsed by:806
Symbol 799 GraphicUsed by:806
Symbol 800 GraphicUsed by:806
Symbol 801 GraphicUsed by:806
Symbol 802 GraphicUsed by:806
Symbol 803 GraphicUsed by:806
Symbol 804 GraphicUsed by:806
Symbol 805 GraphicUsed by:806
Symbol 806 MovieClip {UNIT06_REPAIR}Uses:793 794 795 10 796 797 798 799 800 801 802 803 21 804 805Used by:Timeline
Symbol 807 GraphicUsed by:827
Symbol 808 GraphicUsed by:827
Symbol 809 GraphicUsed by:827
Symbol 810 GraphicUsed by:827
Symbol 811 GraphicUsed by:827
Symbol 812 GraphicUsed by:827
Symbol 813 GraphicUsed by:827
Symbol 814 GraphicUsed by:827
Symbol 815 GraphicUsed by:827
Symbol 816 GraphicUsed by:827
Symbol 817 GraphicUsed by:827
Symbol 818 GraphicUsed by:827
Symbol 819 GraphicUsed by:827
Symbol 820 GraphicUsed by:827
Symbol 821 GraphicUsed by:827
Symbol 822 GraphicUsed by:827
Symbol 823 GraphicUsed by:827
Symbol 824 GraphicUsed by:827
Symbol 825 GraphicUsed by:827
Symbol 826 GraphicUsed by:827
Symbol 827 MovieClip {UNIT07_NIN}Uses:807 808 809 10 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 21 23 826Used by:Timeline
Symbol 828 GraphicUsed by:842
Symbol 829 GraphicUsed by:842
Symbol 830 GraphicUsed by:842
Symbol 831 GraphicUsed by:842
Symbol 832 GraphicUsed by:842
Symbol 833 GraphicUsed by:842
Symbol 834 GraphicUsed by:842
Symbol 835 GraphicUsed by:842
Symbol 836 GraphicUsed by:842
Symbol 837 GraphicUsed by:842
Symbol 838 GraphicUsed by:842
Symbol 839 GraphicUsed by:842
Symbol 840 GraphicUsed by:842
Symbol 841 GraphicUsed by:842
Symbol 842 MovieClip {UNIT08_FIRE}Uses:828 829 830 831 10 832 833 834 835 836 837 838 839 840 21 23 841Used by:Timeline
Symbol 843 GraphicUsed by:855
Symbol 844 GraphicUsed by:855
Symbol 845 GraphicUsed by:855
Symbol 846 GraphicUsed by:855
Symbol 847 GraphicUsed by:855
Symbol 848 GraphicUsed by:855
Symbol 849 GraphicUsed by:855
Symbol 850 GraphicUsed by:855
Symbol 851 GraphicUsed by:855
Symbol 852 GraphicUsed by:855
Symbol 853 GraphicUsed by:855
Symbol 854 GraphicUsed by:855
Symbol 855 MovieClip {UNIT09_SNIPER}Uses:843 844 845 846 10 847 848 849 850 851 852 853 854 21 23Used by:Timeline
Symbol 856 GraphicUsed by:873
Symbol 857 GraphicUsed by:873
Symbol 858 GraphicUsed by:873
Symbol 859 GraphicUsed by:873
Symbol 860 GraphicUsed by:873
Symbol 861 GraphicUsed by:873
Symbol 862 GraphicUsed by:873
Symbol 863 GraphicUsed by:873
Symbol 864 GraphicUsed by:873
Symbol 865 GraphicUsed by:873
Symbol 866 GraphicUsed by:873
Symbol 867 GraphicUsed by:873
Symbol 868 GraphicUsed by:873
Symbol 869 GraphicUsed by:873
Symbol 870 GraphicUsed by:873
Symbol 871 GraphicUsed by:873
Symbol 872 GraphicUsed by:873
Symbol 873 MovieClip {UNIT10_KNIGHT}Uses:856 857 858 10 859 860 861 862 863 864 865 866 867 868 869 870 21 871 872Used by:Timeline
Symbol 874 GraphicUsed by:888
Symbol 875 GraphicUsed by:888
Symbol 876 GraphicUsed by:888
Symbol 877 GraphicUsed by:888
Symbol 878 GraphicUsed by:888
Symbol 879 GraphicUsed by:888
Symbol 880 GraphicUsed by:888
Symbol 881 GraphicUsed by:888
Symbol 882 GraphicUsed by:888
Symbol 883 GraphicUsed by:888
Symbol 884 GraphicUsed by:888
Symbol 885 GraphicUsed by:888
Symbol 886 GraphicUsed by:888
Symbol 887 GraphicUsed by:888
Symbol 888 MovieClip {UNIT11_HONE}Uses:874 875 10 729 876 877 732 878 879 880 881 882 883 884 885 21 886 887Used by:Timeline
Symbol 889 GraphicUsed by:916
Symbol 890 GraphicUsed by:916
Symbol 891 GraphicUsed by:916
Symbol 892 GraphicUsed by:916
Symbol 893 GraphicUsed by:916
Symbol 894 GraphicUsed by:916
Symbol 895 GraphicUsed by:916
Symbol 896 GraphicUsed by:916
Symbol 897 GraphicUsed by:916
Symbol 898 GraphicUsed by:916
Symbol 899 GraphicUsed by:916
Symbol 900 GraphicUsed by:916
Symbol 901 GraphicUsed by:916
Symbol 902 GraphicUsed by:916
Symbol 903 GraphicUsed by:916
Symbol 904 GraphicUsed by:916
Symbol 905 GraphicUsed by:916
Symbol 906 GraphicUsed by:916
Symbol 907 GraphicUsed by:916
Symbol 908 GraphicUsed by:916
Symbol 909 GraphicUsed by:916
Symbol 910 GraphicUsed by:916
Symbol 911 GraphicUsed by:916
Symbol 912 GraphicUsed by:916
Symbol 913 GraphicUsed by:916 1347
Symbol 914 GraphicUsed by:916 1347
Symbol 915 GraphicUsed by:916
Symbol 916 MovieClip {UNIT12_BIG}Uses:889 890 891 10 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915Used by:Timeline
Symbol 917 GraphicUsed by:919
Symbol 918 GraphicUsed by:919
Symbol 919 MovieClip {MOU_C}Uses:917 918Used by:Timeline
Symbol 920 GraphicUsed by:921
Symbol 921 MovieClipUses:920Used by:939
Symbol 922 GraphicUsed by:938
Symbol 923 GraphicUsed by:938
Symbol 924 GraphicUsed by:938
Symbol 925 GraphicUsed by:938
Symbol 926 GraphicUsed by:938
Symbol 927 GraphicUsed by:938
Symbol 928 GraphicUsed by:938
Symbol 929 GraphicUsed by:938
Symbol 930 GraphicUsed by:938
Symbol 931 GraphicUsed by:938
Symbol 932 GraphicUsed by:938
Symbol 933 GraphicUsed by:938
Symbol 934 GraphicUsed by:938
Symbol 935 GraphicUsed by:938
Symbol 936 GraphicUsed by:938
Symbol 937 GraphicUsed by:938
Symbol 938 MovieClip {map_unit_waku}Uses:922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937Used by:939
Symbol 939 MovieClip {MAP_SET_UNIT}Uses:921 938 432Used by:Timeline
Symbol 940 GraphicUsed by:1056
Symbol 941 GraphicUsed by:951
Symbol 942 GraphicUsed by:951
Symbol 943 GraphicUsed by:951
Symbol 944 GraphicUsed by:951
Symbol 945 GraphicUsed by:951
Symbol 946 GraphicUsed by:951
Symbol 947 GraphicUsed by:951
Symbol 948 GraphicUsed by:951
Symbol 949 GraphicUsed by:951
Symbol 950 GraphicUsed by:951
Symbol 951 MovieClip {TDW_E__fla.Timeline_213}Uses:941 942 943 944 945 946 947 948 949 950Used by:1056
Symbol 952 GraphicUsed by:1056
Symbol 953 GraphicUsed by:954
Symbol 954 MovieClipUses:953Used by:1016
Symbol 955 TextUses:564Used by:1016
Symbol 956 TextUses:564Used by:1016
Symbol 957 GraphicUsed by:968
Symbol 958 GraphicUsed by:968
Symbol 959 GraphicUsed by:968
Symbol 960 GraphicUsed by:968
Symbol 961 GraphicUsed by:968
Symbol 962 GraphicUsed by:968
Symbol 963 GraphicUsed by:968
Symbol 964 GraphicUsed by:968
Symbol 965 GraphicUsed by:968
Symbol 966 GraphicUsed by:968
Symbol 967 GraphicUsed by:968
Symbol 968 MovieClip {TDW_E__fla.Timeline_216}Uses:957 958 959 960 961 962 963 964 965 966 967Used by:1016
Symbol 969 TextUses:564Used by:1016
Symbol 970 TextUses:564Used by:1016
Symbol 971 TextUses:564Used by:1016
Symbol 972 TextUses:564Used by:1016
Symbol 973 TextUses:564Used by:1016
Symbol 974 TextUses:564Used by:1016
Symbol 975 TextUses:564Used by:1016
Symbol 976 TextUses:564Used by:1016
Symbol 977 TextUses:564Used by:1016
Symbol 978 TextUses:564Used by:1016
Symbol 979 TextUses:564Used by:1016
Symbol 980 TextUses:564Used by:1016
Symbol 981 TextUses:564Used by:1016
Symbol 982 TextUses:564Used by:1016
Symbol 983 TextUses:564Used by:1016
Symbol 984 TextUses:564Used by:1016
Symbol 985 TextUses:564Used by:1016
Symbol 986 TextUses:564Used by:1016
Symbol 987 TextUses:564Used by:1016
Symbol 988 TextUses:564Used by:1016
Symbol 989 TextUses:564Used by:1016
Symbol 990 TextUses:564Used by:1016
Symbol 991 TextUses:564Used by:1016
Symbol 992 TextUses:564Used by:1016
Symbol 993 TextUses:564Used by:1016
Symbol 994 TextUses:564Used by:1016
Symbol 995 TextUses:564Used by:1016
Symbol 996 TextUses:564Used by:1016
Symbol 997 TextUses:564Used by:1016
Symbol 998 TextUses:564Used by:1016
Symbol 999 TextUses:564Used by:1016
Symbol 1000 TextUses:564Used by:1016
Symbol 1001 TextUses:564Used by:1016
Symbol 1002 TextUses:564Used by:1016
Symbol 1003 TextUses:564Used by:1016
Symbol 1004 TextUses:564Used by:1016
Symbol 1005 TextUses:564Used by:1016
Symbol 1006 TextUses:564Used by:1016
Symbol 1007 TextUses:564Used by:1016
Symbol 1008 TextUses:564Used by:1016
Symbol 1009 TextUses:564Used by:1016
Symbol 1010 TextUses:564Used by:1016
Symbol 1011 TextUses:564Used by:1016
Symbol 1012 TextUses:564Used by:1016
Symbol 1013 TextUses:564Used by:1016
Symbol 1014 TextUses:564Used by:1016
Symbol 1015 TextUses:564Used by:1016
Symbol 1016 MovieClip {TDW_E__fla.03_214}Uses:954 955 956 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015Used by:1056 1183 1186
Symbol 1017 GraphicUsed by:1056
Symbol 1018 GraphicUsed by:1027
Symbol 1019 GraphicUsed by:1020
Symbol 1020 MovieClipUses:1019Used by:1027
Symbol 1021 GraphicUsed by:1022
Symbol 1022 MovieClipUses:1021Used by:1027 1043
Symbol 1023 GraphicUsed by:1024
Symbol 1024 MovieClipUses:1023Used by:1027 1035
Symbol 1025 GraphicUsed by:1027
Symbol 1026 GraphicUsed by:1027
Symbol 1027 MovieClip {TDW_E__fla.Timeline_217}Uses:1018 1020 1022 1024 1025 1026Used by:1056
Symbol 1028 GraphicUsed by:1035
Symbol 1029 GraphicUsed by:1035
Symbol 1030 GraphicUsed by:1035
Symbol 1031 GraphicUsed by:1035
Symbol 1032 GraphicUsed by:1035
Symbol 1033 GraphicUsed by:1035
Symbol 1034 GraphicUsed by:1035
Symbol 1035 MovieClip {TDW_E__fla.Timeline_221}Uses:1028 1024 1029 1030 1031 1032 1033 1034Used by:1056
Symbol 1036 GraphicUsed by:1043
Symbol 1037 GraphicUsed by:1043
Symbol 1038 GraphicUsed by:1043 1415 1507
Symbol 1039 GraphicUsed by:1043
Symbol 1040 GraphicUsed by:1043
Symbol 1041 GraphicUsed by:1043
Symbol 1042 GraphicUsed by:1043
Symbol 1043 MovieClip {TDW_E__fla.Timeline_222}Uses:1036 1022 1037 1038 1039 1040 1041 1042Used by:1056
Symbol 1044 GraphicUsed by:1056
Symbol 1045 GraphicUsed by:1055
Symbol 1046 GraphicUsed by:1055
Symbol 1047 GraphicUsed by:1055
Symbol 1048 GraphicUsed by:1055
Symbol 1049 GraphicUsed by:1055
Symbol 1050 GraphicUsed by:1055
Symbol 1051 GraphicUsed by:1055
Symbol 1052 GraphicUsed by:1055
Symbol 1053 GraphicUsed by:1055
Symbol 1054 GraphicUsed by:1055
Symbol 1055 MovieClip {TDW_E__fla.Timeline_223}Uses:1045 1046 1047 1048 1049 1050 1051 1052 1053 1054Used by:1056
Symbol 1056 MovieClip {menu_bg}Uses:940 951 159 952 1016 1017 1027 1035 1043 1044 1055Used by:Timeline
Symbol 1057 GraphicUsed by:1058
Symbol 1058 MovieClip {confirm_balloon}Uses:1057Used by:Timeline
Symbol 1059 GraphicUsed by:1180
Symbol 1060 GraphicUses:64Used by:1108 1447
Symbol 1061 GraphicUses:66Used by:1108
Symbol 1062 GraphicUses:68Used by:1108
Symbol 1063 GraphicUses:70Used by:1108 1447
Symbol 1064 GraphicUses:72Used by:1108
Symbol 1065 GraphicUses:74Used by:1108 1447
Symbol 1066 GraphicUses:76Used by:1108
Symbol 1067 GraphicUses:78Used by:1108 1447
Symbol 1068 GraphicUses:80Used by:1108 1447
Symbol 1069 GraphicUses:82Used by:1108 1447
Symbol 1070 GraphicUses:84Used by:1108
Symbol 1071 GraphicUses:86Used by:1108 1447
Symbol 1072 GraphicUses:88Used by:1108 1447
Symbol 1073 GraphicUses:90Used by:1108 1447
Symbol 1074 GraphicUses:92Used by:1108
Symbol 1075 GraphicUses:94Used by:1108 1447
Symbol 1076 GraphicUses:96Used by:1108 1447
Symbol 1077 GraphicUses:98Used by:1108 1447
Symbol 1078 GraphicUses:100Used by:1108
Symbol 1079 GraphicUses:102Used by:1108
Symbol 1080 GraphicUses:104Used by:1108 1447
Symbol 1081 GraphicUses:106Used by:1108
Symbol 1082 GraphicUses:108Used by:1108
Symbol 1083 GraphicUses:110Used by:1108 1447
Symbol 1084 GraphicUses:112Used by:1108 1447
Symbol 1085 GraphicUses:114Used by:1108
Symbol 1086 GraphicUses:116Used by:1108 1447
Symbol 1087 GraphicUses:118Used by:1108 1447
Symbol 1088 GraphicUses:120Used by:1108 1447
Symbol 1089 GraphicUses:122Used by:1108
Symbol 1090 GraphicUses:124Used by:1108 1447
Symbol 1091 GraphicUses:126Used by:1108 1447
Symbol 1092 GraphicUses:128Used by:1108 1447
Symbol 1093 GraphicUses:130Used by:1108 1447
Symbol 1094 GraphicUses:132Used by:1108
Symbol 1095 GraphicUses:134Used by:1108 1447
Symbol 1096 GraphicUses:136Used by:1108 1447
Symbol 1097 GraphicUses:138Used by:1108 1447
Symbol 1098 GraphicUses:140Used by:1108 1447
Symbol 1099 GraphicUses:142Used by:1108
Symbol 1100 GraphicUses:144Used by:1108 1447
Symbol 1101 GraphicUses:146Used by:1108 1447
Symbol 1102 GraphicUses:148Used by:1108 1447
Symbol 1103 GraphicUses:150Used by:1108 1447
Symbol 1104 GraphicUses:152Used by:1108 1447
Symbol 1105 GraphicUses:154Used by:1108 1447
Symbol 1106 GraphicUses:156Used by:1108 1447
Symbol 1107 GraphicUsed by:1108
Symbol 1108 MovieClip {TDW_E__fla.Timeline_226}Uses:1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107Used by:1180
Symbol 1109 GraphicUsed by:1157
Symbol 1110 GraphicUsed by:1157
Symbol 1111 GraphicUsed by:1157
Symbol 1112 GraphicUsed by:1157
Symbol 1113 GraphicUsed by:1157
Symbol 1114 GraphicUsed by:1157
Symbol 1115 GraphicUsed by:1157
Symbol 1116 GraphicUsed by:1157
Symbol 1117 GraphicUsed by:1157
Symbol 1118 GraphicUsed by:1157
Symbol 1119 GraphicUsed by:1157
Symbol 1120 GraphicUsed by:1157
Symbol 1121 GraphicUsed by:1157
Symbol 1122 GraphicUsed by:1157
Symbol 1123 GraphicUsed by:1157
Symbol 1124 GraphicUsed by:1157
Symbol 1125 GraphicUsed by:1157
Symbol 1126 GraphicUsed by:1157
Symbol 1127 GraphicUsed by:1157
Symbol 1128 GraphicUsed by:1157
Symbol 1129 GraphicUsed by:1157
Symbol 1130 GraphicUsed by:1157
Symbol 1131 GraphicUsed by:1157
Symbol 1132 GraphicUsed by:1157
Symbol 1133 GraphicUsed by:1157
Symbol 1134 GraphicUsed by:1157
Symbol 1135 GraphicUsed by:1157
Symbol 1136 GraphicUsed by:1157
Symbol 1137 GraphicUsed by:1157
Symbol 1138 GraphicUsed by:1157
Symbol 1139 GraphicUsed by:1157
Symbol 1140 GraphicUsed by:1157
Symbol 1141 GraphicUsed by:1157
Symbol 1142 GraphicUsed by:1157
Symbol 1143 GraphicUsed by:1157
Symbol 1144 GraphicUsed by:1157
Symbol 1145 GraphicUsed by:1157
Symbol 1146 GraphicUsed by:1157
Symbol 1147 GraphicUsed by:1157
Symbol 1148 GraphicUsed by:1157
Symbol 1149 GraphicUsed by:1157
Symbol 1150 GraphicUsed by:1157
Symbol 1151 GraphicUsed by:1157
Symbol 1152 GraphicUsed by:1157
Symbol 1153 GraphicUsed by:1157
Symbol 1154 GraphicUsed by:1157
Symbol 1155 GraphicUsed by:1157
Symbol 1156 GraphicUsed by:1157
Symbol 1157 MovieClip {TDW_E__fla.Timeline_227}Uses:1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156Used by:1180
Symbol 1158 GraphicUsed by:1168
Symbol 1159 GraphicUsed by:1168
Symbol 1160 GraphicUsed by:1168
Symbol 1161 GraphicUsed by:1168
Symbol 1162 GraphicUsed by:1168
Symbol 1163 GraphicUsed by:1168
Symbol 1164 GraphicUsed by:1168
Symbol 1165 GraphicUsed by:1168
Symbol 1166 GraphicUsed by:1168
Symbol 1167 GraphicUsed by:1168
Symbol 1168 MovieClip {TDW_E__fla.Timeline_228}Uses:1158 1159 1160 1161 1162 1163 1164 1165 1166 1167Used by:1180
Symbol 1169 GraphicUsed by:1170 1299 1514 1517 1521 1530
Symbol 1170 MovieClipUses:1169Used by:1179
Symbol 1171 GraphicUsed by:1175
Symbol 1172 GraphicUsed by:1175
Symbol 1173 GraphicUsed by:1175
Symbol 1174 GraphicUsed by:1175
Symbol 1175 MovieClip {TDW_E__fla.Timeline_231}Uses:1171 1172 1173 1174Used by:1179
Symbol 1176 GraphicUsed by:1177
Symbol 1177 MovieClipUses:1176Used by:1179
Symbol 1178 GraphicUsed by:1179
Symbol 1179 MovieClip {TDW_E__fla.Timeline_229}Uses:1170 1175 1177 1178Used by:1180
Symbol 1180 MovieClip {battle_bg}Uses:1059 1108 1157 1168 1179Used by:Timeline
Symbol 1181 GraphicUsed by:1183
Symbol 1182 GraphicUsed by:1183
Symbol 1183 MovieClip {tac_bg}Uses:1181 1016 1182Used by:Timeline
Symbol 1184 GraphicUsed by:1186
Symbol 1185 GraphicUsed by:1186
Symbol 1186 MovieClip {select_bg}Uses:1184 693 48 1016 1185Used by:Timeline
Symbol 1187 GraphicUsed by:1188
Symbol 1188 MovieClip {slide_bar}Uses:1187Used by:Timeline
Symbol 1189 MovieClip {fade_effect}Uses:165Used by:Timeline
Symbol 1190 GraphicUses:64Used by:1238
Symbol 1191 GraphicUses:66Used by:1238
Symbol 1192 GraphicUses:68Used by:1238
Symbol 1193 GraphicUses:70Used by:1238 1492
Symbol 1194 GraphicUses:72Used by:1238 1492
Symbol 1195 GraphicUses:74Used by:1238
Symbol 1196 GraphicUses:76Used by:1238
Symbol 1197 GraphicUses:78Used by:1238
Symbol 1198 GraphicUses:80Used by:1238 1492
Symbol 1199 GraphicUses:82Used by:1238
Symbol 1200 GraphicUses:84Used by:1238
Symbol 1201 GraphicUses:86Used by:1238
Symbol 1202 GraphicUses:88Used by:1238
Symbol 1203 GraphicUses:90Used by:1238
Symbol 1204 GraphicUses:92Used by:1238
Symbol 1205 GraphicUses:94Used by:1238
Symbol 1206 GraphicUses:96Used by:1238
Symbol 1207 GraphicUses:98Used by:1238
Symbol 1208 GraphicUses:100Used by:1238
Symbol 1209 GraphicUses:102Used by:1238
Symbol 1210 GraphicUses:104Used by:1238
Symbol 1211 GraphicUses:106Used by:1238
Symbol 1212 GraphicUses:108Used by:1238
Symbol 1213 GraphicUses:110Used by:1238
Symbol 1214 GraphicUses:112Used by:1238
Symbol 1215 GraphicUses:114Used by:1238
Symbol 1216 GraphicUses:116Used by:1238
Symbol 1217 GraphicUses:118Used by:1238
Symbol 1218 GraphicUses:120Used by:1238
Symbol 1219 GraphicUses:122Used by:1238 1492
Symbol 1220 GraphicUses:124Used by:1238 1492
Symbol 1221 GraphicUses:126Used by:1238
Symbol 1222 GraphicUses:128Used by:1238
Symbol 1223 GraphicUses:130Used by:1238
Symbol 1224 GraphicUses:132Used by:1238
Symbol 1225 GraphicUses:134Used by:1238
Symbol 1226 GraphicUses:136Used by:1238
Symbol 1227 GraphicUses:138Used by:1238
Symbol 1228 GraphicUses:140Used by:1238
Symbol 1229 GraphicUses:142Used by:1238
Symbol 1230 GraphicUses:144Used by:1238
Symbol 1231 GraphicUses:146Used by:1238
Symbol 1232 GraphicUses:148Used by:1238
Symbol 1233 GraphicUses:150Used by:1238
Symbol 1234 GraphicUses:152Used by:1238
Symbol 1235 GraphicUses:154Used by:1238
Symbol 1236 GraphicUses:156Used by:1238
Symbol 1237 GraphicUsed by:1238
Symbol 1238 MovieClip {TDW_E__fla.Timeline_238}Uses:1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237Used by:1240 1243
Symbol 1239 GraphicUsed by:1240
Symbol 1240 MovieClip {war_start}Uses:1238 693 1239Used by:Timeline
Symbol 1241 GraphicUsed by:1243
Symbol 1242 GraphicUsed by:1243
Symbol 1243 MovieClip {war_end}Uses:693 1238 1241 1242Used by:Timeline
Symbol 1244 GraphicUsed by:1295
Symbol 1245 Sound {WAV_ENDING}Used by:1295
Symbol 1246 Sound {WAV_GAMEOVER}Used by:1295
Symbol 1247 Sound {WAV_ALERT}Used by:1295
Symbol 1248 Sound {WAV_BOSS}Used by:1295
Symbol 1249 Sound {WAV_IKIMONO}Used by:1295
Symbol 1250 Sound {WAV_BRAKE}Used by:1295
Symbol 1251 Sound {WAV_WIND}Used by:1295
Symbol 1252 Sound {WAV_BOMB}Used by:1295
Symbol 1253 Sound {WAV_TOBI_BOMB}Used by:1295
Symbol 1254 Sound {WAV_KATANA}Used by:1295
Symbol 1255 Sound {WAV_NAGI}Used by:1295
Symbol 1256 Sound {WAV_ESCAPE}Used by:1295
Symbol 1257 Sound {WAV_METAL}Used by:1295
Symbol 1258 Sound {WAV_CANNON}Used by:1295
Symbol 1259 Sound {WAV_YARI}Used by:1295
Symbol 1260 Sound {WAV_SNIPER2}Used by:1295
Symbol 1261 Sound {WAV_SNIPER}Used by:1295
Symbol 1262 Sound {WAV_FLASH}Used by:1295
Symbol 1263 Sound {WAV_BRAIN}Used by:1295
Symbol 1264 Sound {WAV_WARCRY}Used by:1295
Symbol 1265 Sound {WAV_TAC}Used by:1295
Symbol 1266 Sound {WAV_HOLY}Used by:1295
Symbol 1267 Sound {WAV_SIZUKU_FALL}Used by:1295
Symbol 1268 Sound {WAV_SIZUKU_HIT}Used by:1295
Symbol 1269 Sound {WAV_16t_FALL}Used by:1295
Symbol 1270 Sound {WAV_16t_HIT}Used by:1295
Symbol 1271 Sound {WAV_REPAIR}Used by:1295
Symbol 1272 Sound {WAV_SHURIKEN}Used by:1295
Symbol 1273 Sound {WAV_HONE_ATTACK}Used by:1295
Symbol 1274 Sound {WAV_HONE_YARARE}Used by:1295
Symbol 1275 Sound {WAV_BUY}Used by:1295
Symbol 1276 Sound {WAV_LOSE}Used by:1295
Symbol 1277 Sound {WAV_SWING}Used by:1295
Symbol 1278 Sound {WAV_YUMI}Used by:1295
Symbol 1279 Sound {WAV_KNIGHT_SWORD}Used by:1295
Symbol 1280 Sound {WAV_EARTH}Used by:1295
Symbol 1281 Sound {WAV_HEAL}Used by:1295
Symbol 1282 Sound {WAV_FIRE_BALL}Used by:1295
Symbol 1283 Sound {WAV_FIRE_BOMB}Used by:1295
Symbol 1284 Sound {WAV_FIRE}Used by:1295
Symbol 1285 Sound {WAV_SMOKE}Used by:1295
Symbol 1286 Sound {WAV_YARARE3}Used by:1295
Symbol 1287 Sound {WAV_YARARE2}Used by:1295
Symbol 1288 Sound {WAV_YARARE1}Used by:1295
Symbol 1289 Sound {WAV_PON}Used by:1295
Symbol 1290 Sound {WAV_POKO}Used by:1295
Symbol 1291 Sound {WAV_POI}Used by:1295
Symbol 1292 Sound {WAV_DORA}Used by:1295
Symbol 1293 Sound {WAV_SAVE}Used by:1295
Symbol 1294 Sound {WAV_CLICK}Used by:1295
Symbol 1295 MovieClipUses:1244 1245 1246 1247 1248 1 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294Used by:Timeline
Symbol 1296 TextUses:564Used by:1298
Symbol 1297 GraphicUsed by:1298
Symbol 1298 MovieClip {title_bg}Uses:338 1296 1297Used by:Timeline
Symbol 1299 MovieClipUses:1169Used by:1303 1307 1311 1360 1419 1423 1497 1534
Symbol 1300 GraphicUsed by:1303
Symbol 1301 GraphicUsed by:1303
Symbol 1302 GraphicUsed by:1303
Symbol 1303 MovieClip {BTN18_START}Uses:1299 1300 1301 1302Used by:Timeline
Symbol 1304 GraphicUsed by:1307
Symbol 1305 GraphicUsed by:1307
Symbol 1306 GraphicUsed by:1307
Symbol 1307 MovieClip {BTN19_CONTINUE}Uses:1299 1304 1305 1306Used by:Timeline
Symbol 1308 GraphicUsed by:1311
Symbol 1309 GraphicUsed by:1311
Symbol 1310 GraphicUsed by:1311
Symbol 1311 MovieClip {BTN20_HELP}Uses:1299 1308 1309 1310Used by:Timeline
Symbol 1312 GraphicUsed by:1314 1354
Symbol 1313 GraphicUsed by:1314
Symbol 1314 MovieClip {TDW_E__fla.Timeline_247}Uses:1312 1313Used by:1316
Symbol 1315 GraphicUsed by:1316
Symbol 1316 MovieClip {UNIT13_YOWAI}Uses:1314 10 21 1315Used by:Timeline
Symbol 1317 GraphicUsed by:1321
Symbol 1318 GraphicUsed by:1321
Symbol 1319 GraphicUsed by:1321
Symbol 1320 GraphicUsed by:1321 1330 1336
Symbol 1321 MovieClip {ETC36_YOWAI_YARARE}Uses:1317 1318 1319 1320Used by:Timeline
Symbol 1322 GraphicUsed by:1324
Symbol 1323 GraphicUsed by:1324
Symbol 1324 MovieClip {TDW_E__fla.Timeline_250}Uses:1322 1323Used by:1326
Symbol 1325 GraphicUsed by:1326
Symbol 1326 MovieClip {UNIT15_KATAI}Uses:1324 10 21 1325Used by:Timeline
Symbol 1327 GraphicUsed by:1330
Symbol 1328 GraphicUsed by:1330
Symbol 1329 GraphicUsed by:1330
Symbol 1330 MovieClip {ETC38_KATAI_YARARE}Uses:1327 1328 1329 1320Used by:Timeline
Symbol 1331 GraphicUsed by:1332
Symbol 1332 MovieClip {ETC39_KAMINARI}Uses:1331Used by:Timeline
Symbol 1333 GraphicUsed by:1336
Symbol 1334 GraphicUsed by:1336
Symbol 1335 GraphicUsed by:1336
Symbol 1336 MovieClip {ETC37_BIRIBIRI_YARARE}Uses:1333 1334 1335 1320Used by:Timeline
Symbol 1337 GraphicUsed by:1339
Symbol 1338 GraphicUsed by:1339
Symbol 1339 MovieClip {TDW_E__fla.Timeline_256}Uses:1337 1338Used by:1347
Symbol 1340 GraphicUsed by:1347
Symbol 1341 GraphicUsed by:1347
Symbol 1342 GraphicUsed by:1347
Symbol 1343 GraphicUsed by:1347
Symbol 1344 GraphicUsed by:1347
Symbol 1345 GraphicUsed by:1347
Symbol 1346 GraphicUsed by:1347
Symbol 1347 MovieClip {UNIT16_BOSS}Uses:1339 10 1340 1341 1342 1343 1344 1345 1346 913 914Used by:Timeline
Symbol 1348 GraphicUsed by:1353
Symbol 1349 GraphicUsed by:1353
Symbol 1350 GraphicUsed by:1353
Symbol 1351 GraphicUsed by:1353
Symbol 1352 GraphicUsed by:1353
Symbol 1353 MovieClip {ETC40_BOSS_YARARE}Uses:1348 1349 1350 1351 1352Used by:Timeline
Symbol 1354 MovieClip {ETC41_SIPPAI}Uses:1312Used by:Timeline
Symbol 1355 GraphicUsed by:1356
Symbol 1356 MovieClip {ETC42_BOSS_RISE}Uses:1355Used by:Timeline
Symbol 1357 GraphicUsed by:1360
Symbol 1358 GraphicUsed by:1360
Symbol 1359 GraphicUsed by:1360
Symbol 1360 MovieClip {BTN21_GAMEOVER}Uses:1299 1357 1358 1359Used by:Timeline
Symbol 1361 GraphicUsed by:1363
Symbol 1362 GraphicUsed by:1363
Symbol 1363 MovieClip {TDW_E__fla.Timeline_262}Uses:1361 1362Used by:1364
Symbol 1364 MovieClip {BTN22_BACKTITLE}Uses:342 1363Used by:Timeline
Symbol 1365 BitmapUsed by:1366
Symbol 1366 GraphicUses:1365Used by:1415
Symbol 1367 GraphicUsed by:1415
Symbol 1368 TextUses:564Used by:1415
Symbol 1369 TextUses:564Used by:1415
Symbol 1370 GraphicUsed by:1415
Symbol 1371 TextUses:564Used by:1415
Symbol 1372 TextUses:564Used by:1415
Symbol 1373 TextUses:564Used by:1415
Symbol 1374 BitmapUsed by:1376 1508
Symbol 1375 BitmapUsed by:1376 1508
Symbol 1376 GraphicUses:1374 1375Used by:1415
Symbol 1377 TextUses:564Used by:1415
Symbol 1378 TextUses:564Used by:1415 1510
Symbol 1379 TextUses:564Used by:1415 1510
Symbol 1380 TextUses:564Used by:1415 1510
Symbol 1381 BitmapUsed by:1383
Symbol 1382 BitmapUsed by:1383
Symbol 1383 GraphicUses:1381 1382Used by:1415 1504
Symbol 1384 TextUses:564Used by:1415
Symbol 1385 TextUses:564Used by:1415 1504
Symbol 1386 TextUses:564Used by:1415 1504
Symbol 1387 BitmapUsed by:1388 1505
Symbol 1388 GraphicUses:1387Used by:1415
Symbol 1389 TextUses:564Used by:1415 1507
Symbol 1390 BitmapUsed by:1391
Symbol 1391 GraphicUses:1390Used by:1415 1507
Symbol 1392 TextUses:564Used by:1415
Symbol 1393 TextUses:564Used by:1415 1507
Symbol 1394 BitmapUsed by:1395
Symbol 1395 GraphicUses:1394Used by:1415 1504
Symbol 1396 TextUses:564Used by:1415
Symbol 1397 TextUses:564Used by:1415 1504
Symbol 1398 BitmapUsed by:1399
Symbol 1399 GraphicUses:1398Used by:1415 1504
Symbol 1400 BitmapUsed by:1402
Symbol 1401 BitmapUsed by:1402
Symbol 1402 GraphicUses:1400 1401Used by:1415 1504
Symbol 1403 TextUses:564Used by:1415
Symbol 1404 TextUses:564Used by:1415 1504
Symbol 1405 BitmapUsed by:1408
Symbol 1406 BitmapUsed by:1408
Symbol 1407 BitmapUsed by:1408
Symbol 1408 GraphicUses:1405 1406 1407Used by:1415 1504
Symbol 1409 TextUses:564Used by:1415
Symbol 1410 TextUses:564Used by:1415 1504
Symbol 1411 BitmapUsed by:1412
Symbol 1412 GraphicUses:1411Used by:1415
Symbol 1413 TextUses:564Used by:1415
Symbol 1414 TextUses:564Used by:1415
Symbol 1415 MovieClip {asobikata}Uses:6 1366 1367 1368 1369 1370 1371 1372 1373 1376 1377 1378 1379 1380 1383 1384 1385 1386 1388 1389 1391 1392 1038 1393 1395 1396 1397 1399 1402 1403 1404 1408 1409 1410 1412 1413 1414Used by:Timeline
Symbol 1416 GraphicUsed by:1419
Symbol 1417 GraphicUsed by:1419
Symbol 1418 GraphicUsed by:1419
Symbol 1419 MovieClip {BTN24_NEXT}Uses:1299 1416 1417 1418Used by:Timeline
Symbol 1420 GraphicUsed by:1423
Symbol 1421 GraphicUsed by:1423
Symbol 1422 GraphicUsed by:1423
Symbol 1423 MovieClip {BTN25_BACK}Uses:1299 1420 1421 1422Used by:Timeline
Symbol 1424 MovieClip {TDW_E__fla.Timeline_267}Uses:349 350 351Used by:1428
Symbol 1425 GraphicUsed by:1427
Symbol 1426 GraphicUsed by:1427
Symbol 1427 MovieClip {TDW_E__fla.Timeline_268}Uses:1425 1426Used by:1428
Symbol 1428 MovieClip {BTN27_HAYAOKURI}Uses:1424 1427Used by:Timeline
Symbol 1429 GraphicUsed by:1430
Symbol 1430 MovieClipUses:1429Used by:1493
Symbol 1431 GraphicUsed by:1493
Symbol 1432 GraphicUses:66Used by:1447
Symbol 1433 GraphicUses:68Used by:1447
Symbol 1434 GraphicUses:72Used by:1447
Symbol 1435 GraphicUses:76Used by:1447
Symbol 1436 GraphicUses:84Used by:1447
Symbol 1437 GraphicUses:92Used by:1447
Symbol 1438 GraphicUses:100Used by:1447
Symbol 1439 GraphicUses:102Used by:1447
Symbol 1440 GraphicUses:106Used by:1447
Symbol 1441 GraphicUses:108Used by:1447
Symbol 1442 GraphicUses:114Used by:1447
Symbol 1443 GraphicUses:122Used by:1447
Symbol 1444 GraphicUses:132Used by:1447
Symbol 1445 GraphicUses:142Used by:1447
Symbol 1446 GraphicUsed by:1447
Symbol 1447 MovieClip {TDW_E__fla.Timeline_271}Uses:1060 1432 1433 1063 1434 1065 1435 1067 1068 1069 1436 1071 1072 1073 1437 1075 1076 1077 1438 1439 1080 1440 1441 1083 1084 1442 1086 1087 1088 1443 1090 1091 1092 1093 1444 1095 1096 1097 1098 1445 1100 1101 1102 1103 1104 1105 1106 1446Used by:1493
Symbol 1448 GraphicUses:64Used by:1492
Symbol 1449 GraphicUsed by:1492
Symbol 1450 GraphicUses:66Used by:1492
Symbol 1451 GraphicUses:68Used by:1492
Symbol 1452 GraphicUses:74Used by:1492
Symbol 1453 GraphicUses:76Used by:1492
Symbol 1454 GraphicUses:78Used by:1492
Symbol 1455 GraphicUses:82Used by:1492
Symbol 1456 GraphicUses:84Used by:1492
Symbol 1457 GraphicUses:86Used by:1492
Symbol 1458 GraphicUses:88Used by:1492
Symbol 1459 GraphicUses:90Used by:1492
Symbol 1460 GraphicUses:92Used by:1492
Symbol 1461 GraphicUses:94Used by:1492
Symbol 1462 GraphicUses:96Used by:1492
Symbol 1463 GraphicUses:98Used by:1492
Symbol 1464 GraphicUses:100Used by:1492
Symbol 1465 GraphicUses:102Used by:1492
Symbol 1466 GraphicUses:104Used by:1492
Symbol 1467 GraphicUses:106Used by:1492
Symbol 1468 GraphicUses:108Used by:1492
Symbol 1469 GraphicUses:110Used by:1492
Symbol 1470 GraphicUses:112Used by:1492
Symbol 1471 GraphicUses:114Used by:1492
Symbol 1472 GraphicUses:116Used by:1492
Symbol 1473 GraphicUses:118Used by:1492
Symbol 1474 GraphicUses:120Used by:1492
Symbol 1475 GraphicUses:126Used by:1492
Symbol 1476 GraphicUses:128Used by:1492
Symbol 1477 GraphicUses:130Used by:1492
Symbol 1478 GraphicUses:132Used by:1492
Symbol 1479 GraphicUses:134Used by:1492
Symbol 1480 GraphicUses:136Used by:1492
Symbol 1481 GraphicUses:138Used by:1492
Symbol 1482 GraphicUses:140Used by:1492
Symbol 1483 GraphicUses:142Used by:1492
Symbol 1484 GraphicUses:144Used by:1492
Symbol 1485 GraphicUses:146Used by:1492
Symbol 1486 GraphicUses:148Used by:1492
Symbol 1487 GraphicUses:150Used by:1492
Symbol 1488 GraphicUses:152Used by:1492
Symbol 1489 GraphicUses:154Used by:1492
Symbol 1490 GraphicUses:156Used by:1492
Symbol 1491 GraphicUsed by:1492
Symbol 1492 MovieClip {TDW_E__fla.Timeline_272}Uses:1448 1449 1450 1451 1193 1194 1452 1453 1454 1198 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1219 1220 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491Used by:1493
Symbol 1493 MovieClip {ending}Uses:6 1430 1431 1447 1492Used by:Timeline
Symbol 1494 GraphicUsed by:1497
Symbol 1495 GraphicUsed by:1497
Symbol 1496 GraphicUsed by:1497
Symbol 1497 MovieClip {BTN26_ENDING}Uses:1299 1494 1495 1496Used by:Timeline
Symbol 1498 GraphicUsed by:1499 1527
Symbol 1499 MovieClip {BTN_HELP}Uses:352 1498Used by:Timeline
Symbol 1500 TextUses:564Used by:1504
Symbol 1501 TextUses:564Used by:1504
Symbol 1502 TextUses:564Used by:1504
Symbol 1503 TextUses:564Used by:1504
Symbol 1504 MovieClip {asobikata_1}Uses:6 1383 1500 1385 1386 1395 1501 1397 1399 1402 1502 1404 1408 1503 1410Used by:Timeline
Symbol 1505 GraphicUses:1387Used by:1507
Symbol 1506 TextUses:564Used by:1507
Symbol 1507 MovieClip {asobikata_3}Uses:1505 1389 1391 1506 1038 1393Used by:Timeline
Symbol 1508 GraphicUses:1374 1375Used by:1510
Symbol 1509 TextUses:564Used by:1510
Symbol 1510 MovieClip {asobikata_2}Uses:1508 1509 1378 1379 1380Used by:Timeline
Symbol 1511 GraphicUsed by:1514
Symbol 1512 GraphicUsed by:1514
Symbol 1513 GraphicUsed by:1514
Symbol 1514 Button {ad_zigza}Uses:1511 1512 1513 1169Used by:Timeline
Symbol 1515 GraphicUsed by:1517
Symbol 1516 GraphicUsed by:1517
Symbol 1517 Button {ad_Coolbuddy}Uses:1515 1516 1169Used by:Timeline
Symbol 1518 GraphicUsed by:1521
Symbol 1519 GraphicUsed by:1521
Symbol 1520 GraphicUsed by:1521
Symbol 1521 Button {ad_Coolbuddy2}Uses:1518 1519 1520 1169Used by:Timeline
Symbol 1522 GraphicUsed by:1526
Symbol 1523 TextUses:564Used by:1526
Symbol 1524 GraphicUsed by:1526
Symbol 1525 GraphicUsed by:1526
Symbol 1526 Button {ad_Coolbuddy3}Uses:1522 1523 1524 1525Used by:Timeline
Symbol 1527 MovieClip {BTN_HELP2}Uses:352 1498Used by:Timeline
Symbol 1528 TextUses:564Used by:1530
Symbol 1529 TextUses:564Used by:1530
Symbol 1530 Button {ad_Coolbuddy4}Uses:1528 1529 1169Used by:Timeline
Symbol 1531 GraphicUsed by:1534
Symbol 1532 GraphicUsed by:1534
Symbol 1533 GraphicUsed by:1534
Symbol 1534 MovieClip {BTN23_TAC_CANCEL}Uses:1299 1531 1532 1533Used by:Timeline

Instance Names

"bar1"Frame 2Symbol 26 MovieClip
"bar2"Frame 2Symbol 26 MovieClip
"bar_in"Symbol 10 MovieClip {HP_BAR} Frame 1Symbol 8 MovieClip {TDW_E__fla.00HP_185}
"hp_bar"Symbol 24 MovieClip {UNIT14_BIRIBIRI} Frame 1Symbol 10 MovieClip {HP_BAR}
"b1"Symbol 62 MovieClip {TDW_E__fla.05_7} Frame 1Symbol 48 MovieClip {TDW_E__fla.Timeline_8}
"b3"Symbol 62 MovieClip {TDW_E__fla.05_7} Frame 1Symbol 60 MovieClip {bld_unit}
"body"Symbol 160 MovieClip {TDW_E__fla.01_4} Frame 1Symbol 32 MovieClip
"unit"Symbol 160 MovieClip {TDW_E__fla.01_4} Frame 1Symbol 35 MovieClip
"house"Symbol 160 MovieClip {TDW_E__fla.01_4} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 160 MovieClip {TDW_E__fla.01_4} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 164 MovieClip {TDW_E__fla.02_11} Frame 1Symbol 162 MovieClip
"unit"Symbol 164 MovieClip {TDW_E__fla.02_11} Frame 1Symbol 35 MovieClip
"house"Symbol 164 MovieClip {TDW_E__fla.02_11} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 164 MovieClip {TDW_E__fla.02_11} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 168 MovieClip {TDW_E__fla.03_13} Frame 1Symbol 166 MovieClip
"unit"Symbol 168 MovieClip {TDW_E__fla.03_13} Frame 1Symbol 35 MovieClip
"house"Symbol 168 MovieClip {TDW_E__fla.03_13} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 168 MovieClip {TDW_E__fla.03_13} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 172 MovieClip {TDW_E__fla.04_15} Frame 1Symbol 170 MovieClip
"unit"Symbol 172 MovieClip {TDW_E__fla.04_15} Frame 1Symbol 35 MovieClip
"house"Symbol 172 MovieClip {TDW_E__fla.04_15} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 172 MovieClip {TDW_E__fla.04_15} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 176 MovieClip {TDW_E__fla.05_17} Frame 1Symbol 174 MovieClip
"unit"Symbol 176 MovieClip {TDW_E__fla.05_17} Frame 1Symbol 35 MovieClip
"house"Symbol 176 MovieClip {TDW_E__fla.05_17} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 176 MovieClip {TDW_E__fla.05_17} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 179 MovieClip {TDW_E__fla.06_19} Frame 1Symbol 177 MovieClip
"unit"Symbol 179 MovieClip {TDW_E__fla.06_19} Frame 1Symbol 35 MovieClip
"house"Symbol 179 MovieClip {TDW_E__fla.06_19} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 179 MovieClip {TDW_E__fla.06_19} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 183 MovieClip {TDW_E__fla.07_21} Frame 1Symbol 181 MovieClip
"unit"Symbol 183 MovieClip {TDW_E__fla.07_21} Frame 1Symbol 35 MovieClip
"house"Symbol 183 MovieClip {TDW_E__fla.07_21} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 183 MovieClip {TDW_E__fla.07_21} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 186 MovieClip {TDW_E__fla.08_23} Frame 1Symbol 184 MovieClip
"unit"Symbol 186 MovieClip {TDW_E__fla.08_23} Frame 1Symbol 35 MovieClip
"house"Symbol 186 MovieClip {TDW_E__fla.08_23} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 186 MovieClip {TDW_E__fla.08_23} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 190 MovieClip {TDW_E__fla.09_25} Frame 1Symbol 188 MovieClip
"unit"Symbol 190 MovieClip {TDW_E__fla.09_25} Frame 1Symbol 35 MovieClip
"house"Symbol 190 MovieClip {TDW_E__fla.09_25} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 190 MovieClip {TDW_E__fla.09_25} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 194 MovieClip {TDW_E__fla.10_27} Frame 1Symbol 192 MovieClip
"unit"Symbol 194 MovieClip {TDW_E__fla.10_27} Frame 1Symbol 35 MovieClip
"house"Symbol 194 MovieClip {TDW_E__fla.10_27} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 194 MovieClip {TDW_E__fla.10_27} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 198 MovieClip {TDW_E__fla.11_29} Frame 1Symbol 196 MovieClip
"unit"Symbol 198 MovieClip {TDW_E__fla.11_29} Frame 1Symbol 35 MovieClip
"house"Symbol 198 MovieClip {TDW_E__fla.11_29} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 198 MovieClip {TDW_E__fla.11_29} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 202 MovieClip {TDW_E__fla.12_31} Frame 1Symbol 200 MovieClip
"unit"Symbol 202 MovieClip {TDW_E__fla.12_31} Frame 1Symbol 35 MovieClip
"house"Symbol 202 MovieClip {TDW_E__fla.12_31} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 202 MovieClip {TDW_E__fla.12_31} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 205 MovieClip {TDW_E__fla.13_33} Frame 1Symbol 203 MovieClip
"unit"Symbol 205 MovieClip {TDW_E__fla.13_33} Frame 1Symbol 35 MovieClip
"house"Symbol 205 MovieClip {TDW_E__fla.13_33} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 205 MovieClip {TDW_E__fla.13_33} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 207 MovieClip {TDW_E__fla.14_35} Frame 1Symbol 206 MovieClip
"unit"Symbol 207 MovieClip {TDW_E__fla.14_35} Frame 1Symbol 35 MovieClip
"house"Symbol 207 MovieClip {TDW_E__fla.14_35} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 207 MovieClip {TDW_E__fla.14_35} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 210 MovieClip {TDW_E__fla.15_37} Frame 1Symbol 208 MovieClip
"unit"Symbol 210 MovieClip {TDW_E__fla.15_37} Frame 1Symbol 35 MovieClip
"house"Symbol 210 MovieClip {TDW_E__fla.15_37} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 210 MovieClip {TDW_E__fla.15_37} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 214 MovieClip {TDW_E__fla.16_39} Frame 1Symbol 212 MovieClip
"unit"Symbol 214 MovieClip {TDW_E__fla.16_39} Frame 1Symbol 35 MovieClip
"house"Symbol 214 MovieClip {TDW_E__fla.16_39} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 214 MovieClip {TDW_E__fla.16_39} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 217 MovieClip {TDW_E__fla.17_41} Frame 1Symbol 215 MovieClip
"unit"Symbol 217 MovieClip {TDW_E__fla.17_41} Frame 1Symbol 35 MovieClip
"house"Symbol 217 MovieClip {TDW_E__fla.17_41} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 217 MovieClip {TDW_E__fla.17_41} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 220 MovieClip {TDW_E__fla.18_43} Frame 1Symbol 218 MovieClip
"unit"Symbol 220 MovieClip {TDW_E__fla.18_43} Frame 1Symbol 35 MovieClip
"house"Symbol 220 MovieClip {TDW_E__fla.18_43} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 220 MovieClip {TDW_E__fla.18_43} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 224 MovieClip {TDW_E__fla.19_45} Frame 1Symbol 222 MovieClip
"unit"Symbol 224 MovieClip {TDW_E__fla.19_45} Frame 1Symbol 35 MovieClip
"house"Symbol 224 MovieClip {TDW_E__fla.19_45} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 224 MovieClip {TDW_E__fla.19_45} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 228 MovieClip {TDW_E__fla.20_47} Frame 1Symbol 226 MovieClip
"unit"Symbol 228 MovieClip {TDW_E__fla.20_47} Frame 1Symbol 35 MovieClip
"house"Symbol 228 MovieClip {TDW_E__fla.20_47} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 228 MovieClip {TDW_E__fla.20_47} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 232 MovieClip {TDW_E__fla.21_49} Frame 1Symbol 230 MovieClip
"unit"Symbol 232 MovieClip {TDW_E__fla.21_49} Frame 1Symbol 35 MovieClip
"house"Symbol 232 MovieClip {TDW_E__fla.21_49} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 232 MovieClip {TDW_E__fla.21_49} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 236 MovieClip {TDW_E__fla.22_51} Frame 1Symbol 234 MovieClip
"unit"Symbol 236 MovieClip {TDW_E__fla.22_51} Frame 1Symbol 35 MovieClip
"house"Symbol 236 MovieClip {TDW_E__fla.22_51} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 236 MovieClip {TDW_E__fla.22_51} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 240 MovieClip {TDW_E__fla.23_53} Frame 1Symbol 238 MovieClip
"unit"Symbol 240 MovieClip {TDW_E__fla.23_53} Frame 1Symbol 35 MovieClip
"house"Symbol 240 MovieClip {TDW_E__fla.23_53} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 240 MovieClip {TDW_E__fla.23_53} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 243 MovieClip {TDW_E__fla.24_55} Frame 1Symbol 241 MovieClip
"unit"Symbol 243 MovieClip {TDW_E__fla.24_55} Frame 1Symbol 35 MovieClip
"house"Symbol 243 MovieClip {TDW_E__fla.24_55} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 243 MovieClip {TDW_E__fla.24_55} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 247 MovieClip {TDW_E__fla.25_57} Frame 1Symbol 245 MovieClip
"unit"Symbol 247 MovieClip {TDW_E__fla.25_57} Frame 1Symbol 35 MovieClip
"house"Symbol 247 MovieClip {TDW_E__fla.25_57} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 247 MovieClip {TDW_E__fla.25_57} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 251 MovieClip {TDW_E__fla.26_59} Frame 1Symbol 249 MovieClip
"unit"Symbol 251 MovieClip {TDW_E__fla.26_59} Frame 1Symbol 35 MovieClip
"house"Symbol 251 MovieClip {TDW_E__fla.26_59} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 251 MovieClip {TDW_E__fla.26_59} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 254 MovieClip {TDW_E__fla.27_61} Frame 1Symbol 252 MovieClip
"unit"Symbol 254 MovieClip {TDW_E__fla.27_61} Frame 1Symbol 35 MovieClip
"house"Symbol 254 MovieClip {TDW_E__fla.27_61} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 254 MovieClip {TDW_E__fla.27_61} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 258 MovieClip {TDW_E__fla.28_63} Frame 1Symbol 256 MovieClip
"unit"Symbol 258 MovieClip {TDW_E__fla.28_63} Frame 1Symbol 35 MovieClip
"house"Symbol 258 MovieClip {TDW_E__fla.28_63} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 258 MovieClip {TDW_E__fla.28_63} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 262 MovieClip {TDW_E__fla.29_65} Frame 1Symbol 260 MovieClip
"unit"Symbol 262 MovieClip {TDW_E__fla.29_65} Frame 1Symbol 35 MovieClip
"house"Symbol 262 MovieClip {TDW_E__fla.29_65} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 262 MovieClip {TDW_E__fla.29_65} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 265 MovieClip {TDW_E__fla.30_67} Frame 1Symbol 263 MovieClip
"unit"Symbol 265 MovieClip {TDW_E__fla.30_67} Frame 1Symbol 35 MovieClip
"house"Symbol 265 MovieClip {TDW_E__fla.30_67} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 265 MovieClip {TDW_E__fla.30_67} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 268 MovieClip {TDW_E__fla.31_69} Frame 1Symbol 266 MovieClip
"unit"Symbol 268 MovieClip {TDW_E__fla.31_69} Frame 1Symbol 35 MovieClip
"house"Symbol 268 MovieClip {TDW_E__fla.31_69} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 268 MovieClip {TDW_E__fla.31_69} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 270 MovieClip {TDW_E__fla.32_71} Frame 1Symbol 269 MovieClip
"unit"Symbol 270 MovieClip {TDW_E__fla.32_71} Frame 1Symbol 35 MovieClip
"house"Symbol 270 MovieClip {TDW_E__fla.32_71} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 270 MovieClip {TDW_E__fla.32_71} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 272 MovieClip {TDW_E__fla.33_73} Frame 1Symbol 271 MovieClip
"unit"Symbol 272 MovieClip {TDW_E__fla.33_73} Frame 1Symbol 35 MovieClip
"house"Symbol 272 MovieClip {TDW_E__fla.33_73} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 272 MovieClip {TDW_E__fla.33_73} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 274 MovieClip {TDW_E__fla.34_75} Frame 1Symbol 273 MovieClip
"unit"Symbol 274 MovieClip {TDW_E__fla.34_75} Frame 1Symbol 35 MovieClip
"house"Symbol 274 MovieClip {TDW_E__fla.34_75} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 274 MovieClip {TDW_E__fla.34_75} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 278 MovieClip {TDW_E__fla.35_77} Frame 1Symbol 276 MovieClip
"unit"Symbol 278 MovieClip {TDW_E__fla.35_77} Frame 1Symbol 35 MovieClip
"house"Symbol 278 MovieClip {TDW_E__fla.35_77} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 278 MovieClip {TDW_E__fla.35_77} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 281 MovieClip {TDW_E__fla.36_79} Frame 1Symbol 279 MovieClip
"unit"Symbol 281 MovieClip {TDW_E__fla.36_79} Frame 1Symbol 35 MovieClip
"house"Symbol 281 MovieClip {TDW_E__fla.36_79} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 281 MovieClip {TDW_E__fla.36_79} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 283 MovieClip {TDW_E__fla.37_81} Frame 1Symbol 282 MovieClip
"unit"Symbol 283 MovieClip {TDW_E__fla.37_81} Frame 1Symbol 35 MovieClip
"house"Symbol 283 MovieClip {TDW_E__fla.37_81} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 283 MovieClip {TDW_E__fla.37_81} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 287 MovieClip {TDW_E__fla.38_83} Frame 1Symbol 285 MovieClip
"unit"Symbol 287 MovieClip {TDW_E__fla.38_83} Frame 1Symbol 35 MovieClip
"house"Symbol 287 MovieClip {TDW_E__fla.38_83} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 287 MovieClip {TDW_E__fla.38_83} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 291 MovieClip {TDW_E__fla.39_85} Frame 1Symbol 289 MovieClip
"unit"Symbol 291 MovieClip {TDW_E__fla.39_85} Frame 1Symbol 35 MovieClip
"house"Symbol 291 MovieClip {TDW_E__fla.39_85} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 291 MovieClip {TDW_E__fla.39_85} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 295 MovieClip {TDW_E__fla.40_87} Frame 1Symbol 293 MovieClip
"unit"Symbol 295 MovieClip {TDW_E__fla.40_87} Frame 1Symbol 35 MovieClip
"house"Symbol 295 MovieClip {TDW_E__fla.40_87} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 295 MovieClip {TDW_E__fla.40_87} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 299 MovieClip {TDW_E__fla.41_89} Frame 1Symbol 297 MovieClip
"unit"Symbol 299 MovieClip {TDW_E__fla.41_89} Frame 1Symbol 35 MovieClip
"house"Symbol 299 MovieClip {TDW_E__fla.41_89} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 299 MovieClip {TDW_E__fla.41_89} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 303 MovieClip {TDW_E__fla.42_91} Frame 1Symbol 301 MovieClip
"unit"Symbol 303 MovieClip {TDW_E__fla.42_91} Frame 1Symbol 35 MovieClip
"house"Symbol 303 MovieClip {TDW_E__fla.42_91} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 303 MovieClip {TDW_E__fla.42_91} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 306 MovieClip {TDW_E__fla.43_93} Frame 1Symbol 304 MovieClip
"unit"Symbol 306 MovieClip {TDW_E__fla.43_93} Frame 1Symbol 35 MovieClip
"house"Symbol 306 MovieClip {TDW_E__fla.43_93} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 306 MovieClip {TDW_E__fla.43_93} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 310 MovieClip {TDW_E__fla.44_95} Frame 1Symbol 308 MovieClip
"unit"Symbol 310 MovieClip {TDW_E__fla.44_95} Frame 1Symbol 35 MovieClip
"house"Symbol 310 MovieClip {TDW_E__fla.44_95} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 310 MovieClip {TDW_E__fla.44_95} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 314 MovieClip {TDW_E__fla.45_97} Frame 1Symbol 312 MovieClip
"unit"Symbol 314 MovieClip {TDW_E__fla.45_97} Frame 1Symbol 35 MovieClip
"house"Symbol 314 MovieClip {TDW_E__fla.45_97} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 314 MovieClip {TDW_E__fla.45_97} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 317 MovieClip {TDW_E__fla.46_99} Frame 1Symbol 315 MovieClip
"unit"Symbol 317 MovieClip {TDW_E__fla.46_99} Frame 1Symbol 35 MovieClip
"house"Symbol 317 MovieClip {TDW_E__fla.46_99} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 317 MovieClip {TDW_E__fla.46_99} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 321 MovieClip {TDW_E__fla.47_101} Frame 1Symbol 319 MovieClip
"unit"Symbol 321 MovieClip {TDW_E__fla.47_101} Frame 1Symbol 35 MovieClip
"house"Symbol 321 MovieClip {TDW_E__fla.47_101} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 321 MovieClip {TDW_E__fla.47_101} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 325 MovieClip {TDW_E__fla.51_103} Frame 1Symbol 323 MovieClip
"unit"Symbol 325 MovieClip {TDW_E__fla.51_103} Frame 1Symbol 35 MovieClip
"house"Symbol 325 MovieClip {TDW_E__fla.51_103} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 325 MovieClip {TDW_E__fla.51_103} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 329 MovieClip {TDW_E__fla.48_105} Frame 1Symbol 327 MovieClip
"unit"Symbol 329 MovieClip {TDW_E__fla.48_105} Frame 1Symbol 35 MovieClip
"house"Symbol 329 MovieClip {TDW_E__fla.48_105} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 329 MovieClip {TDW_E__fla.48_105} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 333 MovieClip {TDW_E__fla.49_107} Frame 1Symbol 331 MovieClip
"unit"Symbol 333 MovieClip {TDW_E__fla.49_107} Frame 1Symbol 35 MovieClip
"house"Symbol 333 MovieClip {TDW_E__fla.49_107} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 333 MovieClip {TDW_E__fla.49_107} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"body"Symbol 337 MovieClip {TDW_E__fla.50_109} Frame 1Symbol 335 MovieClip
"unit"Symbol 337 MovieClip {TDW_E__fla.50_109} Frame 1Symbol 35 MovieClip
"house"Symbol 337 MovieClip {TDW_E__fla.50_109} Frame 1Symbol 62 MovieClip {TDW_E__fla.05_7}
"flag"Symbol 337 MovieClip {TDW_E__fla.50_109} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"boss_line"Symbol 338 MovieClip {japan_map} Frame 1Symbol 30 MovieClip
"ken1"Symbol 338 MovieClip {japan_map} Frame 1Symbol 160 MovieClip {TDW_E__fla.01_4}
"ken2"Symbol 338 MovieClip {japan_map} Frame 1Symbol 164 MovieClip {TDW_E__fla.02_11}
"ken3"Symbol 338 MovieClip {japan_map} Frame 1Symbol 168 MovieClip {TDW_E__fla.03_13}
"ken4"Symbol 338 MovieClip {japan_map} Frame 1Symbol 172 MovieClip {TDW_E__fla.04_15}
"ken5"Symbol 338 MovieClip {japan_map} Frame 1Symbol 176 MovieClip {TDW_E__fla.05_17}
"ken6"Symbol 338 MovieClip {japan_map} Frame 1Symbol 179 MovieClip {TDW_E__fla.06_19}
"ken7"Symbol 338 MovieClip {japan_map} Frame 1Symbol 183 MovieClip {TDW_E__fla.07_21}
"ken8"Symbol 338 MovieClip {japan_map} Frame 1Symbol 186 MovieClip {TDW_E__fla.08_23}
"ken9"Symbol 338 MovieClip {japan_map} Frame 1Symbol 190 MovieClip {TDW_E__fla.09_25}
"ken10"Symbol 338 MovieClip {japan_map} Frame 1Symbol 194 MovieClip {TDW_E__fla.10_27}
"ken11"Symbol 338 MovieClip {japan_map} Frame 1Symbol 198 MovieClip {TDW_E__fla.11_29}
"ken12"Symbol 338 MovieClip {japan_map} Frame 1Symbol 202 MovieClip {TDW_E__fla.12_31}
"ken13"Symbol 338 MovieClip {japan_map} Frame 1Symbol 205 MovieClip {TDW_E__fla.13_33}
"ken14"Symbol 338 MovieClip {japan_map} Frame 1Symbol 207 MovieClip {TDW_E__fla.14_35}
"ken15"Symbol 338 MovieClip {japan_map} Frame 1Symbol 210 MovieClip {TDW_E__fla.15_37}
"ken16"Symbol 338 MovieClip {japan_map} Frame 1Symbol 214 MovieClip {TDW_E__fla.16_39}
"ken17"Symbol 338 MovieClip {japan_map} Frame 1Symbol 217 MovieClip {TDW_E__fla.17_41}
"ken18"Symbol 338 MovieClip {japan_map} Frame 1Symbol 220 MovieClip {TDW_E__fla.18_43}
"ken19"Symbol 338 MovieClip {japan_map} Frame 1Symbol 224 MovieClip {TDW_E__fla.19_45}
"ken20"Symbol 338 MovieClip {japan_map} Frame 1Symbol 228 MovieClip {TDW_E__fla.20_47}
"ken21"Symbol 338 MovieClip {japan_map} Frame 1Symbol 232 MovieClip {TDW_E__fla.21_49}
"ken22"Symbol 338 MovieClip {japan_map} Frame 1Symbol 236 MovieClip {TDW_E__fla.22_51}
"ken23"Symbol 338 MovieClip {japan_map} Frame 1Symbol 240 MovieClip {TDW_E__fla.23_53}
"ken24"Symbol 338 MovieClip {japan_map} Frame 1Symbol 243 MovieClip {TDW_E__fla.24_55}
"ken25"Symbol 338 MovieClip {japan_map} Frame 1Symbol 247 MovieClip {TDW_E__fla.25_57}
"ken26"Symbol 338 MovieClip {japan_map} Frame 1Symbol 251 MovieClip {TDW_E__fla.26_59}
"ken27"Symbol 338 MovieClip {japan_map} Frame 1Symbol 254 MovieClip {TDW_E__fla.27_61}
"ken28"Symbol 338 MovieClip {japan_map} Frame 1Symbol 258 MovieClip {TDW_E__fla.28_63}
"ken29"Symbol 338 MovieClip {japan_map} Frame 1Symbol 262 MovieClip {TDW_E__fla.29_65}
"ken30"Symbol 338 MovieClip {japan_map} Frame 1Symbol 265 MovieClip {TDW_E__fla.30_67}
"ken31"Symbol 338 MovieClip {japan_map} Frame 1Symbol 268 MovieClip {TDW_E__fla.31_69}
"ken32"Symbol 338 MovieClip {japan_map} Frame 1Symbol 270 MovieClip {TDW_E__fla.32_71}
"ken33"Symbol 338 MovieClip {japan_map} Frame 1Symbol 272 MovieClip {TDW_E__fla.33_73}
"ken34"Symbol 338 MovieClip {japan_map} Frame 1Symbol 274 MovieClip {TDW_E__fla.34_75}
"ken35"Symbol 338 MovieClip {japan_map} Frame 1Symbol 278 MovieClip {TDW_E__fla.35_77}
"ken36"Symbol 338 MovieClip {japan_map} Frame 1Symbol 281 MovieClip {TDW_E__fla.36_79}
"ken37"Symbol 338 MovieClip {japan_map} Frame 1Symbol 283 MovieClip {TDW_E__fla.37_81}
"ken38"Symbol 338 MovieClip {japan_map} Frame 1Symbol 287 MovieClip {TDW_E__fla.38_83}
"ken39"Symbol 338 MovieClip {japan_map} Frame 1Symbol 291 MovieClip {TDW_E__fla.39_85}
"ken40"Symbol 338 MovieClip {japan_map} Frame 1Symbol 295 MovieClip {TDW_E__fla.40_87}
"ken41"Symbol 338 MovieClip {japan_map} Frame 1Symbol 299 MovieClip {TDW_E__fla.41_89}
"ken42"Symbol 338 MovieClip {japan_map} Frame 1Symbol 303 MovieClip {TDW_E__fla.42_91}
"ken43"Symbol 338 MovieClip {japan_map} Frame 1Symbol 306 MovieClip {TDW_E__fla.43_93}
"ken44"Symbol 338 MovieClip {japan_map} Frame 1Symbol 310 MovieClip {TDW_E__fla.44_95}
"ken45"Symbol 338 MovieClip {japan_map} Frame 1Symbol 314 MovieClip {TDW_E__fla.45_97}
"ken46"Symbol 338 MovieClip {japan_map} Frame 1Symbol 317 MovieClip {TDW_E__fla.46_99}
"ken47"Symbol 338 MovieClip {japan_map} Frame 1Symbol 321 MovieClip {TDW_E__fla.47_101}
"ken51"Symbol 338 MovieClip {japan_map} Frame 1Symbol 325 MovieClip {TDW_E__fla.51_103}
"ken48"Symbol 338 MovieClip {japan_map} Frame 1Symbol 329 MovieClip {TDW_E__fla.48_105}
"ken49"Symbol 338 MovieClip {japan_map} Frame 1Symbol 333 MovieClip {TDW_E__fla.49_107}
"ken50"Symbol 338 MovieClip {japan_map} Frame 1Symbol 337 MovieClip {TDW_E__fla.50_109}
"body"Symbol 346 MovieClip {BTN16_SAVE} Frame 1Symbol 342 MovieClip {TDW_E__fla.Timeline_112}
"confirm"Symbol 346 MovieClip {BTN16_SAVE} Frame 1Symbol 345 MovieClip {TDW_E__fla.Timeline_113}
"body"Symbol 356 MovieClip {BTN03_PAUSE} Frame 1Symbol 352 MovieClip {TDW_E__fla.Timeline_116}
"mark"Symbol 356 MovieClip {BTN03_PAUSE} Frame 1Symbol 355 MovieClip {TDW_E__fla.Timeline_117}
"body"Symbol 360 MovieClip {BTN17_LOAD} Frame 1Symbol 342 MovieClip {TDW_E__fla.Timeline_112}
"confirm"Symbol 360 MovieClip {BTN17_LOAD} Frame 1Symbol 359 MovieClip {TDW_E__fla.Timeline_119}
"body"Symbol 364 MovieClip {BTN05_SOUND} Frame 1Symbol 352 MovieClip {TDW_E__fla.Timeline_116}
"mark"Symbol 364 MovieClip {BTN05_SOUND} Frame 1Symbol 363 MovieClip {TDW_E__fla.Timeline_121}
"body"Symbol 369 MovieClip {BTN04_VISUAL} Frame 1Symbol 352 MovieClip {TDW_E__fla.Timeline_116}
"mark"Symbol 369 MovieClip {BTN04_VISUAL} Frame 1Symbol 368 MovieClip {TDW_E__fla.Timeline_123}
"body"Symbol 377 MovieClip {BTN01_TURNEND} Frame 1Symbol 373 MovieClip {TDW_E__fla.Timeline_125}
"confirm"Symbol 377 MovieClip {BTN01_TURNEND} Frame 1Symbol 376 MovieClip {TDW_E__fla.Timeline_126}
"body"Symbol 384 MovieClip {BTN10_BLD} Frame 1Symbol 381 MovieClip {TDW_E__fla.Timeline_128}
"unit_disp"Symbol 384 MovieClip {BTN10_BLD} Frame 1Symbol 60 MovieClip {bld_unit}
"status_disp"Symbol 384 MovieClip {BTN10_BLD} Frame 1Symbol 383 MovieClip {TDW_E__fla.Timeline_129}
"body"Symbol 390 MovieClip {BTN14_TACUSE} Frame 1Symbol 373 MovieClip {TDW_E__fla.Timeline_125}
"confirm"Symbol 390 MovieClip {BTN14_TACUSE} Frame 1Symbol 389 MovieClip {TDW_E__fla.Timeline_131}
"body"Symbol 403 MovieClip {BTN11_TAC} Frame 1Symbol 381 MovieClip {TDW_E__fla.Timeline_128}
"unit_disp"Symbol 403 MovieClip {BTN11_TAC} Frame 1Symbol 402 MovieClip {TDW_E__fla.Timeline_133}
"status_disp"Symbol 403 MovieClip {BTN11_TAC} Frame 1Symbol 383 MovieClip {TDW_E__fla.Timeline_129}
"body"Symbol 411 MovieClip {BTN15_TAC_SELECT} Frame 1Symbol 407 MovieClip {TDW_E__fla.Timeline_135}
"unit_disp"Symbol 411 MovieClip {BTN15_TAC_SELECT} Frame 1Symbol 402 MovieClip {TDW_E__fla.Timeline_133}
"confirm"Symbol 411 MovieClip {BTN15_TAC_SELECT} Frame 1Symbol 410 MovieClip {TDW_E__fla.Timeline_136}
"body"Symbol 442 MovieClip {BTN12_BATTLE} Frame 1Symbol 415 MovieClip {TDW_E__fla.Timeline_138}
"unit_disp"Symbol 442 MovieClip {BTN12_BATTLE} Frame 1Symbol 432 MovieClip {map_unit}
"mode_disp"Symbol 442 MovieClip {BTN12_BATTLE} Frame 1Symbol 435 MovieClip {TDW_E__fla.Timeline_140}
"line_ani"Symbol 442 MovieClip {BTN12_BATTLE} Frame 1Symbol 441 MovieClip
"body"Symbol 447 MovieClip {BTN13_ESCAPE} Frame 1Symbol 373 MovieClip {TDW_E__fla.Timeline_125}
"confirm"Symbol 447 MovieClip {BTN13_ESCAPE} Frame 1Symbol 446 MovieClip {TDW_E__fla.Timeline_143}
"body"Symbol 448 MovieClip {BTN02_BUY} Frame 1Symbol 381 MovieClip {TDW_E__fla.Timeline_128}
"unit_disp"Symbol 448 MovieClip {BTN02_BUY} Frame 1Symbol 432 MovieClip {map_unit}
"status_disp"Symbol 448 MovieClip {BTN02_BUY} Frame 1Symbol 383 MovieClip {TDW_E__fla.Timeline_129}
"h2"Symbol 460 MovieClip {ETC01_DMG} Frame 1Symbol 459 MovieClip {TDW_E__fla.Timeline_146}
"h1"Symbol 460 MovieClip {ETC01_DMG} Frame 1Symbol 459 MovieClip {TDW_E__fla.Timeline_146}
"h3"Symbol 460 MovieClip {ETC01_DMG} Frame 1Symbol 459 MovieClip {TDW_E__fla.Timeline_146}
"hou"Symbol 475 MovieClip {ETC02_UNITDOWN} Frame 13Symbol 474 MovieClip
"disp"Symbol 494 MovieClip {ETC07_TAC_NAME} Frame 1Symbol 402 MovieClip {TDW_E__fla.Timeline_133}
"h2"Symbol 506 MovieClip {ETC08_HEAL} Frame 1Symbol 505 MovieClip {TDW_E__fla.Timeline_155}
"h1"Symbol 506 MovieClip {ETC08_HEAL} Frame 1Symbol 505 MovieClip {TDW_E__fla.Timeline_155}
"h3"Symbol 506 MovieClip {ETC08_HEAL} Frame 1Symbol 505 MovieClip {TDW_E__fla.Timeline_155}
"h4"Symbol 506 MovieClip {ETC08_HEAL} Frame 1Symbol 505 MovieClip {TDW_E__fla.Timeline_155}
"unit_disp"Symbol 630 MovieClip {ETC28_MAP_WAR} Frame 1Symbol 432 MovieClip {map_unit}
"ken_idx"Symbol 695 MovieClip {ETC32_KEN_DEAD} Frame 1Symbol 693 MovieClip {TDW_E__fla.Timeline_180}
"d1"Symbol 697 MovieClip {ETC33_TURN_START} Frame 1Symbol 505 MovieClip {TDW_E__fla.Timeline_155}
"d2"Symbol 697 MovieClip {ETC33_TURN_START} Frame 1Symbol 505 MovieClip {TDW_E__fla.Timeline_155}
"d3"Symbol 697 MovieClip {ETC33_TURN_START} Frame 1Symbol 505 MovieClip {TDW_E__fla.Timeline_155}
"kabe1"Symbol 724 MovieClip {BLD01_WALL} Frame 1Symbol 711 MovieClip {TDW_E__fla.Timeline_187}
"kabe2"Symbol 724 MovieClip {BLD01_WALL} Frame 1Symbol 711 MovieClip {TDW_E__fla.Timeline_187}
"kabe3"Symbol 724 MovieClip {BLD01_WALL} Frame 1Symbol 711 MovieClip {TDW_E__fla.Timeline_187}
"kabe4"Symbol 724 MovieClip {BLD01_WALL} Frame 1Symbol 711 MovieClip {TDW_E__fla.Timeline_187}
"kabe5"Symbol 724 MovieClip {BLD01_WALL} Frame 1Symbol 711 MovieClip {TDW_E__fla.Timeline_187}
"kabe6"Symbol 724 MovieClip {BLD01_WALL} Frame 1Symbol 711 MovieClip {TDW_E__fla.Timeline_187}
"kabe7"Symbol 724 MovieClip {BLD01_WALL} Frame 1Symbol 711 MovieClip {TDW_E__fla.Timeline_187}
"kabe8"Symbol 724 MovieClip {BLD01_WALL} Frame 1Symbol 711 MovieClip {TDW_E__fla.Timeline_187}
"kabe9"Symbol 724 MovieClip {BLD01_WALL} Frame 1Symbol 711 MovieClip {TDW_E__fla.Timeline_187}
"kabe10"Symbol 724 MovieClip {BLD01_WALL} Frame 1Symbol 711 MovieClip {TDW_E__fla.Timeline_187}
"hp_bar"Symbol 724 MovieClip {BLD01_WALL} Frame 1Symbol 10 MovieClip {HP_BAR}
"kabe1"Symbol 724 MovieClip {BLD01_WALL} Frame 2Symbol 717 MovieClip {TDW_E__fla.Timeline_188}
"kabe2"Symbol 724 MovieClip {BLD01_WALL} Frame 2Symbol 717 MovieClip {TDW_E__fla.Timeline_188}
"kabe3"Symbol 724 MovieClip {BLD01_WALL} Frame 2Symbol 717 MovieClip {TDW_E__fla.Timeline_188}
"kabe4"Symbol 724 MovieClip {BLD01_WALL} Frame 2Symbol 717 MovieClip {TDW_E__fla.Timeline_188}
"kabe5"Symbol 724 MovieClip {BLD01_WALL} Frame 2Symbol 717 MovieClip {TDW_E__fla.Timeline_188}
"kabe6"Symbol 724 MovieClip {BLD01_WALL} Frame 2Symbol 717 MovieClip {TDW_E__fla.Timeline_188}
"kabe7"Symbol 724 MovieClip {BLD01_WALL} Frame 2Symbol 717 MovieClip {TDW_E__fla.Timeline_188}
"kabe8"Symbol 724 MovieClip {BLD01_WALL} Frame 2Symbol 717 MovieClip {TDW_E__fla.Timeline_188}
"kabe9"Symbol 724 MovieClip {BLD01_WALL} Frame 2Symbol 717 MovieClip {TDW_E__fla.Timeline_188}
"kabe10"Symbol 724 MovieClip {BLD01_WALL} Frame 2Symbol 717 MovieClip {TDW_E__fla.Timeline_188}
"kabe1"Symbol 724 MovieClip {BLD01_WALL} Frame 3Symbol 723 MovieClip {TDW_E__fla.Timeline_189}
"kabe2"Symbol 724 MovieClip {BLD01_WALL} Frame 3Symbol 723 MovieClip {TDW_E__fla.Timeline_189}
"kabe3"Symbol 724 MovieClip {BLD01_WALL} Frame 3Symbol 723 MovieClip {TDW_E__fla.Timeline_189}
"kabe4"Symbol 724 MovieClip {BLD01_WALL} Frame 3Symbol 723 MovieClip {TDW_E__fla.Timeline_189}
"kabe5"Symbol 724 MovieClip {BLD01_WALL} Frame 3Symbol 723 MovieClip {TDW_E__fla.Timeline_189}
"kabe6"Symbol 724 MovieClip {BLD01_WALL} Frame 3Symbol 723 MovieClip {TDW_E__fla.Timeline_189}
"kabe7"Symbol 724 MovieClip {BLD01_WALL} Frame 3Symbol 723 MovieClip {TDW_E__fla.Timeline_189}
"kabe8"Symbol 724 MovieClip {BLD01_WALL} Frame 3Symbol 723 MovieClip {TDW_E__fla.Timeline_189}
"kabe9"Symbol 724 MovieClip {BLD01_WALL} Frame 3Symbol 723 MovieClip {TDW_E__fla.Timeline_189}
"kabe10"Symbol 724 MovieClip {BLD01_WALL} Frame 3Symbol 723 MovieClip {TDW_E__fla.Timeline_189}
"hou"Symbol 726 MovieClip {BLD02_TOWER} Frame 1Symbol 474 MovieClip
"hp_bar"Symbol 726 MovieClip {BLD02_TOWER} Frame 1Symbol 10 MovieClip {HP_BAR}
"hp_bar"Symbol 743 MovieClip {UNIT01_KEN} Frame 1Symbol 10 MovieClip {HP_BAR}
"hp_bar"Symbol 758 MovieClip {UNIT02_YUMI} Frame 1Symbol 10 MovieClip {HP_BAR}
"hp_bar"Symbol 765 MovieClip {UNIT03_TATE} Frame 1Symbol 10 MovieClip {HP_BAR}
"hp_bar"Symbol 781 MovieClip {UNIT04_YARI} Frame 1Symbol 10 MovieClip {HP_BAR}
"hp_bar"Symbol 792 MovieClip {UNIT05_HEAL} Frame 1Symbol 10 MovieClip {HP_BAR}
"hp_bar"Symbol 806 MovieClip {UNIT06_REPAIR} Frame 1Symbol 10 MovieClip {HP_BAR}
"hp_bar"Symbol 827 MovieClip {UNIT07_NIN} Frame 1Symbol 10 MovieClip {HP_BAR}
"hp_bar"Symbol 842 MovieClip {UNIT08_FIRE} Frame 1Symbol 10 MovieClip {HP_BAR}
"hp_bar"Symbol 855 MovieClip {UNIT09_SNIPER} Frame 1Symbol 10 MovieClip {HP_BAR}
"hp_bar"Symbol 873 MovieClip {UNIT10_KNIGHT} Frame 1Symbol 10 MovieClip {HP_BAR}
"hp_bar"Symbol 888 MovieClip {UNIT11_HONE} Frame 1Symbol 10 MovieClip {HP_BAR}
"hp_bar"Symbol 916 MovieClip {UNIT12_BIG} Frame 1Symbol 10 MovieClip {HP_BAR}
"hits"Symbol 939 MovieClip {MAP_SET_UNIT} Frame 1Symbol 921 MovieClip
"unit_waku"Symbol 939 MovieClip {MAP_SET_UNIT} Frame 1Symbol 938 MovieClip {map_unit_waku}
"unit"Symbol 939 MovieClip {MAP_SET_UNIT} Frame 1Symbol 432 MovieClip {map_unit}
"bg"Symbol 1016 MovieClip {TDW_E__fla.03_214} Frame 1Symbol 954 MovieClip
"h1"Symbol 1016 MovieClip {TDW_E__fla.03_214} Frame 1Symbol 968 MovieClip {TDW_E__fla.Timeline_216}
"h2"Symbol 1016 MovieClip {TDW_E__fla.03_214} Frame 1Symbol 968 MovieClip {TDW_E__fla.Timeline_216}
"h3"Symbol 1016 MovieClip {TDW_E__fla.03_214} Frame 1Symbol 968 MovieClip {TDW_E__fla.Timeline_216}
"h4"Symbol 1016 MovieClip {TDW_E__fla.03_214} Frame 1Symbol 968 MovieClip {TDW_E__fla.Timeline_216}
"g1"Symbol 1056 MovieClip {menu_bg} Frame 1Symbol 951 MovieClip {TDW_E__fla.Timeline_213}
"g2"Symbol 1056 MovieClip {menu_bg} Frame 1Symbol 951 MovieClip {TDW_E__fla.Timeline_213}
"g3"Symbol 1056 MovieClip {menu_bg} Frame 1Symbol 951 MovieClip {TDW_E__fla.Timeline_213}
"turn_ken"Symbol 1056 MovieClip {menu_bg} Frame 1Symbol 159 MovieClip {TDW_E__fla.Timeline_10}
"help"Symbol 1056 MovieClip {menu_bg} Frame 1Symbol 1016 MovieClip {TDW_E__fla.03_214}
"tab_bg"Symbol 1056 MovieClip {menu_bg} Frame 1Symbol 1027 MovieClip {TDW_E__fla.Timeline_217}
"tam_lv"Symbol 1056 MovieClip {menu_bg} Frame 1Symbol 1035 MovieClip {TDW_E__fla.Timeline_221}
"tac_lv"Symbol 1056 MovieClip {menu_bg} Frame 1Symbol 1043 MovieClip {TDW_E__fla.Timeline_222}
"m1"Symbol 1056 MovieClip {menu_bg} Frame 1Symbol 1055 MovieClip {TDW_E__fla.Timeline_223}
"m2"Symbol 1056 MovieClip {menu_bg} Frame 1Symbol 1055 MovieClip {TDW_E__fla.Timeline_223}
"m3"Symbol 1056 MovieClip {menu_bg} Frame 1Symbol 1055 MovieClip {TDW_E__fla.Timeline_223}
"m4"Symbol 1056 MovieClip {menu_bg} Frame 1Symbol 1055 MovieClip {TDW_E__fla.Timeline_223}
"m5"Symbol 1056 MovieClip {menu_bg} Frame 1Symbol 1055 MovieClip {TDW_E__fla.Timeline_223}
"i1"Symbol 1056 MovieClip {menu_bg} Frame 1Symbol 1055 MovieClip {TDW_E__fla.Timeline_223}
"i2"Symbol 1056 MovieClip {menu_bg} Frame 1Symbol 1055 MovieClip {TDW_E__fla.Timeline_223}
"i3"Symbol 1056 MovieClip {menu_bg} Frame 1Symbol 1055 MovieClip {TDW_E__fla.Timeline_223}
"i4"Symbol 1056 MovieClip {menu_bg} Frame 1Symbol 1055 MovieClip {TDW_E__fla.Timeline_223}
"sand2"Symbol 1179 MovieClip {TDW_E__fla.Timeline_229} Frame 1Symbol 1170 MovieClip
"sand1"Symbol 1179 MovieClip {TDW_E__fla.Timeline_229} Frame 1Symbol 1170 MovieClip
"sand_ani"Symbol 1179 MovieClip {TDW_E__fla.Timeline_229} Frame 1Symbol 1175 MovieClip {TDW_E__fla.Timeline_231}
"sand_mask"Symbol 1179 MovieClip {TDW_E__fla.Timeline_229} Frame 1Symbol 1177 MovieClip
"flag1"Symbol 1180 MovieClip {battle_bg} Frame 1Symbol 1108 MovieClip {TDW_E__fla.Timeline_226}
"flag2"Symbol 1180 MovieClip {battle_bg} Frame 1Symbol 1108 MovieClip {TDW_E__fla.Timeline_226}
"name1"Symbol 1180 MovieClip {battle_bg} Frame 1Symbol 1157 MovieClip {TDW_E__fla.Timeline_227}
"name2"Symbol 1180 MovieClip {battle_bg} Frame 1Symbol 1157 MovieClip {TDW_E__fla.Timeline_227}
"i1"Symbol 1180 MovieClip {battle_bg} Frame 1Symbol 1168 MovieClip {TDW_E__fla.Timeline_228}
"i2"Symbol 1180 MovieClip {battle_bg} Frame 1Symbol 1168 MovieClip {TDW_E__fla.Timeline_228}
"i3"Symbol 1180 MovieClip {battle_bg} Frame 1Symbol 1168 MovieClip {TDW_E__fla.Timeline_228}
"i4"Symbol 1180 MovieClip {battle_bg} Frame 1Symbol 1168 MovieClip {TDW_E__fla.Timeline_228}
"sand_timer"Symbol 1180 MovieClip {battle_bg} Frame 1Symbol 1179 MovieClip {TDW_E__fla.Timeline_229}
"help"Symbol 1183 MovieClip {tac_bg} Frame 1Symbol 1016 MovieClip {TDW_E__fla.03_214}
"flag"Symbol 1186 MovieClip {select_bg} Frame 1Symbol 693 MovieClip {TDW_E__fla.Timeline_180}
"special"Symbol 1186 MovieClip {select_bg} Frame 1Symbol 48 MovieClip {TDW_E__fla.Timeline_8}
"help"Symbol 1186 MovieClip {select_bg} Frame 1Symbol 1016 MovieClip {TDW_E__fla.03_214}
"atk_side"Symbol 1240 MovieClip {war_start} Frame 1Symbol 1238 MovieClip {TDW_E__fla.Timeline_238}
"def_side"Symbol 1240 MovieClip {war_start} Frame 1Symbol 693 MovieClip {TDW_E__fla.Timeline_180}
"win_side1"Symbol 1243 MovieClip {war_end} Frame 1Symbol 693 MovieClip {TDW_E__fla.Timeline_180}
"win_side2"Symbol 1243 MovieClip {war_end} Frame 1Symbol 1238 MovieClip {TDW_E__fla.Timeline_238}
"map_bg"Symbol 1298 MovieClip {title_bg} Frame 1Symbol 338 MovieClip {japan_map}
"hitmc"Symbol 1303 MovieClip {BTN18_START} Frame 1Symbol 1299 MovieClip
"hitmc"Symbol 1307 MovieClip {BTN19_CONTINUE} Frame 1Symbol 1299 MovieClip
"hitmc"Symbol 1311 MovieClip {BTN20_HELP} Frame 1Symbol 1299 MovieClip
"body"Symbol 1316 MovieClip {UNIT13_YOWAI} Frame 1Symbol 1314 MovieClip {TDW_E__fla.Timeline_247}
"hp_bar"Symbol 1316 MovieClip {UNIT13_YOWAI} Frame 1Symbol 10 MovieClip {HP_BAR}
"body"Symbol 1326 MovieClip {UNIT15_KATAI} Frame 1Symbol 1324 MovieClip {TDW_E__fla.Timeline_250}
"hp_bar"Symbol 1326 MovieClip {UNIT15_KATAI} Frame 1Symbol 10 MovieClip {HP_BAR}
"body"Symbol 1347 MovieClip {UNIT16_BOSS} Frame 1Symbol 1339 MovieClip {TDW_E__fla.Timeline_256}
"hp_bar"Symbol 1347 MovieClip {UNIT16_BOSS} Frame 1Symbol 10 MovieClip {HP_BAR}
"hitmc"Symbol 1360 MovieClip {BTN21_GAMEOVER} Frame 1Symbol 1299 MovieClip
"body"Symbol 1364 MovieClip {BTN22_BACKTITLE} Frame 1Symbol 342 MovieClip {TDW_E__fla.Timeline_112}
"confirm"Symbol 1364 MovieClip {BTN22_BACKTITLE} Frame 1Symbol 1363 MovieClip {TDW_E__fla.Timeline_262}
"hitmc"Symbol 1419 MovieClip {BTN24_NEXT} Frame 1Symbol 1299 MovieClip
"hitmc"Symbol 1423 MovieClip {BTN25_BACK} Frame 1Symbol 1299 MovieClip
"body"Symbol 1428 MovieClip {BTN27_HAYAOKURI} Frame 1Symbol 1424 MovieClip {TDW_E__fla.Timeline_267}
"mark"Symbol 1428 MovieClip {BTN27_HAYAOKURI} Frame 1Symbol 1427 MovieClip {TDW_E__fla.Timeline_268}
"body"Symbol 1493 MovieClip {ending} Frame 1Symbol 1430 MovieClip
"flag"Symbol 1493 MovieClip {ending} Frame 1Symbol 1447 MovieClip {TDW_E__fla.Timeline_271}
"flag2"Symbol 1493 MovieClip {ending} Frame 1Symbol 1492 MovieClip {TDW_E__fla.Timeline_272}
"hitmc"Symbol 1497 MovieClip {BTN26_ENDING} Frame 1Symbol 1299 MovieClip
"body"Symbol 1499 MovieClip {BTN_HELP} Frame 1Symbol 352 MovieClip {TDW_E__fla.Timeline_116}
"body"Symbol 1527 MovieClip {BTN_HELP2} Frame 1Symbol 352 MovieClip {TDW_E__fla.Timeline_116}
"hitmc"Symbol 1534 MovieClip {BTN23_TAC_CANCEL} Frame 1Symbol 1299 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS3.

Labels

"stay"Symbol 24 MovieClip {UNIT14_BIRIBIRI} Frame 1
"mahi"Symbol 24 MovieClip {UNIT14_BIRIBIRI} Frame 11
"fall"Symbol 549 MovieClip {ETC18_HOLY} Frame 1
"wait"Symbol 549 MovieClip {ETC18_HOLY} Frame 5
"通常"Symbol 711 MovieClip {TDW_E__fla.Timeline_187} Frame 1
"限界"Symbol 711 MovieClip {TDW_E__fla.Timeline_187} Frame 6
"通常"Symbol 717 MovieClip {TDW_E__fla.Timeline_188} Frame 1
"限界"Symbol 717 MovieClip {TDW_E__fla.Timeline_188} Frame 6
"通常"Symbol 723 MovieClip {TDW_E__fla.Timeline_189} Frame 1
"限界"Symbol 723 MovieClip {TDW_E__fla.Timeline_189} Frame 6
"stay"Symbol 743 MovieClip {UNIT01_KEN} Frame 1
"attack"Symbol 743 MovieClip {UNIT01_KEN} Frame 3
"itai"Symbol 743 MovieClip {UNIT01_KEN} Frame 10
"mahi"Symbol 743 MovieClip {UNIT01_KEN} Frame 14
"nige"Symbol 743 MovieClip {UNIT01_KEN} Frame 17
"stay"Symbol 758 MovieClip {UNIT02_YUMI} Frame 1
"shoot"Symbol 758 MovieClip {UNIT02_YUMI} Frame 3
"itai"Symbol 758 MovieClip {UNIT02_YUMI} Frame 10
"mahi"Symbol 758 MovieClip {UNIT02_YUMI} Frame 14
"nige"Symbol 758 MovieClip {UNIT02_YUMI} Frame 17
"stay"Symbol 765 MovieClip {UNIT03_TATE} Frame 1
"itai"Symbol 765 MovieClip {UNIT03_TATE} Frame 5
"mahi"Symbol 765 MovieClip {UNIT03_TATE} Frame 9
"nige"Symbol 765 MovieClip {UNIT03_TATE} Frame 12
"stay"Symbol 781 MovieClip {UNIT04_YARI} Frame 1
"attack"Symbol 781 MovieClip {UNIT04_YARI} Frame 3
"itai"Symbol 781 MovieClip {UNIT04_YARI} Frame 9
"mahi"Symbol 781 MovieClip {UNIT04_YARI} Frame 13
"nige"Symbol 781 MovieClip {UNIT04_YARI} Frame 16
"stay"Symbol 792 MovieClip {UNIT05_HEAL} Frame 1
"attack"Symbol 792 MovieClip {UNIT05_HEAL} Frame 3
"itai"Symbol 792 MovieClip {UNIT05_HEAL} Frame 8
"mahi"Symbol 792 MovieClip {UNIT05_HEAL} Frame 12
"nige"Symbol 792 MovieClip {UNIT05_HEAL} Frame 15
"stay"Symbol 806 MovieClip {UNIT06_REPAIR} Frame 1
"attack"Symbol 806 MovieClip {UNIT06_REPAIR} Frame 3
"itai"Symbol 806 MovieClip {UNIT06_REPAIR} Frame 8
"mahi"Symbol 806 MovieClip {UNIT06_REPAIR} Frame 12
"nige"Symbol 806 MovieClip {UNIT06_REPAIR} Frame 15
"stay"Symbol 827 MovieClip {UNIT07_NIN} Frame 1
"attack"Symbol 827 MovieClip {UNIT07_NIN} Frame 3
"shoot"Symbol 827 MovieClip {UNIT07_NIN} Frame 9
"itai"Symbol 827 MovieClip {UNIT07_NIN} Frame 14
"mahi"Symbol 827 MovieClip {UNIT07_NIN} Frame 18
"nige"Symbol 827 MovieClip {UNIT07_NIN} Frame 21
"stay"Symbol 842 MovieClip {UNIT08_FIRE} Frame 1
"shoot"Symbol 842 MovieClip {UNIT08_FIRE} Frame 4
"itai"Symbol 842 MovieClip {UNIT08_FIRE} Frame 8
"mahi"Symbol 842 MovieClip {UNIT08_FIRE} Frame 12
"nige"Symbol 842 MovieClip {UNIT08_FIRE} Frame 15
"stay"Symbol 855 MovieClip {UNIT09_SNIPER} Frame 1
"shoot"Symbol 855 MovieClip {UNIT09_SNIPER} Frame 4
"itai"Symbol 855 MovieClip {UNIT09_SNIPER} Frame 8
"mahi"Symbol 855 MovieClip {UNIT09_SNIPER} Frame 12
"nige"Symbol 855 MovieClip {UNIT09_SNIPER} Frame 15
"stay"Symbol 873 MovieClip {UNIT10_KNIGHT} Frame 1
"attack"Symbol 873 MovieClip {UNIT10_KNIGHT} Frame 3
"itai"Symbol 873 MovieClip {UNIT10_KNIGHT} Frame 10
"mahi"Symbol 873 MovieClip {UNIT10_KNIGHT} Frame 14
"nige"Symbol 873 MovieClip {UNIT10_KNIGHT} Frame 17
"stay"Symbol 888 MovieClip {UNIT11_HONE} Frame 1
"attack"Symbol 888 MovieClip {UNIT11_HONE} Frame 3
"itai"Symbol 888 MovieClip {UNIT11_HONE} Frame 10
"mahi"Symbol 888 MovieClip {UNIT11_HONE} Frame 14
"nige"Symbol 888 MovieClip {UNIT11_HONE} Frame 17
"stay"Symbol 916 MovieClip {UNIT12_BIG} Frame 1
"attack"Symbol 916 MovieClip {UNIT12_BIG} Frame 3
"itai"Symbol 916 MovieClip {UNIT12_BIG} Frame 20
"mahi"Symbol 916 MovieClip {UNIT12_BIG} Frame 24
"nige"Symbol 916 MovieClip {UNIT12_BIG} Frame 27
"stay"Symbol 1316 MovieClip {UNIT13_YOWAI} Frame 1
"mahi"Symbol 1316 MovieClip {UNIT13_YOWAI} Frame 3
"stay"Symbol 1326 MovieClip {UNIT15_KATAI} Frame 1
"mahi"Symbol 1326 MovieClip {UNIT15_KATAI} Frame 3
"stay"Symbol 1347 MovieClip {UNIT16_BOSS} Frame 1
"attack"Symbol 1347 MovieClip {UNIT16_BOSS} Frame 3
"mahi"Symbol 1347 MovieClip {UNIT16_BOSS} Frame 11




http://swfchan.com/11/51488/info.shtml
Created: 21/4 -2009 00:08:33 Last modified: 21/4 -2009 00:08:33 Server time: 24/11 -2017 00:58:43