
;==================================================================================================================================
[StateDef -2]
;============================================================================================================================
;--------------------------------------------------------------------------------------------------
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;  僨僶僢僌昞帵
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;--------------------------------------------------------------------------------------------------
;  恊曄峏壜擻椞堟僼儔僌傪昞帵丅

[State -2, 杮懱僨僶僢僌昞帵]
type = DisplayToClipboard
trigger1 = !IsHelper
text = "Flag:%d"
params = var(56)
ignorehitpause = 1

[State 僞僀儉傾僢僾夞暅僗僀僢僠 1偱on 偦傟埲奜偱off]
type = varset
triggerall = !Ishelper
trigger1 = roundstate = 0
sysfvar(4) = 1

;--------------------------------------------------------------------------------------------------
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;  杮懱愝掕
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;--------------------------------------------------------------------------------------------------

[State 帋崌帪娫寁應]
type = Varadd
triggerall = !ishelper
trigger1 = 1
sysvar(4) = sysvar(4) + 1
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------

[State 墘弌梡]
Type = AssertSpecial
TriggerAll = TeamMode = Single
TriggerAll = Enemy,TeamMode = Single
trigger1 = NumExplod(41051)
Trigger2 = (RoundNo>=3)*(RoundState=[0,4])
Flag = NoMusic
SuperMovetime = 99999999
PauseMovetime = 99999999

;--------------------------------------------------------------------------------------------------

[State 尰嵼僗僥乕僩壜帇壔]
Type = DisplayToClipboard
Trigger1 = !IsHelper
Trigger1 = var(10) := StateNo
Trigger1 = 1
Text = "AI:%d, Pos X:%f, Pos Y:%f"
Params = Var(10), P2BodyDist X, P2BodyDist Y
IgnoreHitPause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State 夋柺屌掕]
type = Screenbound
trigger1 = ishelper
value = 0
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------

[State 僗僥乕僩妛廗]
type = ParentVarSet
triggerall = IsHelper(166)
triggerall = stateno != 166
trigger1 = movereversed
var(18) = StateNo
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------

[State 挻懄巰妛廗]
type = ParentVarSet
triggerall = IsHelper(166)
triggerall = movereversed
triggerall = stateno != 166
trigger1 = hitpausetime
var(19) = StateNo
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------

[State -2, 傒傜偔傞幃傾僯儊婰壇]
type = ParentVarSet
triggerall = playerIDexist(parent,ID)
triggerall = !root,var(8)
triggerall = numtarget = 1
triggerall = target,ishelper(115115)
triggerall = target,var(2)
triggerall = target,stateno = 445555
trigger1 = IsHelper(16108) || IsHelper(16109) || IsHelper(16110) || IsHelper(16111)
trigger2 = IsHelper(16112) || IsHelper(16113) || IsHelper(16114) || IsHelper(16115)
trigger3 = IsHelper(16116) || IsHelper(16117) || IsHelper(16118) || IsHelper(16119)
trigger4 = IsHelper(16120) || IsHelper(16121) || IsHelper(16122) || IsHelper(16123)
var(8) = target,var(2)
ignorehitpause = 1

[State -2, 晛捠偺傾僯儊婰壇]
type = VarSet
trigger1 = !IsHelper
trigger1 = PalNo = 12
trigger1 = !var(13)
trigger1 = Enemy,MoveHit
var(13) = Enemy,Anim
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------

[State -2, 帪巭傔柍帇]
type = Pause
trigger1 = PalNo = 12
trigger1 = !IsHelper
time = 9999999999999
movetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------

[State -2, 帪巭傔柍帇]
type = SuperPause
trigger1 = PalNo = 12
trigger1 = !IsHelper
anim = -1
time = 9999999999999
movetime = 9999999999999
darken = 0
p2defmul = 1
unhittable = 0
ignorehitpause = 1

;===============================================================================================
;     丂丂丂丂崻惈抣
;===============================================================================================
[State Sprit2]
type = DefenceMulSet
triggerall = !Ishelper
Trigger1 = RoundNo <= 2
Trigger1 = Palno < 11
Trigger1 = Life > 750
value = 0.58
ignorehitpause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State Sprit2]
type = DefenceMulSet
triggerall = !Ishelper
Trigger1 = RoundNo <= 2
Trigger1 = Palno < 11
Trigger1 = Life <= 750&&Life > 500
value = 0.57
ignorehitpause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State Sprit2]
type = DefenceMulSet
triggerall = !Ishelper
Trigger1 = RoundNo <= 2
Trigger1 = Palno < 11
Trigger1 = Life <= 500&&Life > 250
value = 0.56
ignorehitpause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State Sprit2]
type = DefenceMulSet
triggerall = !Ishelper
Trigger1 = RoundNo <= 2
Trigger1 = Palno < 11
Trigger1 = Life <= 250&&Life > 0
Trigger2 = RoundNo >= 3
value = 0.1
ignorehitpause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

;===========================================================================
;     丂丂丂        峌寕曗惓
;============================================================================
[State Sprit2]
type = AttackMulSet
triggerall = !Ishelper
Trigger1 = Palno < 11
Trigger1 = p2Movetype = H
Trigger1 = Life <= 1000&&Life > 750
value = 1.3
ignorehitpause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State Sprit2]
type = AttackMulSet
triggerall = !Ishelper
Trigger1 = Palno < 11
Trigger1 = p2Movetype = H
Trigger1 = Life <= 750&&Life > 500
value = 1.6
ignorehitpause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State Sprit2]
type = AttackMulSet
triggerall = !Ishelper
Trigger1 = Palno < 11
Trigger1 = p2Movetype = H
Trigger1 = Life <= 500&&Life > 250
value = 1.9
ignorehitpause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

[State Sprit2]
type = AttackMulSet
triggerall = !Ishelper
Trigger1 = Palno < 11
Trigger1 = p2Movetype = H
Trigger1 = Life <= 250&&Life > 0
value = 2.0
ignorehitpause = 1
SuperMoveTime = 9999
PauseMoveTime = 9999

;=============================================================================
;           丂嫢埆惈擻
;=========================================================================

;==========================
;    儔僀僼偺娗棟
;==========================

[State -2, 儔僀僼娗棟]
type = LifeAdd
trigger1 = PalNo >= 11
trigger1 = NumHelper(164)
trigger1 = helper(164),gethitvar(damage)
value = -1
ignorehitpause = 1

[State 164]
Type = NotHitBy
trigger1 = NumHelper(164)
trigger1 = helper(164),gethitvar(damage)
value = SCA,AA,AT,AP
time = 10
ignorehitpause = 1

;==========================
;        嶍傝Proj
;==========================

[State Proj嶍傝]
type = Projectile
Trigger1 = !IsHelper
Trigger1 = StateNo != [24000,24020]
Trigger1 = StateNo != 3197
triggerall = palno >= 11
trigger1 = NumProjId(6666) = 0
trigger1 = movetype = A
reversal.attr = SCA,AA,AP,AT
projanim = 27000
projID = 6666
projremove = 0
projremovetime = 1
projsprpriority = -1
projheightbound = -1000000, 1000000
projedgebound = 1000000
projstagebound = 1000000
attr = SCA,AA,AP,AT
hitflag = MAFDPL
animtype = back
ground.type = trip
priority = 7, hit
projriority = 9999999999999
damage = 2147483647
givepower = powermax
yaccel = 9999999999999
fall = 1
fall.damage = 2147483647
sparkno = -1
guard.sparkno = -1
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1


;==========================
;      塱懕僞乕僎僢僩
;==========================

[State 920]
Type = Reversaldef
Trigger1 = !IsHelper
Trigger1 = PalNo >= 11
Reversal.Attr = SCA,AA,AT,AP
PauseTime = 0,0
priority  = 7,hit
SparkNo = -1
SparkXY = 0,0
NumHits = 0
ID = 999
IgnoreHitPause = 1

;==========================
;      巰偺愰崘
;==========================

[State 920]
Type = TargetLifeAdd
Trigger1 = !IsHelper
Trigger1 = PalNo >= 11
Trigger1 = RoundState >= 3
value = -2147483647
IgnoreHitPause = 1

;==========================
;    僞僀儉傾僢僾夞暅
;==========================

[State TimeUp夞暅]
Type = LifeSet
Triggerall = !IsHelper
TriggerAll = RoundState >= 3
Triggerall = PalNo >= 11
Trigger1 = PalNo = 12
Trigger2 = PalNo = 11
Trigger2 = sysfvar(5) = 1
value = 2147483647
ignorehitpause = 1

;==========================
;        NotHitBy
;==========================

[State NotHitBy]
Type = NotHitBy
Trigger1 = !IsHelper
Trigger1 = PalNo >= 11
value = SCA,AA,AT,AP
ignorehitpause = 1

;==========================
;         僗僥敳偗
;==========================

[State Exit];惓捈柺搢偩偭偨偗偳丄偙偺検偱栺25乣30暘偱偡丅
Type = SelfState
TriggerAll = !IsHelper
TriggerAll = PalNo >= 11
TriggerAll = RoundState >= 2
Trigger1 = StateNo != 13005&&StateNo != 13010&&StateNo != 13020&&StateNo != 13100
Trigger1 = StateNo != 14005&&StateNo != 14006&&StateNo != 14007&&StateNo != 13800
Trigger1 = StateNo != 24000&&StateNo != 24010&&StateNo != 24020&&StateNo != 3197
Trigger1 = StateNo != 1000&&StateNo != 1010&&StateNo != 1005&&StateNo != 1050&&StateNo != 1052&&StateNo != 1053
Trigger1 = StateNo != 1051&&StateNo != 1060&&StateNo != 1061&&StateNo != 1062&&StateNo != 1063&&StateNo != 1064
Trigger1 = StateNo != 1070&&StateNo != 1071&&StateNo != 14005&&StateNo != 14006&&StateNo != 14007&&StateNo != 1080&&StateNo != 1081&&StateNo != 1082
Trigger1 = StateNo != 13800&&StateNo != 1800&&StateNo != 1850&&StateNo != 2800
Trigger1 = StateNo != 1200&&StateNo != 1205&&StateNo != 1210&&StateNo != 1215&&StateNo!=2200&&StateNo!=2205&&StateNo!=2210
Trigger1 = (StateNo != [50,53]) && StateNo != 100&&StateNo != 120&&StateNo != 130&&StateNo != 131&&StateNo != 132
Trigger1 = StateNo != 0&&(StateNo != [10,12])&&StateNo != 20&&StateNo != 40&&StateNo != 45&&StateNo != 420&&StateNo != 230
Trigger1 = StateNo != 100&&StateNo != 101&&StateNo != 102&&StateNo != 103&&StateNo != 104&&StateNo != 105
Trigger1 = StateNo != 106&&StateNo != 107&&StateNo != 108&&StateNo != 109&&StateNo != 110&&StateNo != 140
Trigger1 = StateNo != 111&&StateNo != 112&&StateNo != 113&&StateNo != 114&&StateNo != 115&&StateNo != 116
Trigger1 = StateNo != 170&&StateNo != 175&&StateNo != 190&&StateNo != 191&&StateNo != 14500&&StateNo != 220&&StateNo != 320
Trigger1 = StateNo != 200&&StateNo != 300 && StateNo != 400&&StateNo != 210&&StateNo != 310&&StateNo != 410
Trigger1 = StateNo != 20&&StateNo != 730&&StateNo != 700&&StateNo != 105&&StateNo != 195&&StateNo != 100&&StateNo != 990
Trigger1 = StateNo != 100&&(stateno = [190,192])&&StateNo != 117&&StateNo != 118&&StateNo != 119&&StateNo != 120
Trigger1 = StateNo != 900&&StateNo != 901&&StateNo != 910&&StateNo != 911&&StateNo != 920&&StateNo != 921&&(stateno = [180,185])
Trigger1 = StateNo != 195&&StateNo != 196
value = 1
ignorehitpause = 1
superpausetime = 9999999999999
pausemovetime = 9999999999999

;===================================================================
;強堗僆僯儚儖僪幃僗僥敳偗丅忋婰偺StateNo!=XXX偺!=傪=偵抲姺偟偨偩偗
;摨偠StateNo柤偱傕帪娫娔帇偑掆巭偟偨応崌傗帺暘偺帪娫偑摦偐側偄偲偐
;傗傜傟摦嶌偱偁偭偨傜摝偘傞

[State Exit]
Type = SelfState
Trigger1 = !IsHelper
TriggerAll = PalNo >= 11
TriggerAll = RoundState >= 2
TriggerAll = MoveType = H || sysvar(1) != 455*gametime+971+gametime%(-37564)
Trigger1 = StateNo = 13005||StateNo = 13010||StateNo = 13020||StateNo = 13100
Trigger1 = StateNo = 14005||StateNo = 14006||StateNo = 14007||StateNo = 13800
Trigger1 = StateNo = 24000||StateNo = 24010||StateNo = 24020||StateNo = 3197
Trigger1 = StateNo = 1000||StateNo = 1010||StateNo = 1005||StateNo = 1050||StateNo = 1052||StateNo = 1053
Trigger1 = StateNo = 1051||StateNo = 1060||StateNo = 1061||StateNo = 1062||StateNo = 1063||StateNo = 1064
Trigger1 = StateNo = 1070||StateNo = 1071||StateNo = 14005||StateNo = 14006||StateNo = 14007||StateNo = 1080||StateNo = 1081||StateNo = 1082
Trigger1 = StateNo = 13800||StateNo = 1800||StateNo = 1850||StateNo = 2800
Trigger1 = StateNo = 1200||StateNo = 1205||StateNo = 1210||StateNo = 1215||StateNo!=2200||StateNo!=2205||StateNo!=2210
Trigger1 = (StateNo = [50,53]) || StateNo = 100||StateNo = 120||StateNo = 130||StateNo = 131||StateNo = 132
Trigger1 = StateNo = 0||(StateNo = [10,12])||StateNo = 20||StateNo = 40||StateNo = 45||StateNo = 420||StateNo = 230
Trigger1 = StateNo = 100||StateNo = 101||StateNo = 102||StateNo = 103||StateNo = 104||StateNo = 105
Trigger1 = StateNo = 106||StateNo = 107||StateNo = 108||StateNo = 109||StateNo = 110||StateNo = 140
Trigger1 = StateNo = 111||StateNo = 112||StateNo = 113||StateNo = 114||StateNo = 115||StateNo = 116
Trigger1 = StateNo = 170||StateNo = 175||StateNo = 190||StateNo = 191||StateNo = 14500||StateNo = 220||StateNo = 320
Trigger1 = StateNo = 200||StateNo = 300 || StateNo = 400||StateNo = 210||StateNo = 310||StateNo = 410
Trigger1 = StateNo = 20||StateNo = 730||StateNo = 700||StateNo = 105||StateNo = 195||StateNo = 100||StateNo = 990
Trigger1 = StateNo = 100||(stateno = [190,192])||StateNo = 117||StateNo = 118||StateNo = 119||StateNo = 120
Trigger1 = StateNo = 900||StateNo = 901||StateNo = 910||StateNo = 911||StateNo = 920||StateNo = 921||(stateno = [180,185])
Trigger1 = StateNo = 195||StateNo = 196
value = 1
ignorehitpause = 1
superpausetime = 9999999999999
pausemovetime = 9999999999999


;==========================
;       搥寢夝彍
;==========================

[State -2]
type = SelfState
triggerall = !IsHelper
triggerall = PalNo = 12
triggerall = Alive
triggerall = hitpausetime
trigger1 = hitpausetime > 5
trigger2 = RoundState > 2
value = 999999999
ignorehitpause = 1

;=============================================================================
;           儅僕僢僋僒乕僉僢僩僔僗僥儉娭楢(挻娙堈)
;=============================================================================

;===================================
;MAX忬懺僙僢僩
;===================================

[State var]
type = varset
triggerall = !Ishelper
trigger1 = var(12) = 0
trigger1 = power = 3000
var(12) = 1
ignorehitpause = 1

[State varset]
type = varset
triggerall = !Ishelper
trigger1 = power = 0
trigger1 = var(12) = 1
trigger2 = roundstate = 0
var(12) = 0

[State 7P埲崀 or RoundNo3 梡]
Type = PowerSet
triggerall = !Ishelper
Trigger1 = PalNo >= 7
Trigger2 = RoundNo >= 3
Value = 3000
ignorehitpause = 1
superpausetime = 9999999999999
pausemovetime = 9999999999999

;===================================
;MAX偱偺夞暅
;===================================
[State -2]
Type = LifeAdd
triggerall = !Ishelper
TriggerAll = PalNo <= 10
Triggerall = Gametime%3 = 0
Trigger1 = Palno != 11
Trigger1 = var(12) = 1
Trigger1 = MoveType != H
Kill = 0
Value = 2

;===================================
;MAX偱偺僷儚乕徚旓
;===================================

[State -2]
Type = PowerAdd
triggerall = !Ishelper
TriggerAll = PalNo <= 6
triggerall = roundstate = 2
Triggerall = Gametime%1 = 0
Trigger1 = var(12) = 1
Kill = 0
Value = -3

;===================================
;MAX忬懺帇妎壔
;===================================

[State HEAT]
type = Explod
triggerall = !Ishelper
trigger1 = var(12) = 1
trigger1 = !Numexplod(9104)
anim = 9104
ID = 9104
pos = ifelse(teamside=2,280,12),224
postype = left
bindtime = -1
supermove = 1
scale = .5,.5
ontop = 1
ownpal = 1

[State explod]
type = RemoveExplod
triggerall = !Ishelper
trigger1 = var(12) = 0
trigger2 = power = 0
ID = 9104


;--------------------------------------------------------------------------------------------------
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;  忢挀僿儖僷乕孲惗惉
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;--------------------------------------------------------------------------------------------------

;=============================================================================
;           丂旘傃摴嬶嶦偟敪摦
;=============================================================================

[State 旘傃摴嬶嶦偟]
Type = Helper
Triggerall = !IsHelper
Triggerall = PalNo <= 10
Triggerall = !NumHelper(77777)
Trigger1 = Anim = 1002
Trigger2 = Anim = 1003
Trigger3 = Anim = 1005
Trigger4 = Anim = 1800 && AnimElem = 7
Trigger5 = Anim = 1850 && AnimElem = 7
name = "gokai"
id = 77777
pos = 0,0
postype = p1
stateno = 20077
helpertype = player
ownpal = 1
keyctrl = 0
ignorehitpause = 1

;=============================================================================
;           丂偙偙偐傜嫢埆敪摦
;=============================================================================
;  傾乕儅乕僿儖僷乕惗惉丅

[State -2, 傾乕儅乕僿儖僷乕]
type = Helper
triggerall = !IsHelper&&PalNo>=11
trigger1   = !NumHelper(160)	;傾乕儅乕僿儖僷乕
ID = 160
name = "Armor"
helpertype = Player
stateno = 160
keyctrl = 1
ownpal = 1
supermovetime = 999999999999
pausemovetime = 999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  帪巭傔夝彍僿儖僷乕儊儌儕妋曐梡僟儈乕僿儖僷乕傪惗惉丅
;  帪巭傔夝彍僿儖僷乕1偐傜惗惉偡傞帪巭傔夝彍僿儖僷乕2僿儖僷乕偺椞堟傪妋曐偟偰偍偔丅
;  儕僢僋巵偺僿僽儞僘僎乕僩偺婰弎偐傜偍庁傝偟傑偟偨丅

[State -2, 帪巭傔夝彍僿儖僷乕儊儌儕妋曐梡僟儈乕]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(161)	;帪巭傔夝彍僿儖僷乕儊儌儕妋曐梡僟儈乕
trigger1   = !NumHelper(162)	;帪巭傔夝彍僿儖僷乕1
ID = 161
name = "Reject-Time-Freeze-Dummy"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  帪巭傔夝彍僿儖僷乕1傪惗惉丅
;  惓妋偵偼帪巭傔夝彍僿儖僷乕2傪惗惉偡傞僿儖僷乕丅
;  偮偄偱偵ReversalDef偐傜怓乆偝偣傞丅(摉恎懄巰丒懄巰曉偟丒挻懄巰曉偟側偳)

[State -2, 帪巭傔夝彍僿儖僷乕1]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = NumHelper(161)	;帪巭傔夝彍僿儖僷乕儊儌儕妋曐梡僟儈乕
trigger1   = !NumHelper(162)	;帪巭傔夝彍僿儖僷乕1
ID = 162
name = "Reject-Time-Freeze1"
helpertype = Player
supermovetime = 99999999999
pausemovetime = 99999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  揋杮懱僞乕僎僢僩庢摼梡僿儖僷乕傪惗惉丅
;  偄傢備傞儅乕僉儞僌僿儖僷乕丅
;  揋杮懱偺僞乕僎僢僩傪庢摼偟偰僞僎僗僥偟偨傝僞僎儔僀僼偟偨傝偡傞丅
;  偪側傒偵11P埲忋偱傕悢彮側偄嶍傝偲偟偰妶桇偟偰傕傜偆

[State -2, 儅乕僉儞僌僿儖僷乕]
type = Helper
triggerall = !IsHelper&&PalNo>=11
trigger1   = !NumHelper(163)	;儅乕僉儞僌僿儖僷乕
ID = 163
name = "Target"
helpertype = Player
supermovetime = 99999999999
pausemovetime = 99999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  旐抏梡僿儖僷乕傪惗惉丅
;  壗婥偵廳梫側僿儖僷乕丅
;  挻懄巰搳偘傗慼惗, Proj偵傛傞僗僥乕僩憲傝側偳條乆側帠偵棙梡偟傑偡丅

[State -2, 旐抏梡僿儖僷乕]
type = Helper
triggerall = !IsHelper&&PalNo>=11
trigger1   = !NumHelper(164)
ID = 164
name = "Hidan"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  傒傜偔傞偝傫幃傾僯儊庢摼梡ReversalDef僿儖僷乕傪惗惉丅
;  傒傜偔傞偝傫幃傾僯儊庢摼帪偵摉恎偑昁梫偵側傞偺偱偙偺僿儖僷乕偵擟偣傞丅

[State -2, 傒傜偔傞偝傫梡ReversalDef僿儖僷乕]
type = Helper
triggerall = !IsHelper&&PalNo=12
trigger1   = !NumHelper(165)
ID = 165
name = "Muracle-ReversalDef"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  揋懄巰 / 挻懄巰僗僥乕僩庢摼梡僿儖僷乕傪惗惉丅
;  扵嵏偑側偄偺偱偙偺僿儖僷乕傪媇惖偵偟偰僗僥乕僩傪庢摼偡傞丅

[State -2, 僗僥乕僩廗摼梡僿儖僷乕]
type = Helper
triggerall = !IsHelper&&PalNo=12
trigger1   = !NumHelper(166)
ID = 166
name = "State"
helpertype = Player
supermovetime = 99999999999
pausemovetime = 99999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;  暲楍崿慄僿儖僷乕儊儌儕妋曐梡僟儈乕僿儖僷乕 + 暲楍崿慄旐抏僿儖僷乕惗惉
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;--------------------------------------------------------------------------------------------------
;  暲楍崿慄僿儖僷乕儊儌儕妋曐梡僟儈乕僿儖僷乕傪惗惉丅
;  暲楍崿慄旐抏僿儖僷乕1偐傜惗惉偡傞暲楍崿慄僿儖僷乕1偺椞堟傪妋曐偟偰偍偔丅
;  暲楍崿慄旐抏僿儖僷乕偲岎屳偵摨偠傕偺傪24屄惗惉丅

[State -2, 暲楍崿慄愯桳1]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(99999)	;嵟廔僿儖僷乕
trigger1   = !NumHelper(16000)	;暲楍崿慄旐抏僿儖僷乕1
ID = 16999
name = "H-Konsen-Dummy"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  暲楍崿慄旐抏僿儖僷乕傪惗惉丅
;  暲楍崿慄僿儖僷乕1傪惗惉偡傞偨傔偺僿儖僷乕丅
;  偙偺僿儖僷乕偺椞堟偑暲楍崿慄僿儖僷乕偺僞乕僎僢僩椞堟偵側偭偨傝,恊曄峏偺僞乕僎僢僩椞堟偵側傞丅
;  杮懱偐傜屇傃弌偡偺偼嵟弶偺1F栚偺傒丅
;  恊曄峏壜擻斖埻偺ID偱側偗傟偽僨僗僩儘僀偟,嵟廔僿儖僷乕偐傜惗惉偝傟傞丅

[State -2, 暲楍崿慄旐抏僿儖僷乕1]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(99999)	;嵟廔僿儖僷乕
trigger1   = !NumHelper(16000)	;暲楍崿慄旐抏僿儖僷乕1
ID = 16000
name = "H-Konsen-Hidan 1"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  埲壓偼孞傝曉偟丅

[State -2, 暲楍崿慄愯桳2]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(99999)	;嵟廔僿儖僷乕
trigger1   = !NumHelper(16001)	;暲楍崿慄旐抏僿儖僷乕2
ID = 16999
name = "H-Konsen-Dummy"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  埲壓偼孞傝曉偟丅

[State -2, 暲楍崿慄旐抏僿儖僷乕2]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(99999)	;嵟廔僿儖僷乕
trigger1   = !NumHelper(16001)	;暲楍崿慄旐抏僿儖僷乕2
ID = 16001
name = "H-Konsen-Hidan 2"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  埲壓偼孞傝曉偟丅

[State -2, 暲楍崿慄愯桳3]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(99999)	;嵟廔僿儖僷乕
trigger1   = !NumHelper(16002)	;暲楍崿慄旐抏僿儖僷乕3
ID = 16999
name = "H-Konsen-Dummy"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  埲壓偼孞傝曉偟丅

[State -2, 暲楍崿慄旐抏僿儖僷乕3]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(99999)	;嵟廔僿儖僷乕
trigger1   = !NumHelper(16002)	;暲楍崿慄旐抏僿儖僷乕3
ID = 16002
name = "H-Konsen-Hidan 3"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  埲壓偼孞傝曉偟丅

[State -2, 暲楍崿慄愯桳4]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(99999)	;嵟廔僿儖僷乕
trigger1   = !NumHelper(16003)	;暲楍崿慄旐抏僿儖僷乕4
ID = 16999
name = "H-Konsen-Dummy"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  埲壓偼孞傝曉偟丅

[State -2, 暲楍崿慄旐抏僿儖僷乕4]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(99999)	;嵟廔僿儖僷乕
trigger1   = !NumHelper(16003)	;暲楍崿慄旐抏僿儖僷乕4
ID = 16003
name = "H-Konsen-Hidan 4"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  埲壓偼孞傝曉偟丅

[State -2, 暲楍崿慄愯桳5]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(99999)	;嵟廔僿儖僷乕
trigger1   = !NumHelper(16004)	;暲楍崿慄旐抏僿儖僷乕5
ID = 16999
name = "H-Konsen-Dummy"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  埲壓偼孞傝曉偟丅

[State -2, 暲楍崿慄旐抏僿儖僷乕5]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(99999)	;嵟廔僿儖僷乕
trigger1   = !NumHelper(16004)	;暲楍崿慄旐抏僿儖僷乕5
ID = 16004
name = "H-Konsen-Hidan 5"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  埲壓偼孞傝曉偟丅

[State -2, 暲楍崿慄愯桳6]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(99999)	;嵟廔僿儖僷乕
trigger1   = !NumHelper(16005)	;暲楍崿慄旐抏僿儖僷乕6
ID = 16999
name = "H-Konsen-Dummy"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  埲壓偼孞傝曉偟丅

[State -2, 暲楍崿慄旐抏僿儖僷乕6]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(99999)	;嵟廔僿儖僷乕
trigger1   = !NumHelper(16005)	;暲楍崿慄旐抏僿儖僷乕6
ID = 16005
name = "H-Konsen-Hidan 6"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  埲壓偼孞傝曉偟丅

[State -2, 暲楍崿慄愯桳7]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(99999)	;嵟廔僿儖僷乕
trigger1   = !NumHelper(16006)	;暲楍崿慄旐抏僿儖僷乕7
ID = 16999
name = "H-Konsen-Dummy"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  埲壓偼孞傝曉偟丅

[State -2, 暲楍崿慄旐抏僿儖僷乕7]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(99999)	;嵟廔僿儖僷乕
trigger1   = !NumHelper(16006)	;暲楍崿慄旐抏僿儖僷乕7
ID = 16006
name = "H-Konsen-Hidan 7"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  埲壓偼孞傝曉偟丅

[State -2, 暲楍崿慄愯桳8]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(99999)	;嵟廔僿儖僷乕
trigger1   = !NumHelper(16007)	;暲楍崿慄旐抏僿儖僷乕8
ID = 16999
name = "H-Konsen-Dummy"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  埲壓偼孞傝曉偟丅

[State -2, 暲楍崿慄旐抏僿儖僷乕8]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(99999)	;嵟廔僿儖僷乕
trigger1   = !NumHelper(16007)	;暲楍崿慄旐抏僿儖僷乕8
ID = 16007
name = "H-Konsen-Hidan 8"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  埲壓偼孞傝曉偟丅

[State -2, 暲楍崿慄愯桳9]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(99999)	;嵟廔僿儖僷乕
trigger1   = !NumHelper(16008)	;暲楍崿慄旐抏僿儖僷乕9
ID = 16999
name = "H-Konsen-Dummy"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  埲壓偼孞傝曉偟丅

[State -2, 暲楍崿慄旐抏僿儖僷乕9]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(99999)	;嵟廔僿儖僷乕
trigger1   = !NumHelper(16008)	;暲楍崿慄旐抏僿儖僷乕9
ID = 16008
name = "H-Konsen-Hidan 9"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  埲壓偼孞傝曉偟丅

[State -2, 暲楍崿慄愯桳10]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(99999)	;嵟廔僿儖僷乕
trigger1   = !NumHelper(16009)	;暲楍崿慄旐抏僿儖僷乕10
ID = 16999
name = "H-Konsen-Dummy"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  埲壓偼孞傝曉偟丅

[State -2, 暲楍崿慄旐抏僿儖僷乕10]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(99999)	;嵟廔僿儖僷乕
trigger1   = !NumHelper(16009)	;暲楍崿慄旐抏僿儖僷乕10
ID = 16009
name = "H-Konsen-Hidan10"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  埲壓偼孞傝曉偟丅

[State -2, 暲楍崿慄愯桳11]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(99999)	;嵟廔僿儖僷乕
trigger1   = !NumHelper(16010)	;暲楍崿慄旐抏僿儖僷乕11
ID = 16999
name = "H-Konsen-Dummy"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  埲壓偼孞傝曉偟丅

[State -2, 暲楍崿慄旐抏僿儖僷乕11]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(99999)	;嵟廔僿儖僷乕
trigger1   = !NumHelper(16010)	;暲楍崿慄旐抏僿儖僷乕11
ID = 16010
name = "H-Konsen-Hidan11"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  埲壓偼孞傝曉偟丅

[State -2, 暲楍崿慄愯桳12]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(99999)	;嵟廔僿儖僷乕
trigger1   = !NumHelper(16011)	;暲楍崿慄旐抏僿儖僷乕12
ID = 16999
name = "H-Konsen-Dummy"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  埲壓偼孞傝曉偟丅

[State -2, 暲楍崿慄旐抏僿儖僷乕12]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(99999)	;嵟廔僿儖僷乕
trigger1   = !NumHelper(16011)	;暲楍崿慄旐抏僿儖僷乕12
ID = 16011
name = "H-Konsen-Hidan12"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  埲壓偼孞傝曉偟丅

[State -2, 暲楍崿慄愯桳13]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(99999)	;嵟廔僿儖僷乕
trigger1   = !NumHelper(16012)	;暲楍崿慄旐抏僿儖僷乕13
ID = 16999
name = "H-Konsen-Dummy"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  埲壓偼孞傝曉偟丅

[State -2, 暲楍崿慄旐抏僿儖僷乕13]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(99999)	;嵟廔僿儖僷乕
trigger1   = !NumHelper(16012)	;暲楍崿慄旐抏僿儖僷乕13
ID = 16012
name = "H-Konsen-Hidan13"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  埲壓偼孞傝曉偟丅

[State -2, 暲楍崿慄愯桳14]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(99999)	;嵟廔僿儖僷乕
trigger1   = !NumHelper(16013)	;暲楍崿慄旐抏僿儖僷乕14
ID = 16999
name = "H-Konsen-Dummy"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  埲壓偼孞傝曉偟丅

[State -2, 暲楍崿慄旐抏僿儖僷乕14]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(99999)	;嵟廔僿儖僷乕
trigger1   = !NumHelper(16013)	;暲楍崿慄旐抏僿儖僷乕14
ID = 16013
name = "H-Konsen-Hidan14"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  埲壓偼孞傝曉偟丅

[State -2, 暲楍崿慄愯桳15]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(99999)	;嵟廔僿儖僷乕
trigger1   = !NumHelper(16014)	;暲楍崿慄旐抏僿儖僷乕15
ID = 16999
name = "H-Konsen-Dummy"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  埲壓偼孞傝曉偟丅

[State -2, 暲楍崿慄旐抏僿儖僷乕15]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(99999)	;嵟廔僿儖僷乕
trigger1   = !NumHelper(16014)	;暲楍崿慄旐抏僿儖僷乕15
ID = 16014
name = "H-Konsen-Hidan15"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  埲壓偼孞傝曉偟丅

[State -2, 暲楍崿慄愯桳16]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(99999)	;嵟廔僿儖僷乕
trigger1   = !NumHelper(16015)	;暲楍崿慄旐抏僿儖僷乕16
ID = 16999
name = "H-Konsen-Dummy"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  埲壓偼孞傝曉偟丅

[State -2, 暲楍崿慄旐抏僿儖僷乕16]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(99999)	;嵟廔僿儖僷乕
trigger1   = !NumHelper(16015)	;暲楍崿慄旐抏僿儖僷乕16
ID = 16015
name = "H-Konsen-Hidan16"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  埲壓偼孞傝曉偟丅

[State -2, 暲楍崿慄愯桳17]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(99999)	;嵟廔僿儖僷乕
trigger1   = !NumHelper(16016)	;暲楍崿慄旐抏僿儖僷乕17
ID = 16999
name = "H-Konsen-Dummy"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  埲壓偼孞傝曉偟丅

[State -2, 暲楍崿慄旐抏僿儖僷乕17]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(99999)	;嵟廔僿儖僷乕
trigger1   = !NumHelper(16016)	;暲楍崿慄旐抏僿儖僷乕17
ID = 16016
name = "H-Konsen-Hidan17"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  埲壓偼孞傝曉偟丅

[State -2, 暲楍崿慄愯桳18]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(99999)	;嵟廔僿儖僷乕
trigger1   = !NumHelper(16019)	;暲楍崿慄旐抏僿儖僷乕18
ID = 16999
name = "H-Konsen-Dummy"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  埲壓偼孞傝曉偟丅

[State -2, 暲楍崿慄旐抏僿儖僷乕18]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(99999)	;嵟廔僿儖僷乕
trigger1   = !NumHelper(16017)	;暲楍崿慄旐抏僿儖僷乕18
ID = 16017
name = "H-Konsen-Hidan18"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  埲壓偼孞傝曉偟丅

[State -2, 暲楍崿慄愯桳19]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(99999)	;嵟廔僿儖僷乕
trigger1   = !NumHelper(16018)	;暲楍崿慄旐抏僿儖僷乕19
ID = 16999
name = "H-Konsen-Dummy"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  埲壓偼孞傝曉偟丅

[State -2, 暲楍崿慄旐抏僿儖僷乕19]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(99999)	;嵟廔僿儖僷乕
trigger1   = !NumHelper(16018)	;暲楍崿慄旐抏僿儖僷乕19
ID = 16018
name = "H-Konsen-Hidan19"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  埲壓偼孞傝曉偟丅

[State -2, 暲楍崿慄愯桳20]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(99999)	;嵟廔僿儖僷乕
trigger1   = !NumHelper(16019)	;暲楍崿慄旐抏僿儖僷乕20
ID = 16999
name = "H-Konsen-Dummy"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  埲壓偼孞傝曉偟丅

[State -2, 暲楍崿慄旐抏僿儖僷乕20]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(99999)	;嵟廔僿儖僷乕
trigger1   = !NumHelper(16019)	;暲楍崿慄旐抏僿儖僷乕20
ID = 16019
name = "H-Konsen-Hidan20"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  埲壓偼孞傝曉偟丅

[State -2, 暲楍崿慄愯桳21]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(99999)	;嵟廔僿儖僷乕
trigger1   = !NumHelper(16020)	;暲楍崿慄旐抏僿儖僷乕21
ID = 16999
name = "H-Konsen-Dummy"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  埲壓偼孞傝曉偟丅

[State -2, 暲楍崿慄旐抏僿儖僷乕21]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(99999)	;嵟廔僿儖僷乕
trigger1   = !NumHelper(16020)	;暲楍崿慄旐抏僿儖僷乕21
ID = 16020
name = "H-Konsen-Hidan21"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  埲壓偼孞傝曉偟丅

[State -2, 暲楍崿慄愯桳22]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(99999)	;嵟廔僿儖僷乕
trigger1   = !NumHelper(16021)	;暲楍崿慄旐抏僿儖僷乕22
ID = 16999
name = "H-Konsen-Dummy"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  埲壓偼孞傝曉偟丅

[State -2, 暲楍崿慄旐抏僿儖僷乕22]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(99999)	;嵟廔僿儖僷乕
trigger1   = !NumHelper(16021)	;暲楍崿慄旐抏僿儖僷乕22
ID = 16021
name = "H-Konsen-Hidan22"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  埲壓偼孞傝曉偟丅

[State -2, 暲楍崿慄愯桳23]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(99999)	;嵟廔僿儖僷乕
trigger1   = !NumHelper(16022)	;暲楍崿慄旐抏僿儖僷乕23
ID = 16999
name = "H-Konsen-Dummy"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  埲壓偼孞傝曉偟丅

[State -2, 暲楍崿慄旐抏僿儖僷乕23]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(99999)	;嵟廔僿儖僷乕
trigger1   = !NumHelper(16022)	;暲楍崿慄旐抏僿儖僷乕23
ID = 16022
name = "H-Konsen-Hidan23"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  埲壓偼孞傝曉偟丅

[State -2, 暲楍崿慄愯桳24]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(99999)	;嵟廔僿儖僷乕
trigger1   = !NumHelper(16023)	;暲楍崿慄旐抏僿儖僷乕24
ID = 16999
name = "H-Konsen-Dummy"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  埲壓偼孞傝曉偟丅

[State -2, 暲楍崿慄旐抏僿儖僷乕24]
type = Helper
triggerall = !IsHelper&&PalNo=12
triggerall = !NumHelper(99999)	;嵟廔僿儖僷乕
trigger1   = !NumHelper(16023)	;暲楍崿慄旐抏僿儖僷乕24
ID = 16023
name = "H-Konsen-Hidan24"
helpertype = Player
supermovetime = 9999999999999
pausemovetime = 9999999999999
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;  嵟廔僿儖僷乕惗惉
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;--------------------------------------------------------------------------------------------------
;  嵟廔僿儖僷乕傪惗惉丅
;  僿儖僷乕偼儊儌儕椞堟斣崋(僨僶僢僌夋柺偺Ctrl+C偱尒傜傟傞(59)側偳偺斣崋傪帺暘偑彑庤偵偦偆屇傫偱偄傑偡)
;  偺彫偝偄曽偐傜張棟偑偝傟傞偺偱(MoveType = A偺応崌偼桪愭揑偵張棟偝傟傑偡偑)晛捠偼堦斣嵟屻偵
;  張棟偝傟傞僿儖僷乕丅(僿儖僷乕偑惗惉偝傟偨僼儗乕儉偼,惗惉偝傟偨僿儖僷乕偺曽偑屻偵峴摦偱偒傑偡)

[State -2, 嵟廔僿儖僷乕]
type = Helper
triggerall = !IsHelper&&PalNo=12
trigger1   = !NumHelper(99999)	;嵟廔僿儖僷乕
ID = 99999
name = "Last"
helpertype = Player
supermovetime = 999999999999
pausemovetime = 999999999999
ignorehitpause = 1







;--------------------------------------------------------------------------------------------------
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;  僿儖僷乕僗僥乕僩屌掕
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;--------------------------------------------------------------------------------------------------

[State 屌掕]
Type = SelfState
triggerall = IsHelper
Trigger1 = IsHelper(77777)
value = 20077
ignorehitpause = 1

[State 屌掕]
Type = ChangeState
Trigger1 = IsHelper
Trigger1 = IsHelper(35000+Root,ID)
Trigger1 = StateNo != 35000
Value = 35000

[State -2, 暲楍崿慄僿儖僷乕僗僥乕僩屌掕]
type = SelfState
triggerall = IsHelper
trigger1   = IsHelper(16100) || IsHelper(16101) || IsHelper(16102) || IsHelper(16103)
trigger2   = IsHelper(16104) || IsHelper(16105) || IsHelper(16106) || IsHelper(16107)
trigger3   = IsHelper(16108) || IsHelper(16109) || IsHelper(16110) || IsHelper(16111)
trigger4   = IsHelper(16112) || IsHelper(16113) || IsHelper(16114) || IsHelper(16115)
trigger5   = IsHelper(16116) || IsHelper(16117) || IsHelper(16118) || IsHelper(16119)
trigger6   = IsHelper(16120) || IsHelper(16121) || IsHelper(16122) || IsHelper(16123)
value = ifelse(!sysvar(1),16100,ifelse((HitPauseTime && (sysvar(0) & 1)),7070707,16101))
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------

[State -2, 暲楍崿慄旐抏僿儖僷乕僗僥乕僩屌掕]
type = SelfState
triggerall = IsHelper
triggerall = PlayerIDExist(56)
trigger1   = IsHelper(16000) || IsHelper(16001) || IsHelper(16002) || IsHelper(16003)
trigger2   = IsHelper(16004) || IsHelper(16005) || IsHelper(16006) || IsHelper(16007)
trigger3   = IsHelper(16008) || IsHelper(16009) || IsHelper(16010) || IsHelper(16011)
trigger4   = IsHelper(16012) || IsHelper(16013) || IsHelper(16014) || IsHelper(16015)
trigger5   = IsHelper(16016) || IsHelper(16017) || IsHelper(16018) || IsHelper(16019)
trigger6   = IsHelper(16020) || IsHelper(16021) || IsHelper(16022) || IsHelper(16023)
value = ifelse((PlayerID(56),var(56)),16001,16000)	;恊曄峏壜擻椞堟側傜捠忢張棟傊
ignorehitpause = 1					;偦偆偱側偗傟偽ID挷嵏僗僥乕僩傊

;--------------------------------------------------------------------------------------------------
;  仸偙偺曽朄偱僿儖僷乕偺僗僥乕僩傪屌掕偡傞偲var(50)曄悢偑巊偊側偔側傝傑偡丅
;  var(50)曄悢傪巊梡偡傞応崌偼1偮1偮僗僥僐儞傪梡堄偟偰屌掕偟偰偁偘偰偔偩偝偄丅

[State -2, 僿儖僷乕僗僥乕僩屌掕]
type = SelfState
triggerall = IsHelper
trigger1   = var(50) := 160	;傾乕儅乕僿儖僷乕
trigger1   = IsHelper(var(50))
trigger2   = var(50) := 161	;帪巭傔夝彍僿儖僷乕儊儌儕妋曐梡僟儈乕僿儖僷乕
trigger2   = IsHelper(var(50))
trigger3   = var(50) := 162	;帪巭傔夝彍僿儖僷乕1
trigger3   = IsHelper(var(50))
trigger4   = var(50) := 163	;儅乕僉儞僌僿儖僷乕
trigger4   = IsHelper(var(50))
trigger5   = var(50) := 164	;旐抏梡僿儖僷乕
trigger5   = IsHelper(var(50))
trigger6   = var(50) := 165	;傒傜偔傞偝傫幃傾僯儊庢摼梡ReversalDef僿儖僷乕
trigger6   = IsHelper(var(50))
trigger7   = var(50) := 166	;僗僥乕僩庢摼梡僿儖僷乕
trigger7   = IsHelper(var(50))
trigger8   = var(50) := 167	;帪巭傔夝彍僿儖僷乕3
trigger8   = IsHelper(var(50))
trigger9   = var(50) := 16999	;暲楍崿慄僿儖僷乕儊儌儕妋曐梡僿儖僷乕
trigger9   = IsHelper(var(50))
trigger10  = var(50) := 99999	;嵟廔僿儖僷乕
trigger10  = IsHelper(var(50))
value = var(50)
ignorehitpause = 1




;==================================================================================================================================
[StateDef -3]
;============================================================================================================================

[State varset]
type = varset
triggerall = !Ishelper
trigger1 = 1
sysvar(1) = 455*gametime+971+gametime%(-37564)

;--------------------------------------------------------------------------------------------------

[State -3, 曄悢偺弶婜壔]
type = Null
triggerall = !IsHelper
triggerall = PalNo = 12
triggerall = !RoundState
trigger1   = var(56) := 0 || 1	;恊曄峏壜擻椞堟僼儔僌
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  恊曄峏僿儖僷乕偺ID傪挷傋, 恊曄峏壜擻偐偳偆偐傪挷傋傞丅
;  儅僋儀僗巵偺儕乕僛偺婰弎傪嶲峫偵偝偣偰捀偒傑偟偨丅

[State -3, 恊曄峏僿儖僷乕ID挷嵏]
type = VarSet
triggerall = !IsHelper
triggerall = PalNo = 12
triggerall = TeamSide = 1		;1P懁尷掕
triggerall = NumHelper(16000) && NumHelper(16001) && NumHelper(16002)
triggerall = (Helper(16000),ID % 256 = [30,60])
triggerall = (Helper(16001),ID % 256 = [30,60])
trigger1   = (Helper(16002),ID % 256 = [30,60])
var(56) = 1	;恊曄峏壜擻椞堟僼儔僌傪棫偰傞
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------

;--------------------------------------------------------------------------------------------------
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;  愱梡懳嶔梡僼儔僌僙僢僩
;劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
;--------------------------------------------------------------------------------------------------

[State -3, 愱梡懳嶔 - 傾乕僋]
type = VarSet
triggerall = !IsHelper
triggerall = RoundState = 0
triggerall = Enemy(0),Name = "Ayu Tukimiya"
triggerall = Enemy(0),AuthorName = "shikkoku"
triggerall = Enemy(NumEnemy > 1),Name = "Ayu Tukimiya"
trigger1   = Enemy(NumEnemy > 1),AuthorName = "shikkoku"
var(27) = (var(27) | 1)
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------

[State -3, 愱梡懳嶔 - 儐儀儖]
type = VarSet
triggerall = !IsHelper
triggerall = RoundState = 0
triggerall = Enemy(0),Name = "Yubel"
triggerall = Enemy(0),AuthorName = "tokuiten"
triggerall = Enemy(NumEnemy > 1),Name = "Yubel"
trigger1   = Enemy(NumEnemy > 1),AuthorName = "tokuiten"
var(27) = (var(27) | 2)
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------

[State -3, 愱梡懳嶔 - 愴戉堄巚]
type = VarSet
triggerall = !IsHelper
triggerall = RoundState = 0
triggerall = Enemy(0),Name = "Mizuchi"
triggerall = Enemy(0),AuthorName = "ahuron/alma"
triggerall = Enemy(NumEnemy > 1),Name = "Mizuchi"
trigger1   = Enemy(NumEnemy > 1),AuthorName = "ahuron/alma"
var(27) = (var(27) | 4)
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------

[State -3, 愱梡懳嶔 - 寚懝彮彈]
type = VarSet
triggerall = !IsHelper
triggerall = RoundState = 0
triggerall = Enemy(0),Name = "E Youmu"
triggerall = Enemy(0),AuthorName = "qwerty"
triggerall = Enemy(NumEnemy > 1),Name = "E Youmu"
trigger1   = Enemy(NumEnemy > 1),AuthorName = "qwerty"
var(27) = (var(27) | 8)
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------

[State -3, 愱梡懳嶔 - 崟僀僼儕乕僩]
type = VarSet
triggerall = !IsHelper
triggerall = RoundState = 0
triggerall = Enemy(0),Name = "efreet"
triggerall = Enemy(0),AuthorName = "shikkoku"
triggerall = Enemy(NumEnemy > 1),Name = "efreet"
trigger1   = Enemy(NumEnemy > 1),AuthorName = "shikkoku"
var(27) = (var(27) | 16)
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------

[State -3, 愱梡懳嶔 - UNKNOWN 12P (僀僌偺傫)]
type = VarSet
triggerall = !IsHelper
triggerall = RoundState = 0
triggerall = Enemy,PalNo = 12
triggerall = Enemy(0),Name = "UNKNOWN"
triggerall = Enemy(0),AuthorName = "hanma"
triggerall = Enemy(NumEnemy > 1),Name = "UNKNOWN"
trigger1   = Enemy(NumEnemy > 1),AuthorName = "hanma"
var(27) = (var(27) | 32)
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------

[State -3, 愱梡懳嶔 - 僀僽儕乕僗]
type = VarSet
triggerall = !IsHelper
triggerall = RoundState = 0
triggerall = Enemy(0),Name = "Remilia Scarlet"
triggerall = Enemy(0),AuthorName = "SAMSARA"
triggerall = Enemy(NumEnemy > 1),Name = "Remilia Scarlet"
trigger1   = Enemy(NumEnemy > 1),AuthorName = "SAMSARA"
var(27) = (var(27) | 64)
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------

[State -3, 愱梡懳嶔 - 僋儖僄儖僥傿傾 / 僔儞僌儔乕(捠忢儌乕僪 / 1P懁尷掕)]
type = VarSet
triggerall = !IsHelper
triggerall = RoundState = 0
trigger1   = Enemy(0),Name = "Crueltear=Relinquish" || (Enemy(0),Name = "Singular" && TeamSide = 1 && !Enemy(0),var(0))
trigger1   = Enemy(0),AuthorName = "YANMAR" || Enemy(0),AuthorName = "tokuiten"
trigger2   = Enemy(NumEnemy > 1),Name = "Crueltear=Relinquish" || (Enemy(NumEnemy > 1),Name = "Singular" && TeamSide = 1 && !Enemy(NumEnemy > 1),var(0))
trigger2   = Enemy(NumEnemy > 1),AuthorName = "YANMAR" || Enemy(NumEnemy > 1),AuthorName = "tokuiten"
var(27) = (var(27) | 128)
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------

[State -3, 愱梡懳嶔 - 僼僃僀儞僥傿傾]
type = VarSet
triggerall = !IsHelper
triggerall = RoundState = 0
trigger1   = Enemy(0),Name = "Faintear=Esperanto"
trigger1   = Enemy(0),AuthorName = "0-Saft"
trigger2   = Enemy(NumEnemy > 1),Name = "Faintear=Esperanto"
trigger2   = Enemy(NumEnemy > 1),AuthorName = "0-Saft"
var(27) = (var(27) | 128)
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------

[State -3, 愱梡懳嶔 - 僔儞僌儔乕]
type = VarSet
triggerall = !IsHelper
triggerall = RoundState = 1
triggerall = (var(27) & 128)
triggerall = Enemy(0),Name = "Singular"
triggerall = Enemy(NumEnemy > 1),Name = "Singular"
triggerall = Enemy(0),var(0)
trigger1   = Enemy(NumEnemy > 1),var(0)
var(27) = (var(27) & (128 ^ -1))
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------

[State -3, 愱梡懳嶔 - 僀儕僗]
type = VarSet
triggerall = !IsHelper
triggerall = RoundState = 0
triggerall = Enemy(0),Name = "Iris"
triggerall = Enemy(0),AuthorName = "tokuiten"
triggerall = Enemy(NumEnemy > 1),Name = "Iris"
trigger1   = Enemy(NumEnemy > 1),AuthorName = "tokuiten"
var(27) = (var(27) | 256)
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------

[State -3, 愱梡懳嶔 - R-晳]
type = VarSet
triggerall = !IsHelper
triggerall = RoundState = 0
triggerall = Enemy(0),Name = "r-mai"
triggerall = Enemy(0),AuthorName = "586"
triggerall = Enemy(NumEnemy > 1),Name = "r-mai"
trigger1   = Enemy(NumEnemy > 1),AuthorName = "586"
var(27) = (var(27) | 512)
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------

[State -3, 愱梡懳嶔 - 儅僔儘傆偀傫偖]
type = VarSet
triggerall = 0;!IsHelper
triggerall = RoundState = 0
triggerall = Enemy(0),Name = "G-Mashiro"
triggerall = Enemy(0),AuthorName = "lunatic"
triggerall = Enemy(NumEnemy > 1),Name = "G-Mashiro"
trigger1   = Enemy(NumEnemy > 1),AuthorName ="lunatic"
var(27) = (var(27) | 1024)
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------

[State -3, 愱梡懳嶔 - 僾儗乕僩巵]
type = VarSet
triggerall = !IsHelper
triggerall = RoundState = 0
triggerall = Enemy(0),AuthorName = "Pre-to"
trigger1   = Enemy(NumEnemy > 1),AuthorName = "Pre-to"
var(27) = (var(27) | 2048)
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------

[State -3, 愱梡懳嶔 - 恄棾丒楇]
type = VarSet
triggerall = 0;!IsHelper
triggerall = RoundState = 0
triggerall = Enemy(0),Name = "Shinryu_Zero"
triggerall = Enemy(0),AuthorName = "0-Saft"
triggerall = Enemy(NumEnemy > 1),Name = "Shinryu_Zero"
trigger1   = Enemy(NumEnemy > 1),AuthorName = "0-Saft"
var(27) = (var(27) | 2048 | 4096)
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------

[State -3, 愱梡懳嶔 - 恄嶇栭]
type = VarSet
triggerall = !IsHelper
triggerall = RoundState = 0
triggerall = Enemy(0),Name = "G-Sakuya"
triggerall = Enemy(0),AuthorName = "geese"
triggerall = Enemy(NumEnemy > 1),Name = "G-Sakuya"
trigger1   = Enemy(NumEnemy > 1),AuthorName = "geese"
var(27) = (var(27) | 8192)
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------

[State -3, 愱梡懳嶔 - 悧巕 / 儔僀僆儞]
type = VarSet
triggerall = !IsHelper
triggerall = RoundState = 0
trigger1   = Enemy(0),AuthorName = "OGko OGwo"
trigger2   = Enemy(NumEnemy > 1),AuthorName = "OGko OGwo"
var(27) = (var(27) | 16384)
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------

[State -3, 愱梡懳嶔 - N傾儕僗]
type = VarSet
triggerall = !IsHelper
triggerall = RoundState = 0
triggerall = TeamSide = 1
triggerall = Enemy(0),Name = "N_Alice"
triggerall = Enemy(0),AuthorName = "okihaito"
triggerall = Enemy(NumEnemy > 1),Name = "N_Alice"
trigger1   = Enemy(NumEnemy > 1),AuthorName = "okihaito"
var(27) = (var(27) | 32768)
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------

[State -3, 愱梡懳嶔 - S儗儈儕傾]
type = VarSet
triggerall = !IsHelper
triggerall = RoundState = 0
triggerall = TeamSide = 1
triggerall = Enemy(0),Name = "S_Remilia"
triggerall = Enemy(0),AuthorName = "okihaito"
triggerall = Enemy(NumEnemy > 1),Name = "S_Remilia"
trigger1   = Enemy(NumEnemy > 1),AuthorName = "okihaito"
var(27) = (var(27) | 65536)
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------

[State -3, 愱梡懳嶔 - S嶇栭]
type = VarSet
triggerall = !IsHelper
triggerall = RoundState = 0
triggerall = TeamSide = 1
triggerall = Enemy(0),Name = "S_Sakuya"
triggerall = Enemy(0),AuthorName = "okihaito"
triggerall = Enemy(NumEnemy > 1),Name = "S_Sakuya"
trigger1   = Enemy(NumEnemy > 1),AuthorName = "okihaito"
var(27) = (var(27) | 131072)
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------

[State -3, 愱梡懳嶔 - 傾儖僔僄儖]
type = VarSet
triggerall = !IsHelper
triggerall = RoundState = 0
triggerall = Enemy(0),Name = "ALSIEL"
triggerall = Enemy(0),AuthorName = "ahuron"
triggerall = Enemy(NumEnemy > 1),Name = "ALSIEL"
trigger1   = Enemy(NumEnemy > 1),AuthorName = "ahuron"
var(27) = (var(27) | 262144)
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------

[State -3, 愱梡懳嶔 - Kung Fu Man Special]
type = VarSet
triggerall = !IsHelper
triggerall = RoundState = 0
triggerall = Enemy(0),Name = "Kung Fu Man Special"
trigger1   = Enemy(NumEnemy > 1),Name = "Kung Fu Man Special"
var(27) = (var(27) | 524288)
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------

[State -3, 愱梡懳嶔 - C僷僠儏儕乕]
type = VarSet
triggerall = !IsHelper
triggerall = RoundState = 0
triggerall = Enemy(0),Name = "C_Patchouli"
triggerall = Enemy(0),AuthorName = "okihaito"
triggerall = Enemy(NumEnemy > 1),Name = "C_Patchouli"
trigger1   = Enemy(NumEnemy > 1),AuthorName = "okihaito"
var(27) = (var(27) | 1048576)
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------

[State -3, 愱梡懳嶔 - ADS2]
type = VarSet
triggerall = !IsHelper
triggerall = RoundState = 0
triggerall = Enemy(0),Name = "AxAyAzSSX"
triggerall = Enemy(0),AuthorName = "pkrs"
triggerall = Enemy(NumEnemy > 1),Name = "AxAyAzSSX"
trigger1   = Enemy(NumEnemy > 1),AuthorName = "pkrs"
var(27) = (var(27) | 2097152)
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------
;  Name偑恄傒偢偐偲旐傞偨傔, 栤戣帣傒偢偐偵懚嵼偟偰恄傒偢偐偵懚嵼偟側偄1斣偺傾僯儊偱敾暿偡傞丅

[State -3, 愱梡懳嶔 - 栤戣帣傒偢偐]
type = VarSet
triggerall = !IsHelper
triggerall = RoundState = 0
triggerall = Enemy(0),Name = "Unknown"
triggerall = Enemy(0),SelfAnimExist(1)			;栤戣帣傒偢偐偵懚嵼偡傞偑恄傒偢偐偵偼懚嵼偟側偄丅
triggerall = Enemy(0),AuthorName = "SAMSARA"
triggerall = Enemy(NumEnemy > 1),Name = "Unknown"
triggerall = Enemy(NumEnemy > 1),SelfAnimExist(1)	;栤戣帣傒偢偐偵懚嵼偡傞偑恄傒偢偐偵偼懚嵼偟側偄丅
trigger1   = Enemy(NumEnemy > 1),AuthorName = "SAMSARA"
var(27) = (var(27) | 4194304)
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------

[State -3, 愱梡懳嶔 - 1st R.S.P]
type = VarSet
triggerall = !IsHelper
triggerall = RoundState = 0
trigger1   = Enemy(0),Name = "RSP"
;triggerall = Enemy(0),AuthorName = "Remi"
trigger2   = Enemy(NumEnemy > 1),Name = "RSP"
;trigger1   = Enemy(NumEnemy > 1),AuthorName = "Remi"
var(27) = (var(27) | 8388608)
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------

[State -3, 愱梡懳嶔 - EX僛僢僩儞]
type = VarSet
triggerall = !IsHelper
triggerall = RoundState = 0
trigger1   = Enemy(0),Name = "EX-Zetton"
trigger1   = Enemy(0),AuthorName = "tokuiten"
trigger2   = Enemy(NumEnemy > 1),Name = "EX-Zetton"
trigger2   = Enemy(NumEnemy > 1),AuthorName = "tokuiten"
var(27) = (var(27) | 128 | 16777216)
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------

[State -3, 愱梡懳嶔 - 僙儗僱]
type = VarSet
triggerall = !IsHelper
triggerall = RoundState = 0
triggerall = Enemy(0),Name = "celene"
triggerall = Enemy(0),AuthorName = "piyo"
triggerall = Enemy(NumEnemy > 1),Name = "celene"
trigger1   = Enemy(NumEnemy > 1),AuthorName = "piyo"
var(27) = (var(27) | 33554432)
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------

[State -3, 愱梡懳嶔 - 揤杺]
type = VarSet
triggerall = !IsHelper
triggerall = RoundState = 0
triggerall = Enemy(0),Name = "Tenma"
triggerall = Enemy(0),AuthorName = "Aotsuki"
triggerall = Enemy(NumEnemy > 1),Name = "Tenma"
trigger1   = Enemy(NumEnemy > 1),AuthorName = "Aotsuki"
var(27) = (var(27) | 67108864)
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------

[State -3, 愱梡懳嶔 - 柍揋(徫)僌儕僼僅儞11~12P]
type = VarSet
triggerall = !IsHelper
triggerall = RoundState = 0
triggerall = Enemy(0),PalNo = [11,12]
triggerall = Enemy(0),Name = "M-Griffon"
triggerall = Enemy(0),AuthorName = "chimp"
triggerall = Enemy(NumEnemy > 1),PalNo = [11,12]
triggerall = Enemy(NumEnemy > 1),Name = "M-Griffon"
trigger1   = Enemy(NumEnemy > 1),AuthorName = "chimp"
var(27) = (var(27) | 134217728)
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------

[State -3, 愱梡懳嶔 - Amduscias]
type = VarSet
triggerall = !IsHelper
triggerall = RoundState = 0
triggerall = Enemy(0),Name = "Amduscias"
triggerall = Enemy(0),AuthorName = "minoo/愇"
triggerall = Enemy(NumEnemy > 1),Name = "Amduscias"
trigger1   = Enemy(NumEnemy > 1),AuthorName = "minoo/愇"
var(27) = (var(27) | 268435456)
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------

[State -3, 愱梡懳嶔 - 彈恄恄撧]
type = VarSet
triggerall = !IsHelper
triggerall = RoundState = 0
trigger1   = Enemy(0),Name = "Kanna Binomikoto"
trigger1   = Enemy(0),AuthorName = "SAMSARA"
trigger2   = Enemy(NumEnemy > 1),Name = "Kanna Binomikoto"
trigger2   = Enemy(NumEnemy > 1),AuthorName = "SAMSARA"
var(35) = (var(35) | 1)
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------

[State -3, 愱梡懳嶔 - 彈恄恄撧]
type = VarSet
triggerall = !IsHelper
triggerall = RoundState = 0
triggerall = Enemy(0),Name = "Kanna Binomikoto"
trigger1   = Enemy(0),AuthorName = "SAMSARA"
var(27) = (var(27) | 2048)
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------

[State -3, 愱梡懳嶔 - 憭巙婱]
type = VarSet
triggerall = 0;!IsHelper
triggerall = RoundState = 0
trigger1   = Enemy(0),Name = "Soushiki"
trigger1   = Enemy(0),AuthorName = "STYM"
trigger2   = Enemy(NumEnemy > 1),Name = "Soushiki"
trigger2   = Enemy(NumEnemy > 1),AuthorName = "STYM"
var(35) = (var(35) | 2)
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------

[State -3, 愱梡懳嶔 - 儅乕僔儍儖]
type = VarSet
triggerall = !IsHelper
triggerall = RoundState = 0
trigger1   = Enemy(0),Name = "Marshall"
;trigger1   = Enemy(0),AuthorName = "apelao"
trigger2   = Enemy(NumEnemy > 1),Name = "Marshall"
;trigger2   = Enemy(NumEnemy > 1),AuthorName = "apelao"
var(35) = (var(35) | 4)
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------

[State -3, 愱梡懳嶔 - S-偙偺偼]
type = VarSet
triggerall = !IsHelper
triggerall = RoundState = 0
trigger1   = Enemy(0),Name = "S-Konoha"
trigger1   = Enemy(0),AuthorName = "HALU"
trigger2   = Enemy(NumEnemy > 1),Name = "S-Konoha"
trigger2   = Enemy(NumEnemy > 1),AuthorName = "HALU"
var(27) = (var(27) | 128 | 16777216)
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------

[State -3, 愱梡懳嶔 - 僈僞僲僝乕傾]
type = VarSet
triggerall = !IsHelper
triggerall = RoundState = 0
trigger1   = Enemy(0),Name = "gatanothor"
trigger1   = Enemy(0),AuthorName = "muu"
trigger2   = Enemy(NumEnemy > 1),Name = "gatanothor"
trigger2   = Enemy(NumEnemy > 1),AuthorName = "muu"
var(35) = (var(35) | 8)
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------

[State -3, 愱梡懳嶔 - 僴儅]
type = VarSet
triggerall = !IsHelper
triggerall = RoundState = 0
trigger1   = Enemy(0),Name = "Hama"
trigger1   = Enemy(0),AuthorName = "Shishido-Kuon"
trigger2   = Enemy(NumEnemy > 1),Name = "Hama"
trigger2   = Enemy(NumEnemy > 1),AuthorName = "Shishido-Kuon"
var(35) = (var(35) | 16)
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------

[State -3, 愱梡懳嶔 - 俧幍栭]
type = VarSet
triggerall = !IsHelper
triggerall = RoundState = 0
trigger1   = Enemy(0),Name = "NANAY-857"
trigger1   = Enemy(0),AuthorName = "SAMSARA"
trigger2   = Enemy(NumEnemy > 1),Name = "NANAY-857"
trigger2   = Enemy(NumEnemy > 1),AuthorName = "SAMSARA"
var(35) = (var(35) | 32)
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------

[State -3, 愱梡懳嶔 - STGf0394]
type = VarSet
triggerall = 0;!IsHelper
triggerall = RoundState = 0
trigger1   = Enemy(0),Name = "F03"
trigger1   = Enemy(0),AuthorName = "0-Saft"
trigger2   = Enemy(NumEnemy > 1),Name = "F03"
trigger2   = Enemy(NumEnemy > 1),AuthorName = "0-Saft"
var(35) = (var(35) | 64)
ignorehitpause = 1

;--------------------------------------------------------------------------------------------------

[State -3, 愱梡懳嶔 - 媽彈恄揤巕]
type = VarSet
triggerall = !IsHelper
triggerall = RoundState = 0
trigger1   = Enemy(0),Name = "G-tenko"
trigger1   = Enemy(0),AuthorName = "macbeth"
trigger2   = Enemy(NumEnemy > 1),Name = "G-tenko"
trigger2   = Enemy(NumEnemy > 1),AuthorName = "macbeth"
var(35) = (var(35) | 128)
ignorehitpause = 1

;------------------------------------------------
;           丂 捠忢帪偺墘弌
;------------------------------------------------

[State -2]
Type = HelPer
triggerall = !IsHelper
TriggerAll = PalNo <= 10
TriggerAll = !NumHelper(33333)
triggerall = RoundNo <= 2
Trigger1 = !IsHelper
HelPerType = Normal
Name = "A"
StateNo = 33333
ID = 33333
OwnPal = 1
PauseMoveTime= 99999999
SuperMoveTime= 99999999
IgnoreHitPause = 1

[State -2]
Type = HelPer
triggerall = !IsHelper
TriggerAll = PalNo <= 10
TriggerAll = !NumHelper(70000)
trigger1 = RoundNo >= 3
HelPerType = Normal
Name = "B"
StateNo = 70000
ID = 70000
OwnPal = 1
PauseMoveTime= 99999999
SuperMoveTime= 99999999
IgnoreHitPause = 1

[State -2]
Type = HelPer
triggerall = !IsHelper
TriggerAll = PalNo <= 10
TriggerAll = !NumHelper(94401)
trigger1 = RoundNo >= 3
HelPerType = Normal
Name = "C"
StateNo = 94401
ID = 94401
OwnPal = 1
PauseMoveTime= 99999999
SuperMoveTime= 99999999
IgnoreHitPause = 1

;=============================================================================
;           丂       AI婰弎
;=============================================================================

;------------------------------------------------
;           丂 媅帡妛廗僿儖僷乕僙僢僩
;------------------------------------------------

[State -2, 妛廗曐懚梡僿儖僷乕]
Type = HelPer
triggerall = !IsHelper
TriggerAll = PalNo <= 10
TriggerAll = Var(59) > 0
TriggerAll = Enemy,TeamMode = Single || Enemy,TeamMode = Turns
Trigger1 = NumHelPer(35000+ID) = 0
Trigger1 = !IsHelper
HelPerType = Normal
Name = "AI_Learning"
StateNo = 35000
ID = 35000+ID
OwnPal = 1
PauseMoveTime= 99999999
SuperMoveTime= 99999999
IgnoreHitPause = 1

;------------------------------------------------
;           丂 AI僿儖僷乕僙僢僩
;------------------------------------------------


[State -3, 儔儞僟儉戙擖]
Type = VarRandom
triggerall = !IsHelper
TriggerAll = Var(59) = 1
Trigger1 = Time = 1
Trigger2 = Time%60 = 1
Trigger2 = MoveType != I
Trigger3 = Time%1 = 0
Trigger3 = MoveType = I
V = 58
Range = 0,100
IgnoreHitPause = 1

[State -2]
Type = VarSet
triggerall = !IsHelper
Trigger1 = NumEnemy = 1
Trigger2 = NumEnemy > 1
Trigger2 = EnemyNear,Life > 0
Fv = 1
Value = 0
IgnoreHitPause = 1

[State -2]
Type = VarSet
triggerall = !Ishelper
Trigger1 = NumEnemy > 1
Trigger1 = EnemyNear,Life = 0
Fv = 1
Value = 1
IgnoreHitPause = 1

[State -2, 搳偘妛廗]
Type = VarSet
triggerall = !IsHelper
TriggerAll = Enemy,TeamMode = Single || Enemy,TeamMode = Turns
TriggerAll = NumHelper(35000+ID) > 0
TriggerAll = PlayerIDExist(Var(57))
TriggerAll = StateNo != [120,155]
TriggerAll = RoundState = 2
TriggerAll = MoveType = H
TriggerAll = !Var(10)*!Var(11)
TriggerAll = Helper(35000+ID),Var(1) > 1
TriggerAll = Helper(35000+ID),Var(10)%10 = [1,3]
TriggerAll = Helper(35000+ID),Var(10)/10 = [1,3]
Trigger1 = PlayerID(Var(57)),PrevStateNo = Helper(35000+ID),Var(1)
Trigger1 = Var(11):=5+(Helper(35000+ID),Var(10)%10=3)+2*(Helper(35000+ID),Var(10)/10=3)
V = 0
Value = PlayerID(Var(57)),PrevStateNo
IgnoreHitPause = 1

[State -3, 庴恎庪傝妛廗]
Type = VarSet
triggerall = !IsHelper
TriggerAll = Enemy,TeamMode = Single || Enemy,TeamMode = Turns
TriggerAll = NumHelper(35000+ID) > 0
TriggerAll = PlayerIDExist(Var(57))
TriggerAll = GetHitVar(Damage) > 0
TriggerAll = StateNo != [120,155]
TriggerAll = !Var(10)*!Var(11)
TriggerAll = Alive
Trigger1 = Helper(35000+ID),Var(2)%10 = 1
Trigger1 = Var(10):=4
V = 10
Value = PlayerID(Var(57)),StateNo
IgnoreHitPause = 1

[State -2, 僈乕晄妛廗]
Type = VarSet
triggerall = !IsHelper
TriggerAll = Enemy,TeamMode = Single || Enemy,TeamMode = Turns
TriggerAll = NumHelper(35000+ID) > 0
TriggerAll = PlayerIDExist(Var(57))
TriggerAll = GetHitVar(Damage) > 0
TriggerAll = StateNo != [120,155]
TriggerAll = !Var(10)*!Var(1)
TriggerAll = Alive
TriggerAll = Helper(35000+ID),Var(10)%10 = [1,3]
TriggerAll = Helper(35000+ID),Var(11) = 1
TriggerAll = (Var(11):=Helper(35000+ID),Var(10)%10)
Trigger1 = Helper(35000+ID),Var(10)%10 = 3
Trigger1 = PlayerID(Var(57)),StateType = S
Trigger2 = Helper(35000+ID),Var(10)%10 = 2
Trigger2 = PlayerID(Var(57)),StateType != A
Trigger3 = Helper(35000+ID),Var(10)%10 = 1
Trigger3 = PlayerID(Var(57)),StateType != C
V = 10
Value = PlayerID(Var(57)),StateNo
IgnoreHitPause = 1

[State -2, 儕僙僢僩]
Type = Null
triggerall = !IsHelper
Trigger1 = NumHelper(35000+ID) > 0
Trigger1 = Var(11) = 4
Trigger1 = !(Var(0)*(Helper(35000+ID),Var(2)%10))
Trigger1 = Var(11):=0
IgnoreHitPause = 1

[State -2, 儕僙僢僩]
Type = VarRangeSet
triggerall = !IsHelper
Trigger1 = Var(11) = [1,4]
Trigger1 = GetHitVar(Damage) = 0
First = 10
Last = 11
Value = 0
IgnoreHitPause = 1

;=============================================================================
;           丂       峴摦愝掕
;=============================================================================
;==================================================================================
;嫢埆偺傇偭傁偭傁
;==================================================================================
;--------------------------------------------------------------------------
;   捈巰丒壴寧廫栭(儔儀儖偵偼尦偑敾傝堈偔寛巰偺堦寕偱)
;--------------------------------------------------------------------------

[State -3,寛巰偺堦寕]
Type = ChangeState
triggerall = !IsHelper
TriggerAll = var(59) > 0
TriggerAll = Ctrl
TriggerAll = StateNo != 13800
TriggerAll = StateType != A
TriggerAll = Palno >= 7 || var(12) = 1 && (StateNo = 901 || StateNo = 911)
Trigger1 = Random < 25
trigger1 = P2BodyDist X <= 75
trigger2 = enemy,Stateno = 2161
trigger3 = enemy,Anim=13800||enemy,anim=13801
trigger4 = enemy,StateNo=13500
trigger5 = StateNo = 901
trigger6 = StateNo = 911
Value = 13800
ctrl = 0
PauseMoveTime = 99999999
SuperMoveTime = 99999999

;--------------------------------------------------------------------------
;     慚忊丒柪崠嵐栧
;--------------------------------------------------------------------------

[State -3,柪崠嵐栧]
Type = ChangeState
triggerall = !IsHelper
TriggerAll = var(59) > 0
TriggerAll = (StateNo != 13005||StateNo != 13010||StateNo != 13020||StateNo != 13100)
TriggerAll = StateType = S
TriggerAll = Ctrl
TriggerAll = Palno >= 7 || var(12) = 1
TriggerAll = var(58) < 50
Trigger1 = Random < 25
trigger1 = P2BodyDist X <= 150
trigger2 = enemy,StateNo = 1100
trigger3 = enemy,Anim=13005
trigger4 = enemy,Anim=23005
Value = 13005
ctrl = 0
PauseMoveTime = 99999999
SuperMoveTime = 99999999

;--------------------------------------------------------------------------
;     捈巰丒恛嶦
;--------------------------------------------------------------------------

[State -3,捈巰丒恛嶦]
Type = ChangeState
triggerall = !IsHelper
TriggerAll = var(59) > 0
TriggerAll = Palno >= 11 || PalNo >= 7 && RoundNo >= 3
TriggerAll = var(58) < 50
TriggerAll = (StateNo != 23005||StateNo != 23010||StateNo != 23020||StateNo != 23100)
TriggerAll = StateType = S
TriggerAll = Ctrl
Trigger1 = Random < 25
trigger2 = enemy,StateNo = 1100
trigger3 = enemy,Anim=13005
trigger4 = enemy,Anim=23005
Value = 23005
ctrl = 0
PauseMoveTime = 99999999
SuperMoveTime = 99999999

;--------------------------------------------------------------------------
;     慚忊丒捈揤嵐栧
;捈揤嵐栧偼摿庩側偺偱丄偦偺摴嬝偐傜偐偐側偒傖側傝傑偣傫丅
;偙偙偱偼庤偭庢傝憗偔慚忊厡嶤偐傜捈偱峴偔曽朄偲
;慚忊駯鰝﹤鐛s偔曽朄偺椉曽傪彂偒傑偡丅(側傫偰椙怱揑両倵
;--------------------------------------------------------------------------

;---------------------------
;擇桍儖乕僩
;---------------------------

[State 擇桍]
Type = ChangeState
triggerall = !IsHelper
TriggerAll = Palno >= 7 || var(12) = 1
TriggerAll = !IsHelper && Var(59) = 1
TriggerAll = StateType = S
TriggerAll = Random < 5
TriggerAll = var(58) < 50
Trigger1 = Ctrl
Value = 1000
ctrl = 0

;---------------------------
;悈寧C儖乕僩
;---------------------------

[State 悈寧C]
Type = ChangeState
triggerall = !IsHelper
TriggerAll = Palno >= 7 || var(12) = 1
TriggerAll = !IsHelper && Var(59) = 1
TriggerAll = StateType = S
TriggerAll = Random < 5
TriggerAll = var(58) >= 50
Trigger1 = Ctrl
Value = 1330
ctrl = 0

;---------------------------
;捈揤嵐栧儖乕僩
;---------------------------

[State -3,捈揤嵐栧]
Type = ChangeState
triggerall = !IsHelper
TriggerAll = var(59) > 0
TriggerAll = Palno >= 7 || var(12) = 1
TriggerAll = Time >= 9
Trigger1 = StateNo = 1050
Trigger2 = StateNo = 1061
Value = 14005
ctrl = 0
PauseMoveTime = 99999999
SuperMoveTime = 99999999

;--------------------------------------------------------------------------
;     嬌巰丒幍栭
;--------------------------------------------------------------------------

[State -3,柪崠嵐栧]
Type = ChangeState
triggerall = !IsHelper
TriggerAll = var(59) > 0
TriggerAll = Palno >= 7 || var(12) = 1 && (StateNo = 901 || StateNo = 911)
TriggerAll = Random < 40
TriggerAll = (StateNo != 24000||StateNo != 24010||StateNo != 24020)
TriggerAll = StateType = S
TriggerAll = Ctrl
trigger1 = P2BodyDist X > 150
Value = 24000
ctrl = 0
PauseMoveTime = 99999999
SuperMoveTime = 99999999

;---------------------------------------------------------------------------
;                                                                          
;--------------------------------------------------------------------------

[State -3,      ]
Type = ChangeState
triggerall = !IsHelper
TriggerAll = var(59) > 0
TriggerAll = StateNo != 3197
TriggerAll = StateType = S
TriggerAll = Ctrl
TriggerAll = Palno >= 7
Trigger1 = Random <= 5
trigger1 = Enemy,MoveType = A
Value = 195
ctrl = 0
PauseMoveTime = 99999999
SuperMoveTime = 99999999

;---------------------------------------------------------------------------

[State -3,嬌埆側摉恎]
Type = ChangeState
triggerall = palno <= 6
triggerall = !IsHelper
TriggerAll = var(59) > 0
TriggerAll = StateType = S
TriggerAll = Ctrl
Trigger1 = P2BodyDist X = [-50,75]
trigger1 = Enemy,MoveType = A
Value = 195
ctrl = 0


;==================================================================================
;僐儞儃儗僔僺丗2C or 2A 仺 2B 仺 5C 仺 JB 仺 堦嶇 仺 JB 仺 2C 仺 2B 仺 5C 仺 攈惗
;                                  乢   ______________________________乛
;                                    敧揰徴 仺 幍栭 or 敧慂 仺 2C 仺 敧揰徴 仺 榋戦亂乊亃
;==================================================================================

[State 擖偭偨傜2B]
Type = ChangeState
triggerall = !IsHelper
TriggerAll = Palno <= 10
TriggerAll = !IsHelper && Var(59) = 1
TriggerAll = StateType != A
TriggerAll = MoveHit
TriggerAll = P2StateType != A
Trigger1 = StateNo = 300
Trigger2 = StateNo = 320
Value = 310

[State 憡庤旘傫偩傜2B]
Type = ChangeState
triggerall = !IsHelper
TriggerAll = Palno <= 10
TriggerAll = P2StateType = A
TriggerAll = !IsHelper && Var(59) = 1
TriggerAll = PrevStateNo = [300,320]
TriggerAll = StateNo = 310
TriggerAll = MoveHit
Trigger1 = P2MoveType = H && P2StateType = A
Value = 210

[State 僐儞儃5C]
Type = ChangeState
triggerall = !IsHelper
TriggerAll = Palno <= 10
TriggerAll = StateType != A
TriggerAll = !IsHelper && Var(59) = 1
TriggerAll = PrevStateNo = [300,320]
TriggerAll = StateNo = 310
TriggerAll = MoveHit
Trigger1 = P2MoveType = H && P2StateType != A
Value = 230

[State 敧揰徴]
Type = ChangeState
triggerall = !IsHelper
TriggerAll = Palno <= 10
TriggerAll = StateType != A
TriggerAll = !IsHelper && Var(59) = 1
Trigger1 = MoveHit
Trigger1 = PrevStateNo = 310
Trigger1 = StateNo = 230
Trigger1 = P2MoveType = H
Trigger2 = MoveHit
Trigger2 = P2BodyDist X = [0,85]
Trigger2 = Random <= 55
Value = 1800

;=================================================================
;              敧揰徴儖乕僩
;=================================================================

[State 敧揰寛傑偭偨傜幍栭]
Type = ChangeState
triggerall = !IsHelper
TriggerAll = Palno <= 10
TriggerAll = StateType != A
TriggerAll = !IsHelper && Var(59) = 1
TriggerAll = PrevStateNo = 230
TriggerAll = StateNo = 1800
TriggerAll = AnimElem >= 12
Trigger1 = P2MoveType = H
Trigger1 = P2StateType = S
Trigger1 = var(58) >= 70
Value = 1150 + ( ((StateNo=1800)*10)|| ((StateNo=1380)*10) || ((StateNo=2800)*10) )

[State 敧慂]
Type = ChangeState
TriggerAll = Palno <= 10
triggerall = !IsHelper
TriggerAll = StateType != A
TriggerAll = !IsHelper && Var(59) = 1
TriggerAll = PrevStateNo = 230
TriggerAll = StateNo = 1800
TriggerAll = AnimElem >= 12
TriggerAll = P2MoveType = H
Trigger1 = P2StateType != S
Trigger2 = var(58) < 70
Value = 1100 + ( ((StateNo=1800)*10)|| ((StateNo=1380)*10) || ((StateNo=2800)*10) )

;=================================================================
;              嬻拞僐儞儃儖乕僩
;=================================================================

[State 5B偱帩偪忋偘偰]
Type = ChangeState
triggerall = !IsHelper
TriggerAll = Palno <= 10
TriggerAll = !IsHelper && Var(59) = 1
TriggerAll = StateType != A
TriggerAll = P2StateType = A
TriggerAll = P2BodyDist Y = [0,140]
TriggerAll = P2MoveType = H
Trigger1 = Ctrl
Value = 210

[State 僕儍儞僾]
Type = ChangeState
triggerall = !IsHelper
TriggerAll = Palno <= 10
TriggerAll = !IsHelper && Var(59) = 1
TriggerAll = MoveHit
Trigger1 = StateNo = 410
Trigger1 = Var(16) <= 2
Trigger1 = P2StateType = A
Trigger1 = P2MoveType = H
Value = 46

[State 傕偆僐儞儃偲偐柺搢偩偐傜JB偁偨偭偨傜榋戦偱倵]
Type = ChangeState
triggerall = !IsHelper
TriggerAll = Palno <= 10
TriggerAll = !IsHelper && Var(59) = 1
TriggerAll = StateType = A
TriggerAll = P2StateType = A
TriggerAll = Var(16) > 2
Trigger1 = StateNo = 410
Trigger2 = StateNo = 1100
Trigger3 = StateNo = 46
Value = 1210

[State JB]
Type = ChangeState
triggerall = !IsHelper
TriggerAll = Palno <= 10
TriggerAll = !IsHelper && Var(59) = 1
TriggerAll = StateType = A
TriggerAll = P2StateType = A
Trigger1 = Var(16) < 2
Trigger1 = Ctrl
Trigger1 = P2BodyDist X = [0,85]
Value = 410



;==================================================================================
;婎杮偺棫偪夞傝
;==================================================================================

[State -3, 曕偔]
Type = ChangeState
value = 20
ctrl = 1
triggerall = !IsHelper
TriggerAll = Var(59) = 1
TriggerAll = Ctrl
TriggerAll = StateType != A
TriggerAll = P2BodyDist X >= 70
Trigger1 = P2StateType != A
Trigger1 = Enemy,Pos Y <= 99

;---------------------------------------------
;僟僢僔儏
[State -3]
Type     = ChangeState
Value    = 100
Triggerall = var(59) = 1
TriggerAll = RoundState=2
Triggerall = StateType != A
Triggerall = stateno != 100
trigger1 = Random = [0,100]
Trigger1 = P2BodyDist X = [80,390]
Trigger1 = ctrl
trigger2 = Random = [0,2*var(59)]
Trigger2 = P2BodyDist X = [80,130]
Trigger2 = ctrl
trigger3 = Random = [0,85]
Trigger3 = ctrl
Trigger3 = enemynear,stateno = [1020,1022]
Trigger3 = P2movetype = H
Trigger3 = P2BodyDist X > 50

;---------------------------------------------
;僔乕儖僪僶儞僇乕

[State -3]
type = ChangeState
value = 950
triggerall = !IsHelper
triggerall = Var(59) = 1
TriggerAll = RoundState = 2
triggerall = stateno = [120,155]
TriggerAll = inguarddist
triggerall = statetype != A
Trigger1 = P2movetype = A
Trigger1 = Random =[0,10]
trigger1 = P2BodyDist X < 60
Trigger1 = !EnemyNear,HitDefAttr = ,NT,ST,HT

[State 庴恎]
type = ChangeState
value = 5210
triggerall = Var(59) > 0
TriggerAll = RoundState=2
triggerall = Alive
triggerall = StateNo = 5050 || StateNo = 5071 || StateNo = 5101
triggerall = Vel Y >= 0
triggerall = Pos Y >= -15
triggerall = CanRecover
Trigger1 = Random=[0,450]
;persistent = 0

;---------------------------------------------
;僶僢僋僟僢僔儏

[State -3]
Type     = ChangeState
Value    = 105
triggerall = !IsHelper
Triggerall = var(59) >= 1
Triggerall = StateType != A
TriggerAll = RoundState=2
Triggerall = Ctrl
Triggerall = backedgebodydist > 62
triggerall = P2movetype != H
trigger1 = Random = [0,110]
Trigger1 = P2BodyDist X = [0,70]
trigger1 = P2statetype = L
trigger2 = Random = [50,60]
Trigger2 = P2BodyDist X = [0,70]
Trigger2 = enemynear,movetype != A
trigger3 = Random = [40,60]
Trigger3 = P2BodyDist X = [130,180]
Trigger4 = enemynear,movetype != A
Trigger4 =(inguarddist) || (enemynear,movetype = A)
Trigger4 = Random =[0,55]
Trigger4 = EnemyNear,HitDefAttr = ,NT,ST,HT
Trigger5 = !MoveHit
Trigger5 = StateNo = [300,320]

;--------------------------------------------- 
;僔乕儖僪(棫偪)

[State -1]
type = ChangeState
value = 900
triggerall = !IsHelper
TriggerAll = Palno <= 10
triggerall = var(59) = 1
triggerall = StateNo != 901
triggerall = PrevStateNo != 901
TriggerAll = RoundState = 2
TriggerAll = Ctrl
TriggerAll = StateType != A
TriggerAll = inguarddist
trigger1 = enemynear,MoveType = A
trigger1 = P2bodydist X = [-30,65]
trigger1 = Random = [70,100]
trigger1 = ctrl
trigger1 = enemynear,statetype != C
trigger2 = enemynear,MoveType = A
trigger2 = P2bodydist X < 130
trigger2 = Random = [60,100]
trigger2 = ctrl
trigger2 = enemynear,statetype != C

;---------------------------------------------
;僔乕儖僪(嵗傝)

[State -1]
type = ChangeState
value = 910
triggerall = !IsHelper
TriggerAll = Palno <= 10
triggerall = var(59) = 1
TriggerAll = RoundState=2
triggerall = StateNo != 911
triggerall = PrevStateNo != 911
TriggerAll = Ctrl
TriggerAll = StateType != A
TriggerAll = inguarddist
trigger1 = enemynear,MoveType = A
trigger1 = P2bodydist X = [-30,65]
trigger1 = Random = [70,100]
trigger1 = ctrl
trigger1 = enemynear,statetype = C

;---------------------------------------------
;僔乕儖僪(嬻拞)

[State -1]
type = ChangeState
value = 920
triggerall = !IsHelper
triggerall = var(59) = 1
TriggerAll = Palno <= 10
triggerall = StateNo != 921
triggerall = PrevStateNo != 921
TriggerAll = RoundState = 2
TriggerAll = Ctrl
TriggerAll = StateType = A
TriggerAll = inguarddist
trigger1 = P2MoveType = A
trigger1 = P2bodydist X = [-30,65]
trigger1 = Random = [70,100]
trigger1 = ctrl
trigger1 = enemynear,statetype != C

[State 揔摉偵2C]
Type = ChangeState
triggerall = !IsHelper
TriggerAll = Palno <= 10
TriggerAll = !IsHelper && Var(59) = 1
TriggerAll = StateType != A
TriggerAll = MoveType != H
TriggerAll = StateNo != 320 || PrevStateNo != 320
TriggerAll = Ctrl
Trigger1 = !HitCount
Trigger1 = P2StateType = S
Trigger1 = P2BodyDist X = [-50,100]
Value = 320

[State 孅傫偱偄傞憡庤偵2A]
Type = ChangeState
triggerall = !IsHelper
TriggerAll = Palno <= 10
TriggerAll = MoveType != H
TriggerAll = !IsHelper && Var(59) = 1
TriggerAll = StateType != A
TriggerAll = !MoveContact
TriggerAll = P2BodyDist X = [0,60]
Trigger1 = Ctrl
Trigger1 = P2StateType = C
Trigger1 = Var(58) < 20
Value = 300

[State -3, 棫偪夞傝嶰晙:斀揮儌乕僪]
Type = ChangeState
Value = 1010
TriggerAll = !IsHelper && Var(59) > 0
TriggerAll = Palno <=10
TriggerAll = StateType != A
TriggerAll = Ctrl
TriggerAll = P2MoveType != H
TriggerAll = P2StateNo != [5200,5299]
Trigger1 = P2BodyDist X < 130
Trigger1 = P2BodyDist X > 87
Trigger1 = Var(58) = [5,10]
Trigger2 = P2BodyDist X = [0,97]
Trigger2 = IfElse(P2MoveType=A,((EnemyNear(Floor(Fvar(1))),Time)>16),1)
Trigger2 = FrontEdgeBodyDist <= 120
Trigger2 = Var(58) = [69,75]
Trigger2 = (P2StateType != L && P2StateType != A) || P2StateNo = 5120

[State -3, 棫偪夞傝媫崀壓]
Type = ChangeState
Value = 119
TriggerAll = !IsHelper && Var(59) > 0
TriggerAll = Palno <= 10
TriggerAll = P2BodyDist X > 120
TriggerAll = Ctrl
TriggerAll = StateType = A
TriggerAll = Pos Y <= -15
Trigger1 = Var(58) = [90,97]
Trigger1 = !InGuardDist
Trigger1 = P2StateType != A
Trigger2 = P2StateNo = [39,41]
Trigger2 = Var(58) = [2,22]

[State -3, 揔摉棫偪夞傝嶰晙]
Type = ChangeState
Value = 1010
TriggerAll = !IsHelper && Var(59) > 0
TriggerAll = Palno <= 10
TriggerAll = StateType != A
TriggerAll = P2StateNo != [5200,5299]
TriggerAll = P2MoveType != H
TriggerAll = P2StateNo != 2971
TriggerAll = Helper(35000),Var(41) = 0
TriggerAll = Ctrl
TriggerAll = Var(58) = [16,20]
TriggerAll = EnemyNear(Floor(Fvar(1))),MoveType != A
TriggerAll = FrontEdgeBodyDist = [60,160]
Trigger1 = FrontEdgeBodyDist > 120
Trigger1 = P2BodyDist X = [0,40]
Trigger2 = FrontEdgeBodyDist <= 120

[State -3, 僈乕僪宷偓:斀揮儌乕僪]
Type = ChangeState
TriggerAll = !IsHelper && Var(59) > 0
TriggerAll = Palno <= 10
TriggerAll = StateNo = 230 || StateNo = 310 || StateNo = 320
TriggerAll = P2StateType != L
TriggerAll = FrontEdgeDist < 70
TriggerAll = Var(56) = [70,92]
Trigger1 = MoveGuarded
Value = IfElse(Random%2,105,1010)

[State -3, 僈乕僪慚忊宷偓:斀揮儌乕僪]
Type = ChangeState
TriggerAll = !IsHelper && Var(59) > 0
TriggerAll = Palno <= 10
TriggerAll = StateNo = 230 || StateNo = 310 || StateNo = 320
TriggerAll = P2StateType != L
TriggerAll = Var(56) = [30,96]
Trigger1 = MoveGuarded
Value = IfElse(Var(58)<26,1100,IfElse(Var(58)<51,1150,IfElse(Var(58)<76,1180,1300)))


[State -3, 怓乆庤傪壛偊偨僈乕僪]
Type = ChangeState
Value = 120
Ctrl = 1
TriggerAll = !IsHelper && Var(59) > 0
TriggerAll = PalNo <= 10
TriggerAll = NumHelper(35000) > 0
TriggerAll = StateNo != [120,155]
TriggerAll = StateNo = 19 || Ctrl
TriggerAll = IfElse(Var(59)=1,IfElse(StateType!=A,IfElse((Vel X > 0 || StateNo = 52),Var(58)=1,1),1),1)
TriggerAll = IfElse(Var(59)=1,IfElse((Facing*(EnemyNear(Floor(Fvar(1))),Facing)*P2Dist X > 0),Var(58)<20+2*Var(59),1),1)
TriggerAll = IfElse(Facing*(EnemyNear(Floor(Fvar(1))),Facing)*P2Dist X >0,(Abs(P2Dist X) <= 70),1)
Trigger1 = InGuardDist || (Facing*(EnemyNear(Floor(Fvar(1))),Facing)*P2Dist X >0 && P2MoveType = A)
Trigger1 = EnemyNear(Floor(Fvar(1))),HitDefAttr = SC,NA,SA,HA,NP,SP,HP || EnemyNear(Floor(Fvar(1))),HitDefAttr = A,NA,SA,HA,NP,SP,HP
Trigger1 = Var(58) = [1,20+IfElse(Var(59)>0,36+22,44)]
Trigger2 = InGuardDist || Facing*(EnemyNear(Floor(Fvar(1))),Facing)*P2Dist X>0 || IfElse((Helper(35000),Var(11)=1),P2MoveType=A,1)
Trigger2 = Enemy,NumProj > 0 || (Helper(35000),Var(11) = 1 && P2MoveType = A)
Trigger2 = Var(58) = [1,20+IfElse(Var(59)>0,36+22,44)]
Trigger3 = EnemyNear(Floor(Fvar(1))),HitDefAttr = SC,NA,SA,HA,NP,SP,HP || EnemyNear(Floor(Fvar(1))),HitDefAttr = A,NA,SA,HA,NP,SP,HP
Trigger3 = P2BodyDist X < 0
Trigger3 = Var(58) = [1,7+IfElse(Var(59)>0,36+22,44)]
Trigger4 = EnemyNear(Floor(Fvar(1))),Vel X > 0
Trigger4 = EnemyNear(Floor(Fvar(1))),HitDefAttr = SC,NA,SA,HA,NP,SP,HP || EnemyNear(Floor(Fvar(1))),HitDefAttr = A,NA,SA,HA,NP,SP,HP
Trigger4 = Var(58) = [1,20+IfElse(Var(59)>0,36+22,44)]
Trigger5 = InGuardDist || (Facing*(EnemyNear(Floor(Fvar(1))),Facing)*P2Dist X >0 && P2MoveType = A)
Trigger5 = Enemy,NumHelper > Helper(35000),Var(10) + 4
Trigger5 = Var(58) = [1,20+IfElse(Var(59)>0,36+22,44)]

[State -3, 婼抺僶僋僗僥	懡暘婼抺]
Type = ChangeState
Value = 105
TriggerAll = IfElse(InGuardDist,Var(59)=1,Var(59)>0)
TriggerAll = StateType = S
TriggerAll = PalNo <= 10
TriggerAll = Ctrl || StateNo = 19 || StateNo = [101,102]
TriggerAll = NumHelper(35000) > 0
TriggerAll = Helper(35000),Var(26) = 0
TriggerAll = BackEdgeBodyDist >= 45
Trigger1 = InGuardDist
Trigger1 = P2BodyDist X = [0,46]
Trigger1 = IfElse(P2StateType=C,(Var(58)=[45,47+(EnemyNear(Floor(Fvar(1))),Time)]),(Var(58)=[45,45+(EnemyNear(Floor(Fvar(1))),Time)]))
Trigger2 = InGuardDist
Trigger2 = P2BodyDist X = [46,70]
Trigger2 = IfElse(P2StateType=C,(Var(58)=[60,62+(EnemyNear(Floor(Fvar(1))),Time)]),(Var(58)=[60,60+(EnemyNear(Floor(Fvar(1))),Time)]))
Trigger3 = P2StateNo = 5110 && EnemyNear(Floor(Fvar(1))),AnimTime = [-7,-1]
Trigger3 = P2BodyDist X = [0,50]
Trigger3 = Random < 30
Trigger4 = P2MoveType != H
Trigger4 = Var(58) = 70
Trigger4 = P2BodyDist X = [0,50]
Trigger5 = P2StateNo = 5120
Trigger5 = P2BodyDist X = [0,50]
Trigger5 = Random < 30
Trigger6 = EnemyNear(Floor(Fvar(1))),Time < 3
Trigger6 = EnemyNear(Floor(Fvar(1))),HitDefAttr = ,NT,ST
Trigger6 = Var(58) = [83,90]
Trigger7 = InGuardDist
Trigger7 = EnemyNear(Floor(Fvar(1))),Vel X > 0
Trigger7 = EnemyNear(Floor(Fvar(1))),HitDefAttr = A,AT
Trigger7 = Var(58) = [90-(EnemyNear(Floor(Fvar(1))),Time),90]
