;-| 儃僞儞攝抲 |-----------------------------------------------------
;奺儃僞儞偺攝抲傪娙扨偵曄峏偱偒傑偡丅
;偙偺僉儍儔僋僞乕偺儃僞儞攝抲傪曄偊偨偄偲偒側偳偵巊偄傑偡丅
;x = x 傪 x = a 偵曄偊傟偽丄x偑a偵曄傢傝傑偡丅

[Remap]
x = x
y = y
z = z
a = a
b = b
c = c
s = s

;-| 昗弨壔 |-------------------------------------------------------
[Defaults]
; time傪婰弎偟側偐偭偨応崌丄埲壓偺抣偑嶲徠偝傟傑偡丅嵟彫抣偼1偱偡丅
command.time = 15

; buffer.time偺抣偱偡丅1乣30傑偱愝掕偱偒傑偡丅
; 晛捠偼1偱偡丅
command.buffer.time = 1

;-| AI |------------------------------------------------------
[Command]
name = "CPU1"
command = U, D, F, U, D, F
time = 1

[Command]
name = "CPU2"
command = U, B, F, U, D, F
time = 1

[Command]
name = "CPU3"
command = U, D, D, U, D, F
time = 1

[Command]
name = "CPU4"
command = F, B, U, U, D, F, U, B, U, D, F
time = 1

[Command]
name = "CPU5"
command = U, F, U, B, U, D, F
time = 1

[Command]
name = "CPU6"
command = U, D, B, U, B, U, D, F
time = 1

[Command]
name = "CPU7"
command = F, F, B, U, B, U, D, F
time = 1

[Command]
name = "CPU8"
command = U, D, U, U, B, U, D, F
time = 1

[Command]
name = "CPU9"
command = F, B, B, U, B, U, D, F
time = 1

[Command]
name = "CPU10"
command = F, F, B, B, U, B, U, D, F
time = 1

[Command]
name = "CPU11"
command = U, U, F, U, B, U, D, F
time = 1

[Command]
name = "CPU12"
command = U, B, B, U, B, U, D, F
time = 1

[Command]
name = "CPU13"
command = U, B, F, F, U, B, U, D, F
time = 1

[Command]
name = "CPU14"
command = U, F, B, U, U, B, U, D, F
time = 1

[Command]
name = "CPU15"
command = U, B, F, U, U, B, U, D, F
time = 1

[Command]
name = "CPU16"
command = U, B, B, B, U, B, U, D, F
time = 1

[Command]
name = "CPU17"
command = U, D, B, F, U, B, U, D, F
time = 1

[Command]
name = "CPU18"
command = U, D, B, D, U, B, U, D, F
time = 1

[Command]
name = "CPU19"
command = U, D, F, U, U, B, U, D, F
time = 1

[Command]
name = "CPU20"
command = U, D, U, B, U, B, U, D, F
time = 1

[Command]
name = "CPU21"
command = U, D, F, F, U, B, U, D, F
time = 1

[Command]
name = "CPU22"
command = F, F, F, F, U, B, U, D, F
time = 1

[Command]
name = "CPU23"
command = U, U, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU24"
command = B, B, B, U, B, U, D, F
time = 1

[Command]
name = "CPU25"
command = D, D, D, D, U, B, U, D, F
time = 1

[Command]
name = "CPU26"
command = D, D, D, U, B, U, D, F
time = 1

[Command]
name = "CPU27"
command = F, F, F, U, B, U, D, F
time = 1

[Command]
name = "CPU28"
command = U, U, U, U, B, U, D, F
time = 1

[Command]
name = "CPU29"
command = U, U, B, B, U, B, U, D, F
time = 1

[Command]
name = "CPU30"
command = D, D, F, F, U, B, U, D, F
time = 1

[Command]
name = "CPU31"
command = U, D, F, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU32"
command = U, B, F, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU33"
command = U, D, D, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU34"
command = F, B, U, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU35"
command = U, F, U, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU36"
command = U, D, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU37"
command = F, F, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU38"
command = U, D, U, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU39"
command = F, B, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU40"
command = F, F, B, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU41"
command = U, U, F, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU42"
command = U, B, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU43"
command = U, B, F, F, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU44"
command = U, F, B, U, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU45"
command = U, B, F, U, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU46"
command = U, B, B, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU47"
command = U, D, B, F, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU48"
command = U, D, B, D, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU49"
command = U, D, F, U, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU50"
command = U, D, U, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU51"
command = U, D, F, U, D, F, D, U, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU52"
command = U, B, F, U, D, F, D, U, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU53"
command = U, D, D, U, D, F, D, U, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU54"
command = F, B, U, U, D, F, U, B, U, D, F, D, U, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU55"
command = U, F, U, B, U, D, F, D, U, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU56"
command = U, D, B, U, B, U, D, F, D, U, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU57"
command = F, F, B, U, B, U, D, F, D, U, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU58"
command = U, D, U, U, B, U, D, F, D, U, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU59"
command = F, B, B, U, B, U, D, F, D, U, B, U, D, U, B, U, D, F
time = 1

[Command]
name = "CPU60"
command = F, F, B, B, U, B, U, D, F, D, U, B, U, D, U, B, U, D, F
time = 1


;------------------------------------------------------------------------------
;-| 挻昁嶦媄 |-----------------------------------------------------------------
;僐儅儞僪偺堦晹偑廳側傞応崌丄愭偵彂偐傟偨傕偺偑桪愭偝傟傞偺偱
;婥傪晅偗偰偔偩偝偄丅
[Command]
name = "Marokare"
command = ~D, D, z
time = 30

[Command]
name = "Omiwa1"
command = ~F, D, B, F, D, B, x
time = 30

[Command]
name = "Omiwa2"
command = ~F, D, B, F, D, B, y
time = 30


;------------------------------------------------------------------------------
;-| 昁嶦媄 |-------------------------------------------------------------------
;僐儅儞僪偺堦晹偑廳側傞応崌丄愭偵彂偐傟偨傕偺偑桪愭偝傟傞偺偱
;623 仺 236偺弴偵搊榐偝傟偰偄傑偡丅
;乮拲:236摍偼僥儞僉乕偱僐儅儞僪傪昞偟偰偄傑偡乯


[Command]
name = "Utsushiiwai1"
command = ~F, D, DF, x

[Command]
name = "Utsushiiwai2"
command = ~F, D, DF, y

[Command]
name = "Honosusori1"
command = ~D, D, D, x
time = 18

[Command]
name = "Honosusori2"
command = ~D, D, D, a
time = 18

[Command]
name = "Honosusori3"
command = ~D, D, D, y
time = 18

[Command]
name = "Honosusori4"
command = ~D, D, D, b
time = 18

[Command]
name = "Honosusori5"
command = ~D, D, D, z
time = 18

[Command]
name = "Honosusori6"
command = ~D, D, D, x+z
time = 18

[Command]
name = "Honosusori7"
command = ~D, D, D, a+z
time = 18

[Command]
name = "Honosusori8"
command = ~D, D, D, y+z
time = 18

[Command]
name = "Honosusori9"
command = ~D, D, D, b+z
time = 18

[Command]
name = "Miho1"
command = ~D, DB, B, x

[Command]
name = "Miho2"
command = ~D, DB, B, y

[Command]
name = "ukei"
command = ~F, D, DF, b
time = 12

[Command]
name = "cl"
command = ~D, DF, F, x
time = 20

[Command]
name = "超必杀1"
command = ~D, DF, F, D, DF, F, x
time = 20



[Command]
name = "FF_ab"
command = F, F, a+b

[Command]
name = "FF_a"
command = F, F, a

[Command]
name = "FF_b"
command = F, F, b

[Command]
name = "FF_x"
command = F, F, x

[Command]
name = "FF_y"
command = F, F, y

[Command]
name = "longjump"    
command = ~$D,$U
time = 6


;------------------------------------------------------------------------------
;-| 僉乕俀夞楢懕擖椡 |---------------------------------------------------------
[Command]
name = "FF"     ;梫媮嵪傒 (僉乕偺曄峏偼壜擻偱偡偑柤慜傪曄偊偨傝柍岠偵偟偰偼偄偗傑偣傫)
command = F, F
time = 10

[Command]
name = "BB"     ;梫媮嵪傒 (僉乕偺曄峏偼壜擻偱偡偑柤慜傪曄偊偨傝柍岠偵偟偰偼偄偗傑偣傫)
command = B, B
time = 10

;------------------------------------------------------------------------------
;-| 摨帪墴偟 |-----------------------------------------------------------------
[Command]
name = "recovery"   ;梫媮嵪傒 (僉乕偺曄峏偼壜擻偱偡偑柤慜傪曄偊偨傝柍岠偵偟偰偼偄偗傑偣傫)
command = x+a
time = 1

[Command]
name = "recovery"   ;梫媮嵪傒 (僉乕偺曄峏偼壜擻偱偡偑柤慜傪曄偊偨傝柍岠偵偟偰偼偄偗傑偣傫)
command = a+x
time = 1

[Command]
name = "helper"
command = y+b
time = 1

[Command]
name = "roll"
command = x+a
time = 1

;------------------------------------------------------------------------------
;-| 曽岦僉乕亄儃僞儞 |---------------------------------------------------------
[Command]
name = "down_a"
command = /$D,a
time = 1

[Command]
name = "down_b"
command = /$D,b
time = 1

;------------------------------------------------------------------------------
;-| 儃僞儞扨敪 |---------------------------------------------------------------
[Command]
name = "a"
command = a
time = 1

[Command]
name = "b"
command = b
time = 1

[Command]
name = "c"
command = c
time = 1

[Command]
name = "x"
command = x
time = 1

[Command]
name = "y"
command = y
time = 1

[Command]
name = "z"
command = z
time = 1

[Command]
name = "start"
command = s
time = 1

;---------------------------
[Command]
name = "hold_a"
command = /a

[Command]
name = "hold_b"
command = /b

[Command]
name = "hold_c"
command = /c

[Command]
name = "hold_x"
command = /x

[Command]
name = "hold_y"
command = /y

;---------------------------
[Command]
name = "UF"
command = UF

[Command]
name = "F"
command = F

[Command]
name = "DF"
command = DF

;------------------------------------------------------------------------------
;-| 曽岦僉乕墴偟偭傁側偟 |-----------------------------------------------------
[Command]
name = "holdfwd"   ;梫媮嵪傒 (僉乕偺曄峏偼壜擻偱偡偑柤慜傪曄偊偨傝柍岠偵偟偰偼偄偗傑偣傫)
command = /$F
time = 1

[Command]
name = "holdback"  ;梫媮嵪傒 (僉乕偺曄峏偼壜擻偱偡偑柤慜傪曄偊偨傝柍岠偵偟偰偼偄偗傑偣傫)
command = /$B
time = 1

[Command]
name = "holdup"    ;梫媮嵪傒 (僉乕偺曄峏偼壜擻偱偡偑柤慜傪曄偊偨傝柍岠偵偟偰偼偄偗傑偣傫)
command = /$U
time = 1

[Command]
name = "holddown"  ;梫媮嵪傒 (僉乕偺曄峏偼壜擻偱偡偑柤慜傪曄偊偨傝柍岠偵偟偰偼偄偗傑偣傫)
command = /$D
time = 1


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

[Statedef -1];仼偙偺峴偼愨懳偵徚偝側偄偱偔偩偝偄丅昁恵偺崁栚偱偡丅

;-------------------------------------------------------------------
; AI swich -> ON
[State -1,AI]
type = Varset
triggerall = var(59) != 1
triggerall = RoundState != 3
trigger1 = command = "CPU1"
trigger2 = command = "CPU2"
trigger3 = command = "CPU3"
trigger4 = command = "CPU4"
trigger5 = command = "CPU5"
trigger6 = command = "CPU6"
trigger7 = command = "CPU7"
trigger8 = command = "CPU8"
trigger9 = command = "CPU9"
trigger10 = command = "CPU10"
trigger11 = command = "CPU11"
trigger12 = command = "CPU12"
trigger13 = command = "CPU13"
trigger14 = command = "CPU14"
trigger15 = command = "CPU15"
trigger16 = command = "CPU16"
trigger17 = command = "CPU17"
trigger18 = command = "CPU18"
trigger19 = command = "CPU19"
trigger20 = command = "CPU20"
trigger21 = command = "CPU21"
trigger22 = command = "CPU22"
trigger23 = command = "CPU23"
trigger24 = command = "CPU24"
trigger25 = command = "CPU25"
trigger26 = command = "CPU26"
trigger27 = command = "CPU27"
trigger28 = command = "CPU28"
trigger29 = command = "CPU29"
trigger30 = command = "CPU30"
trigger31 = command = "CPU31"
trigger32 = command = "CPU32"
trigger33 = command = "CPU33"
trigger34 = command = "CPU34"
trigger35 = command = "CPU35"
trigger36 = command = "CPU36"
trigger37 = command = "CPU37"
trigger38 = command = "CPU38"
trigger39 = command = "CPU39"
trigger40 = command = "CPU40"
trigger41 = command = "CPU41"
trigger42 = command = "CPU42"
trigger43 = command = "CPU43"
trigger44 = command = "CPU44"
trigger45 = command = "CPU45"
trigger46 = command = "CPU46"
trigger47 = command = "CPU47"
trigger48 = command = "CPU48"
trigger49 = command = "CPU49"
trigger50 = command = "CPU50"
trigger51 = command = "CPU51"
trigger52 = command = "CPU52"
trigger53 = command = "CPU53"
trigger54 = command = "CPU54"
trigger55 = command = "CPU55"
trigger56 = command = "CPU56"
trigger57 = command = "CPU57"
trigger58 = command = "CPU58"
trigger59 = command = "CPU59"
trigger60 = command = "CPU60"
var(59) = 1

;-----------------------------------------------------------------------
[State -1, AI]
Type = VarSet
TriggerAll = Var(59) = 1
Trigger1 = RoundState = 4
Trigger2 = Win = 1
Trigger3 = Lose = 1
Trigger4 = DrawGame = 1
V = 59
Value = -1

;-----------------------------------------------------------------------
[State -1, AI]
Type = VarSet
TriggerAll = Var(59) = -1
Trigger1 = RoundState = 2
V = 59
Value = 1

;---------------------------------------------------------------------------
;僟僂儞夞旔
[State -1, daunkaihi]
type = ChangeState
value = 5200
triggerall = var(59) = 1
triggerall = Alive
triggerall = CanRecover
triggerall = Vel Y > 0
triggerall = Pos Y < -20
trigger1 = StateNo = 5050
trigger1 = random <= 500

;---------------------------------------------------------------------------
;僟僂儞夞旔乮嬻拞乯
[State -1, Airdaunkaihi]
type = ChangeState
value = 5210
triggerall = var(59) = 1
triggerall = Alive
triggerall = CanRecover
triggerall = Vel Y > -1
triggerall = Pos Y >= -20
trigger1 = StateNo = 5050
trigger1 = random <= 500

;-----------------------------------------------------------------
;慜揮
[State -1, FRoll]
type = ChangeState
value  = 700
triggerall = var(59) = 1
triggerall = statetype != A 
triggerall = ctrl || stateno = 21 || stateno = 100
trigger1 = p2bodydist X = [0,60]
trigger1 = p2statetype != A
trigger1 = p2movetype = A
trigger1 = EnemyNear,HitDefAttr! = SC, AT
trigger1 = random <= 20
trigger2 = p2bodydist X = [0,40]
trigger2 = p2bodydist Y > -70
trigger2 = EnemyNear,Vel X >= 1
trigger2 = p2statetype = A
trigger2 = p2movetype = A
trigger2 = random <= 40;懳嬻
trigger3 = p2bodydist X <= 0
trigger3 = p2bodydist Y > -80
trigger3 = EnemyNear,Vel X >= 1
trigger3 = p2movetype = A
trigger3 = random <= 200;傔偔傝偵懳墳
trigger4 = p2bodydist X = [5,40]
trigger4 = p2statetype = L
Trigger4 = P2StateNo = 5120
Trigger4 = EnemyNear,AnimTime = -12
Trigger4 = random < 40 ;憡庤偺僟僂儞帪
ignorehitpause = 0

;---------------------------------------------------------------------------
;屻揮
[State -1, BRoll]
type = ChangeState
value = 710
triggerall = var(59) = 1
triggerall = statetype != A
triggerall = p2statetype != L
triggerall = enemynear,HitDefAttr != SC, AT
triggerall = ctrl
trigger1 = p2bodydist X = [0,60]
trigger1 = p2statetype != A
trigger1 = p2movetype = A
trigger1 = BackEdgeBodyDist > 60
Trigger1 = EnemyNear,HitDefAttr! = SC, AT
trigger1 = random = [21,50]
trigger2 = p2bodydist X <= 0
trigger2 = p2bodydist Y > -80
trigger2 = EnemyNear,Vel X >= 1
trigger2 = p2movetype = A
trigger2 = random = [201,230];傔偔傝偵懳墳
ignorehitpause = 0


;-----------------------------------------------------------------
;僈乕僪僉儍儞僙儖慜揮
[State -1, GCRoll]
type  = ChangeState
value = 720
triggerall = var(59) = 1
triggerall = statetype != A
triggerall = Power >= 1000
triggerall = stateno = 150 || stateno = 151 || stateno = 152 || stateno = 153
trigger1 = p2bodydist X <= 50
trigger1 = p2statetype != A
trigger1 = p2movetype = A
trigger1 = BackEdgeBodyDist <= 40
trigger1 = random = [21,40]

;-----------------------------------------------------------------
;僈乕僪僉儍儞僙儖傇偭旘偽偟峌寕
[State -1,GCA]
type = ChangeState
value = 255
triggerall = var(59) = 1
triggerall = statetype != A
triggerall = Power >= 1000
triggerall = stateno = 150 || stateno = 151 || stateno = 152 || stateno = 153
trigger1 = p2bodydist X <= 35
trigger1 = p2statetype != A
trigger1 = p2movetype = A
trigger1 = BackEdgeBodyDist <= 40
trigger1 = random <= 20

;---------------------------------------------------------------------------
;僕儍儞僾乮搳偘夞旔乯
[State -1, Jump]
type = ChangeState
value = 39
TriggerAll = Var(59) = 1
TriggerAll = RoundState = 2
TriggerAll = ctrl || stateno = 21 || stateno = 100
TriggerAll = StateType != A
TriggerAll = p2MoveType = I
TriggerAll = stateno != 39
trigger1 = p2bodydist X = [0,80]
trigger1 = enemynear,HitDefAttr = SC, AT

;---------------------------------------------------------------------------
;曕偒乮捛偄摙偪梡乯
[State -1, Walk]
type = ChangeState
value = 21
triggerall = var(59) = 1
triggerall = RoundState = 2
triggerall = statetype != A
triggerall = !InGuardDist
Triggerall = stateno != 21
Triggerall = prevstateno != 21
Triggerall = stateno != 100
Triggerall = prevstateno != 100
trigger1 = p2bodydist X >= 60
trigger1 = p2bodydist Y < -100
trigger1 = stateno = 1230
trigger1 = AnimTime = 0
trigger1 = p2MoveType = H
trigger1 = p2statetype = A
trigger1 = enemynear,Vel X = 0
;trigger1 = enemynear,Vel Y < 0
trigger1 = NumTarget      ;庛 尠嵵僸僢僩屻捛偄摙偪

trigger2 = ctrl
trigger2 = p2bodydist X = [0,80]
trigger2 = NumHelper(1050)
trigger2 = p2MoveType = H || EnemyNear,power < 1000
Trigger2 = random < 300      ;夝彍屻捛偄摙偪

;---------------------------------------------------------------------------
;僟僢僔儏乮捛偄摙偪梡乯
[State -1, Dash]
type = ChangeState
value = 100
triggerall = var(59) = 1
triggerall = RoundState = 2
triggerall = statetype != A
Triggerall = stateno != [10,12]
Triggerall = stateno != 100
Triggerall = prevstateno != 100

trigger1 = p2bodydist X > 0
trigger1 = stateno = 1210
trigger1 = AnimTime = 0
trigger1 = p2MoveType = H
trigger1 = p2statetype = A
trigger1 = EnemyNear,BackEdgeBodyDist >= 20
trigger1 = NumHelper(1250) = 1
trigger1 = var(16) < 5      ;嫮 尠嵵僸僢僩屻捛偄摙偪

trigger2 = ctrl || stateno = 21
trigger2 = p2bodydist X = [81,170]
trigger2 = NumHelper(1050)
trigger2 = (1000*life/const(data.life)) > 250
trigger2 = p2MoveType = H || EnemyNear,power < 1000
Trigger2 = random < 300      ;夝彍屻捛偄摙偪

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




;------------------------------------------------------------------------------
;招式的指向代码   加在不同的位置是会影响到招式的出招先后次序的。 by  LY2001

[State -1, cl]
type = ChangeState
value = 1052
triggerall = command = "cl"
triggerall = palno = [7,12] 
triggerall = statetype != A
trigger1 = ctrl


[State -1, cl]
type = ChangeState
value = 1987022
triggerall = command = "超必杀1"
triggerall = palno = [7,12] 
triggerall = statetype != A
trigger1 = ctrl






;------------------------------------------------------------------------------
;壩鑼崀A
[State -1, hadouken]
type = ChangeState
value = 1500
triggerall = var(59) = 1
triggerall = roundstate = 2
triggerall = statetype != A
triggerall = P2StateType != L
trigger1 = ctrl
trigger1 = p2bodydist X = [90,130]
trigger1 = p2MoveType = I
trigger1 = p2statetype != A
trigger1 = Random <= 20
ignorehitpause = 0

;------------------------------------------------------------------------------
;嫮 尠嵵
[State -1, hadouken]
type = ChangeState
value = 1210
triggerall = var(59) = 1
triggerall = NumHelper(1220) = 0 || NumHelper(1250) = 0
triggerall = roundstate = 2
triggerall = statetype != A
triggerall = P2StateType != L
triggerall = !var(12)
trigger1 = ctrl
trigger1 = p2bodydist X = [50,90]
trigger1 = p2MoveType = I
trigger1 = p2statetype != A
trigger1 = random <= 50
trigger2 = ctrl
trigger2 = p2bodydist X = [-5,50]
trigger2 = p2MoveType = A
trigger2 = p2statetype = S
trigger2 = random = [51,100]
trigger3 = ctrl
trigger3 = p2bodydist X = [10,80]
trigger3 = p2bodydist Y = [-90,-50]
trigger3 = p2MoveType = A
trigger3 = p2statetype = A
trigger3 = enemynear,Vel Y > 0
trigger3 = random <= 100

trigger4 = ctrl || stateno = 21 || stateno = 100
trigger4 = p2bodydist X = [0,55]
trigger4 = p2bodydist Y = [-150,-70]
trigger4 = p2MoveType = H
trigger4 = p2statetype = A
trigger4 = enemynear,Vel X = 0
trigger4 = enemynear,Vel Y > 0
trigger4 = NumTarget      ;庛 尠嵵僸僢僩屻捛偄摙偪

trigger5 = ctrl || stateno = 21 || stateno = 100
trigger5 = p2bodydist X = [-20,55]
trigger5 = p2bodydist Y = [-100,-30]
trigger5 = p2MoveType = H
trigger5 = p2statetype = A
trigger5 = enemynear,Vel X < 0
trigger5 = enemynear,Vel Y > 0
trigger5 = NumTarget
trigger5 = var(16) < 5     ;嫮 尠嵵僸僢僩屻捛偄摙偪

trigger6 = ctrl || stateno = 21 || stateno = 100
trigger6 = p2bodydist X = [-20,55]
trigger6 = p2bodydist Y = [-100,0]
trigger6 = p2MoveType = H
trigger6 = NumHelper(1050)
trigger6 = random <= 100    ;夝彍僸僢僩屻捛偄摙偪

ignorehitpause = 0

;------------------------------------------------------------------------------
;庛 尠嵵
[State -1, hadouken]
type = ChangeState
value = 1200
triggerall = var(59) = 1
triggerall = roundstate = 2
triggerall = statetype != A
triggerall = P2StateType != L
triggerall = !var(12)

trigger1 = (stateno = 240 && (animelem=4,>0 && animelem=7,<0)) || (stateno = 241 && (animelem=10,>0 && animelem=11,<0))
trigger1 = p2bodydist X = [0,70]
trigger1 = p2bodydist Y = [-50,0]
trigger1 = p2MoveType = H
trigger1 = P2StateNo != [120,155]

ignorehitpause = 0

;------------------------------------------------------------------------------
;嫮 恹
[State -1, hadouken]
type = ChangeState
value = 1310
triggerall = var(59) = 1
triggerall = roundstate = 2
triggerall = statetype != A
triggerall = P2StateType != L
trigger1 = ctrl
trigger1 = p2bodydist X = [0,50]
trigger1 = p2MoveType = A
trigger1 = p2statetype != A
trigger1 = random = [101,130]
ignorehitpause = 0

;------------------------------------------------------------------------------
;庛 恹
[State -1, hadouken]
type = ChangeState
value = 1300
triggerall = var(59) = 1
triggerall = roundstate = 2
triggerall = statetype != A
triggerall = P2StateType != L
trigger1 = ctrl
trigger1 = p2bodydist X = [0,50]
trigger1 = p2bodydist Y = [-80,0]
trigger1 = p2MoveType = A
trigger1 = p2statetype != C
trigger1 = random = [131,160]

trigger2 = ctrl
trigger2 = p2bodydist X = [0,100]
trigger2 = p2bodydist Y = [-80,0]
trigger2 = p2MoveType = A
trigger2 = EnemyNear,HitDefAttr = SCA, NP, SP
trigger2 = Enemy,NumHelper > 0 || Enemy,NumProj > 0
trigger2 = random <= 20

ignorehitpause = 0

;------------------------------------------------------------------------------
;嫮 夝彍
[State -1, hadouken]
type = ChangeState
value = 1010
triggerall = var(59) = 1
triggerall = NumHelper(1050) = 0
triggerall = roundstate = 2
triggerall = statetype != A
triggerall = P2StateType != L

trigger1 = ctrl
trigger1 = p2bodydist X = [50,90]
trigger1 = p2MoveType = I
trigger1 = p2statetype != A
trigger1 = random = [51,80]

trigger2 = ctrl
trigger2 = p2bodydist X > 90
trigger2 = p2bodydist Y = [-90,0]
trigger2 = p2MoveType = I
trigger2 = Random = [201,240]

trigger3 = (stateno = 240 && (animelem=4,>0 && animelem=7,<0)) || (stateno = 241 && (animelem=10,>0 && animelem=11,<0))
trigger3 = p2bodydist X = [0,75]
trigger3 = p2bodydist Y = [-90,0]
trigger3 = P2StateNo = [120,155]
trigger3 = Random <= 400

ignorehitpause = 0

;------------------------------------------------------------------------------
;庛 夝彍
[State -1, hadouken]
type = ChangeState
value = 1000
triggerall = var(59) = 1
triggerall = NumHelper(1050) = 0
triggerall = roundstate = 2
triggerall = statetype != A
triggerall = P2StateType != L
trigger1 = stateno = 240 && (animelem=4,>0 && animelem=7,<0)
trigger1 = p2bodydist X > 60
trigger1 = MoveContact = 1
trigger1 = p2statetype = A
trigger1 = Random <= 500

trigger2 = ctrl || stateno = 21
trigger2 = p2bodydist X > 100
trigger2 = p2statetype = L
Trigger2 = P2StateNo = 5120
Trigger2 = EnemyNear,AnimTime <= -10
Trigger2 = random = [51,200] ;憡庤偺僟僂儞帪

ignorehitpause = 0

;------------------------------------------------------------------------------
;嫮 屼戝
[State -1, hadouken]
type = ChangeState
value = 1410
triggerall = var(59) = 1
triggerall = roundstate = 2
triggerall = statetype = A
trigger1 = ctrl
trigger1 = p2bodydist X = [0,45]
trigger1 = p2bodydist Y = [-50,30]
trigger1 = p2MoveType = H
trigger1 = p2statetype = A
trigger1 = random <= 100
ignorehitpause = 0

;------------------------------------------------------------------------------
;庛 屼戝
[State -1, hadouken]
type = ChangeState
value = 1400
triggerall = var(59) = 1
triggerall = roundstate = 2
triggerall = statetype = A
trigger1 = ctrl
trigger1 = p2bodydist X = [0,45]
trigger1 = p2bodydist Y = [-50,-5]
trigger1 = p2MoveType != H
trigger1 = p2statetype = A
trigger1 = random <= 100
ignorehitpause = 0

;---------------------------------------------------------------------------
;P搳偘
[State -1, Kung Fu Throw]
Type = ChangeState
Value = 800
triggerall = var(59) = 1
triggerall = statetype != A
triggerall = p2statetype != L
triggerall = p2statetype != A
triggerall = p2movetype != A
triggerall = p2bodydist X = [0,22]
triggerall = ctrl
triggerall = enemynear,prevstateno != [5000,5999]
trigger1 = frontedgebodydist <= 40
trigger1 = Random = [251,400]
trigger2 = StateNo = 100 && frontedgebodydist <= 40
trigger2 = random < 200;僟僢僔儏搳偘

;---------------------------------------------------------------------------
;K搳偘
[State -1, Kung Fu Throw]
type = ChangeState
value = 810
triggerall = var(59) = 1
triggerall = statetype != A
triggerall = p2statetype != L
triggerall = p2statetype != A
triggerall = p2movetype != A
triggerall = p2bodydist X = [0,22]
triggerall = ctrl
triggerall = enemynear,prevstateno != [5000,5999]
trigger1 = frontedgebodydist > 40
trigger1 = Random = [251,400]
trigger2 = P2BodyDist X < 0
trigger2 = Random = [251,400]
trigger3 = StateNo = 100 && frontedgebodydist > 40
trigger3 = random < 200;僟僢僔儏搳偘

;------------------------------------------------------------------------------
;嬤嫍棧嫮僉僢僋
[State -1, Standing Strong Kick]
type = ChangeState
value = 241
triggerall = var(59) = 1
triggerall = roundstate = 2
triggerall = P2BodyDist X <= 25
triggerall = statetype != A
triggerall = P2StateType != L
triggerall = ctrl || stateno = 21 || stateno = 100
trigger1 = p2bodydist X = [0,25]
trigger1 = p2MoveType = I
trigger1 = p2statetype != A
trigger1 = Random = [0,200]

trigger2 = p2bodydist X = [0,25]
trigger2 = p2MoveType = H
trigger2 = p2statetype != A
trigger2 = Random <= 500

trigger3 = ctrl
trigger3 = EnemyNear,Ctrl = 0
trigger3 = p2bodydist X = [0,25]
trigger3 = p2MoveType = I
trigger3 = p2statetype != A
trigger3 = Random <= 500
ignorehitpause = 0

;------------------------------------------------------------------------------
;嬤嫍棧棫偪庛僉僢僋
[State -1, Stand Light Kick]
type = ChangeState
value = 231
triggerall = var(59) = 1
triggerall = roundstate = 2
triggerall = P2BodyDist X <= 15
triggerall = statetype != A
triggerall = P2StateType != L
triggerall = ctrl || stateno = 21 || stateno = 100
trigger1 = p2bodydist X = [0,15]
trigger1 = p2MoveType = I
trigger1 = p2statetype != A
trigger1 = Random = [201,230]

ignorehitpause = 0

;------------------------------------------------------------------------------
;棫偪嫮僉僢僋
[State -1, Standing Strong Kick]
type = ChangeState
value = 240
triggerall = var(59) = 1
triggerall = roundstate = 2
triggerall = P2BodyDist X > 25
triggerall = statetype != A
triggerall = P2StateType != L
triggerall = ctrl || stateno = 21 || stateno = 100
trigger1 = p2bodydist X = [26,65]
trigger1 = p2MoveType = I
trigger1 = p2statetype != A
trigger1 = Random = [81,120]

trigger2 = p2bodydist X = [26,65]
trigger2 = p2MoveType = H
trigger2 = p2statetype != A
trigger2 = Random <= 500

trigger3 = p2bodydist X = [45,70]
trigger3 = p2bodydist Y = [-80,-10]
trigger3 = p2MoveType = I
trigger3 = p2statetype = A
trigger3 = enemynear,Vel Y > 0
trigger3 = !var(12)
trigger3 = random <= 30

ignorehitpause = 0

;------------------------------------------------------------------------------
;棫偪庛僉僢僋
[State -1, Stand Light Kick]
type = ChangeState
value = 230
triggerall = var(59) = 1
triggerall = roundstate = 2
triggerall = P2BodyDist X > 15
triggerall = statetype != A
triggerall = ctrl || stateno = 21 || stateno = 100
trigger1 = p2bodydist X = [26,75]
trigger1 = p2MoveType = I
trigger1 = p2statetype = S
trigger1 = Random = [121,140]
ignorehitpause = 0

;------------------------------------------------------------------------------
;墦嫍棧棫偪嫮僷儞僠
[State -1, Stand Light Punch]
type = ChangeState
value = 210
triggerall = var(59) = 1
triggerall = roundstate = 2
triggerall = P2BodyDist X > 25
triggerall = statetype != A
triggerall = ctrl || stateno = 21 || stateno = 100
trigger1 = p2bodydist X = [45,65]
trigger1 = p2MoveType = I
trigger1 = p2statetype = S
trigger1 = Random = [141,160]
ignorehitpause = 0

;------------------------------------------------------------------------------
;幬傔嬻拞嫮僉僢僋
[State -1, Jump Strong Kick]
type = ChangeState
value = 640
triggerall = var(59) = 1
triggerall = roundstate = 2
triggerall = statetype = A
triggerall = P2StateType != L
trigger1 = ctrl
trigger1 = P2bodydist X = [-10,55]
trigger1 = P2bodydist Y = [0,50]
trigger1 = p2MoveType != A
trigger1 = p2statetype != A
trigger1 = Vel Y > 0
trigger1 = Random = [0,500]
ignorehitpause = 0

;---------------------------------------------------------------------------
;僈乕僪
[state -1, Guard]
type = ChangeState
value = 130
triggerall = var(59) = 1
triggerall = roundstate = 2
triggerall = InGuardDist
triggerall = statetype != A
triggerall = ctrl
trigger1 = enemynear,numproj
trigger2 = enemynear,HitDefAttr = SCA, NA,SA,HA
trigger2 = random <= 500

;---------------------------------------------------------------------------
;嬻拞僈乕僪
[state -1, Guard]
type = ChangeState
value = 132
triggerall = var(59) = 1
triggerall = roundstate = 2
triggerall = InGuardDist
triggerall = statetype = A
Triggerall = stateno != 1400
triggerall = ctrl
trigger1 = enemynear,numproj
trigger2 = enemynear,HitDefAttr = SCA, NA,SA,HA
trigger2 = random <= 400

;---------------------------------------------------------------------------
;曕偒
[State -1, Walk]
type = ChangeState
value = 21
triggerall = var(59) = 1
triggerall = RoundState = 2
triggerall = statetype != A
triggerall = !InGuardDist
triggerall = ctrl
Triggerall = stateno != [10,12]
Triggerall = stateno != 21
Triggerall = prevstateno != 21
Triggerall = stateno != 100
Triggerall = prevstateno != 100
Triggerall = stateno != [120,159]
Triggerall = prevstateno != [120,159]
trigger1 = random%7 = 0
trigger1 = !NumTarget
trigger2 = P2BodyDist X >= 120
trigger2 = P2StateType = L
trigger2 = Random <= 300
trigger3 = p2bodydist X = [0,25]
trigger3 = p2MoveType = I
trigger3 = p2statetype != A
trigger3 = Random = [231,250]

;trigger3 = p2bodydist X > 60
;trigger3 = p2bodydist Y < -100
;trigger3 = stateno = 1230
;trigger3 = AnimTime = 0
;trigger3 = p2MoveType = H
;trigger3 = p2statetype = A
;trigger3 = enemynear,Vel X = 0
;trigger3 = enemynear,Vel Y < 0
;trigger3 = NumTarget      ;庛 尠嵵僸僢僩屻捛偄摙偪

;---------------------------------------------------------------------------
;僟僢僔儏
[State -1, Dash]
type = ChangeState
value = 100
triggerall = var(59) = 1
triggerall = RoundState = 2
triggerall = statetype != A
Triggerall = stateno != [10,12]
Triggerall = stateno != 100
Triggerall = prevstateno != 100
Triggerall = stateno != [120,159]
Triggerall = ctrl || (stateno = 21 && anim = 20)
trigger1 = P2BodyDist X >= 120
trigger1 = p2movetype = I && p2statetype != A
trigger1 = movetype = A;Random = [301,600]

;trigger2 = P2BodyDist X >= 100
;trigger2 = p2statetype = L
;trigger2 = Random <= 100
;trigger3 = P2BodyDist X <= 120
;trigger3 = p2movetype = I
;trigger3 = Random < 50  ;堄昞傪偮偔愙嬤

;---------------------------------------------------------------------------
;僕儍儞僾
[State -1, Jump]
type = ChangeState
value = 39
TriggerAll = Var(59) = 1
TriggerAll = RoundState = 2
TriggerAll = ctrl || (stateno = 21 && anim = 20) || stateno = 100
TriggerAll = StateType != A
TriggerAll = p2MoveType = I
TriggerAll = stateno != 39
Trigger1 = p2bodydist X <= 120
trigger1 = p2statetype != A
Trigger1 = Random <= 20
trigger1 = !NumTarget

;Trigger2 = p2bodydist X = [100,150]
;trigger2 = p2movetype = I && p2statetype != C
;Trigger2 = Random = [601,650]
;Trigger3 = p2bodydist X > 100
;trigger3 = EnemyNear,HitDefAttr = SCA, NP, SP
;trigger3 = Enemy,NumHelper > 0 || Enemy,NumProj > 0
;trigger3 = random < 100;懳旘傃摴嬶僕儍儞僾
ignorehitpause = 0


;-----------------------------------------------------------------------
;僾儗僀儎乕梡
;==============================================================================
;崿
[State -1, hadouken]
type = ChangeState
value = 3100
triggerall = var(59) != 1
triggerall = roundstate = 2
triggerall = ifelse(Var(14) = 1 || Var(15) = 1,power >= 2500,power >= 2000)
triggerall = command = "Marokare"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200 && (animelem=3,>0 && animelem=4,<0)
trigger3 = stateno = 201 && (animelem=3,>0 && animelem=4,<0)
trigger4 = stateno = 231 && (animelem=4,>0 && animelem=5,<0)
trigger5 = stateno = 240 && (animelem=3,>0 && animelem=7,<0)
trigger6 = stateno = 241 && (animelem=3,>0 && animelem=11,<0)
trigger7 = stateno = 400 && (animelem=2,>0 && animelem=3,<0)
trigger8 = stateno = 410 && (animelem=6,>0 && animelem=8,<0)
trigger9 = stateno = 430 && (animelem=2,>0 && animelem=4,<0)
trigger10 = stateno = 440 && (animelem=8,>0 && animelem=9,<0)
trigger11 = stateno = 1100 && (animelem=3,>0 && animelem=7,<0) && var(14)
trigger12 = stateno = 3020 && (animelem=18,>1 && var(15))
ignorehitpause = 0

;------------------------------------------------------------------------------
;嫮 戝恄
[State -1, hadouken]
type = ChangeState
value = 3010
triggerall = var(59) != 1
triggerall = roundstate = 2
triggerall = ifelse(Var(14) = 1,power >= 1500,power >= 1000)
triggerall = command = "Omiwa2"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200 && (animelem=3,>0 && animelem=4,<0)
trigger3 = stateno = 201 && (animelem=3,>0 && animelem=4,<0)
trigger4 = stateno = 231 && (animelem=4,>0 && animelem=5,<0)
trigger5 = stateno = 240 && (animelem=3,>0 && animelem=7,<0)
trigger6 = stateno = 241 && (animelem=3,>0 && animelem=11,<0)
trigger7 = stateno = 400 && (animelem=2,>0 && animelem=3,<0)
trigger8 = stateno = 410 && (animelem=6,>0 && animelem=8,<0)
trigger9 = stateno = 430 && (animelem=2,>0 && animelem=4,<0)
trigger10 = stateno = 440 && (animelem=8,>0 && animelem=9,<0)
trigger11 = stateno = 1100 && (animelem=3,>0 && animelem=7,<0) && var(14)
ignorehitpause = 0

;------------------------------------------------------------------------------
;庛 戝恄
[State -1, hadouken]
type = ChangeState
value = 3000
triggerall = var(59) != 1
triggerall = roundstate = 2
triggerall = ifelse(Var(14) = 1,power >= 1500,power >= 1000)
triggerall = command = "Omiwa1"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200 && (animelem=3,>0 && animelem=4,<0)
trigger3 = stateno = 201 && (animelem=3,>0 && animelem=4,<0)
trigger4 = stateno = 231 && (animelem=4,>0 && animelem=5,<0)
trigger5 = stateno = 240 && (animelem=3,>0 && animelem=7,<0)
trigger6 = stateno = 241 && (animelem=3,>0 && animelem=11,<0)
trigger7 = stateno = 400 && (animelem=2,>0 && animelem=3,<0)
trigger8 = stateno = 410 && (animelem=6,>0 && animelem=8,<0)
trigger9 = stateno = 430 && (animelem=2,>0 && animelem=4,<0)
trigger10 = stateno = 440 && (animelem=8,>0 && animelem=9,<0)
trigger11 = stateno = 1100 && (animelem=3,>0 && animelem=7,<0) && var(14)
ignorehitpause = 0


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



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

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

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

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



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


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


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






;------------------------------------------------------------------------------
;嫮 屼戝
[State -1, hadouken]
type = ChangeState
value = 1410
triggerall = palno = [1,6] 
triggerall = var(59) != 1
triggerall = roundstate = 2
triggerall = command = "Miho2"
triggerall = statetype = A
trigger1 = ctrl
ignorehitpause = 0

;------------------------------------------------------------------------------
;庛 屼戝
[State -1, hadouken]
type = ChangeState
value = 1400
triggerall = palno = [1,6] 
triggerall = var(59) != 1
triggerall = roundstate = 2
triggerall = command = "Miho1"
triggerall = statetype = A
trigger1 = ctrl
ignorehitpause = 0

;------------------------------------------------------------------------------
;嫮 尠嵵
[State -1, hadouken]
type = ChangeState
value = 1210
triggerall = var(59) != 1
triggerall = NumHelper(1220) = 0 || NumHelper(1250) = 0
triggerall = roundstate = 2
triggerall = command = "Utsushiiwai2"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200 && (animelem=3,>0 && animelem=4,<0)
trigger3 = stateno = 201 && (animelem=3,>0 && animelem=4,<0)
trigger4 = stateno = 231 && (animelem=4,>0 && animelem=5,<0)
trigger5 = stateno = 240 && (animelem=3,>0 && animelem=7,<0)
trigger6 = stateno = 241 && (animelem=3,>0 && animelem=11,<0)
trigger7 = stateno = 400 && (animelem=2,>0 && animelem=3,<0)
trigger8 = stateno = 410 && (animelem=6,>0 && animelem=8,<0)
trigger9 = stateno = 430 && (animelem=2,>0 && animelem=4,<0)
trigger10 = stateno = 440 && (animelem=8,>0 && animelem=9,<0)
ignorehitpause = 0

;------------------------------------------------------------------------------
;庛 尠嵵
[State -1, hadouken]
type = ChangeState
value = 1200
triggerall = var(59) != 1
triggerall = roundstate = 2
triggerall = command = "Utsushiiwai1"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200 && (animelem=3,>0 && animelem=4,<0)
trigger3 = stateno = 201 && (animelem=3,>0 && animelem=4,<0)
trigger4 = stateno = 231 && (animelem=4,>0 && animelem=5,<0)
trigger5 = stateno = 240 && (animelem=3,>0 && animelem=7,<0)
trigger6 = stateno = 241 && (animelem=3,>0 && animelem=11,<0)
trigger7 = stateno = 400 && (animelem=2,>0 && animelem=3,<0)
trigger8 = stateno = 410 && (animelem=6,>0 && animelem=8,<0)
trigger9 = stateno = 430 && (animelem=2,>0 && animelem=4,<0)
trigger10 = stateno = 440 && (animelem=8,>0 && animelem=9,<0)
ignorehitpause = 0

;------------------------------------------------------------------------------
;僟僢僔儏
[State -1, Dash]
type = ChangeState
value = 100
triggerall = var(59) != 1
triggerall = roundstate = 2
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl
ignorehitpause = 0

;------------------------------------------------------------------------------
;僶僢僋僗僥僢僾
[State -1, Back Step]
type = ChangeState
value = 105
triggerall = var(59) != 1
triggerall = roundstate = 2
trigger1 = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl
ignorehitpause = 0

;------------------------------------------------------------------------------
;夞傝崬傒丄
[State -1, Roll]
type = ChangeState
value = ifelse(Command="holdback",710,700)
triggerall = var(59) != 1
triggerall = roundstate = 2
triggerall = command = "roll" 
trigger1 = statetype = S && Ctrl
ignorehitpause = 0

;------------------------------------------------------------------------------
;僈乕僪僉儍儞僙儖慜揮
[State -1, Roll]
type = ChangeState
value = ifelse(Command="holdback",730,720) 
triggerall = var(59) != 1
triggerall = roundstate = 2
triggerall = command = "roll" 
triggerall = Power >= 1000
trigger1 = stateno = 150
trigger2 = stateno = 151
trigger3 = stateno = 152
trigger4 = stateno = 153

;------------------------------------------------------------------------------
;AC僞僋僥傿僇儖僗僥僢僾
[State -1, Roll]
type = null;ChangeState
value = 730 
triggerall = var(59) != 1
triggerall = roundstate = 2
triggerall = command = "roll" 
triggerall = Power >= 1000
trigger1 = stateno = 201 && movecontact = 1
trigger2 = stateno = 201 && movecontact = 1
trigger3 = stateno = 210 && movecontact = 1
trigger4 = stateno = 211 && movecontact = 1
trigger5 = stateno = 230 && movecontact = 1
trigger6 = stateno = 231 && movecontact = 1
trigger7 = stateno = 240 && movecontact = 1
trigger8 = stateno = 241 && movecontact = 1
trigger9 = stateno = 400 && movecontact = 1
trigger10 = stateno = 410 && movecontact = 1
trigger11 = stateno = 430 && movecontact = 1
trigger12 = stateno = 440 && movecontact = 1



;------------------------------------------------------------------------------
;搳偘
[State -1, Kung Fu Throw]
type = ChangeState
value = 800
triggerall = var(59) != 1
triggerall = roundstate = 2
triggerall = command = "y"
triggerall = statetype = S
triggerall = ctrl
triggerall = stateno != 100
triggerall = p2bodydist X <= 22
trigger1 = command = "holdfwd"
trigger1 = (p2statetype = S) || (p2statetype = C)
trigger1 = p2movetype != H
trigger2 = command = "holdback"
trigger2 = (p2statetype = S) || (p2statetype = C)
trigger2 = p2movetype != H
ignorehitpause = 0

;------------------------------------------------------------------------------
;搳偘
[State -1, Kung Fu Throw]
type = ChangeState
value = 810
triggerall = var(59) != 1
triggerall = command = "b"
triggerall = statetype = S
triggerall = ctrl
triggerall = stateno != 100
triggerall = p2bodydist X <= 22
trigger1 = command = "holdfwd"
trigger1 = (p2statetype = S) || (p2statetype = C)
trigger1 = p2movetype != H
trigger2 = command = "holdback"
trigger2 = (p2statetype = S) || (p2statetype = C)
trigger2 = p2movetype != H
ignorehitpause = 0

;------------------------------------------------------------------------------
;傇偭偲偽偟峌寕
[State -1, Jump Strong Kick]
type = ChangeState
value = 250
triggerall = var(59) != 1
triggerall = roundstate = 2
triggerall = command = "z"
triggerall = statetype != A
trigger1 = ctrl
ignorehitpause = 0

;------------------------------------------------------------------------------
;僈乕僪僉儍儞僙儖傇偭旘偽偟峌寕
[State -1]
type = ChangeState
value = 255
triggerall = var(59) != 1
triggerall = roundstate = 2
triggerall = command = "z"
triggerall = statetype != A
triggerall = Power >= 1000
trigger1 = stateno = 150
trigger2 = stateno = 151
trigger3 = stateno = 152
trigger4 = stateno = 153

;------------------------------------------------------------------------------
;僕儍儞僾傇偭偲偽偟峌寕
[State -1, Jump Strong Kick]
type = ChangeState
value = 650
triggerall = var(59) != 1
triggerall = roundstate = 2
triggerall = command = "z"
triggerall = stateno != 105
triggerall = statetype = A
trigger1 = ctrl
ignorehitpause = 0

;==============================================================================
;------------------------------------------------------------------------------
;嬤嫍棧棫偪庛僷儞僠
[State -1, Stand Light Punch]
type = ChangeState
value = 201
triggerall = var(59) != 1
triggerall = roundstate = 2
triggerall = command = "x"
triggerall = command != "holddown"
triggerall = P2BodyDist X <= 15
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 201 && (animelem=3,>0 && animelem=4,<0)
ignorehitpause = 0

;------------------------------------------------------------------------------
;墦嫍棧棫偪庛僷儞僠
[State -1, Stand Light Punch]
type = ChangeState
value = 200
triggerall = var(59) != 1
triggerall = roundstate = 2
triggerall = command = "x"
triggerall = command != "holddown"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200 && (animelem=3,>0 && animelem=4,<0)
trigger3 = stateno = 201 && (animelem=3,>0 && animelem=4,<0)
ignorehitpause = 0

;------------------------------------------------------------------------------
;嬤嫍棧棫偪嫮僷儞僠
[State -1, Stand Strong Punch]
type = ChangeState
value = 211
triggerall = var(59) != 1
triggerall = roundstate = 2
triggerall = command = "y"
triggerall = command != "holddown"
triggerall = P2BodyDist X <= 25
triggerall = statetype != A
trigger1 = ctrl
ignorehitpause = 0

;------------------------------------------------------------------------------
;棫偪嫮僷儞僠
[State -1, Stand Strong Punch]
type = ChangeState
value = 210
triggerall = var(59) != 1
triggerall = roundstate = 2
triggerall = command = "y"
triggerall = command != "holddown"
triggerall = statetype != A
trigger1 = ctrl
ignorehitpause = 0

;------------------------------------------------------------------------------
;嬤嫍棧棫偪庛僉僢僋
[State -1, Stand Light Kick]
type = ChangeState
value = 231
triggerall = var(59) != 1
triggerall = roundstate = 2
triggerall = command = "a"
triggerall = command != "holddown"
triggerall = P2BodyDist X <= 15
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 231 && (animelem=4,>0 && animelem=5,<0)
trigger3 = stateno = 400 && (animelem=2,>0 && animelem=3,<0)
trigger4 = stateno = 430 && (animelem=2,>0 && animelem=4,<0)
ignorehitpause = 0

;------------------------------------------------------------------------------
;棫偪庛僉僢僋
[State -1, Stand Light Kick]
type = ChangeState
value = 230
triggerall = var(59) != 1
triggerall = roundstate = 2
triggerall = command = "a"
triggerall = command != "holddown"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200 && (animelem=3,>0 && animelem=4,<0)
trigger3 = stateno = 201 && (animelem=3,>0 && animelem=4,<0)
trigger4 = stateno = 231 && (animelem=4,>0 && animelem=5,<0)
trigger5 = stateno = 400 && (animelem=2,>0 && animelem=3,<0)
trigger6 = stateno = 430 && (animelem=2,>0 && animelem=4,<0)
ignorehitpause = 0

;------------------------------------------------------------------------------
;嬤嫍棧嫮僉僢僋
[State -1, Standing Strong Kick]
type = ChangeState
value = 241
triggerall = var(59) != 1
triggerall = roundstate = 2
triggerall = command = "b"
triggerall = command != "holddown"
triggerall = P2BodyDist X <= 25
triggerall = statetype != A
trigger1 = ctrl
ignorehitpause = 0

;------------------------------------------------------------------------------
;棫偪嫮僉僢僋
[State -1, Standing Strong Kick]
type = ChangeState
value = 240
triggerall = var(59) != 1
triggerall = roundstate = 2
triggerall = command = "b"
triggerall = command != "holddown"
triggerall = statetype != A
trigger1 = ctrl
ignorehitpause = 0


;------------------------------------------------------------------------------
;挧敪
[State -1, Taunt]
type = ChangeState
value = 195
triggerall = var(59) != 1
triggerall = roundstate = 2
triggerall = command = "start"
triggerall = statetype != A
trigger1 = ctrl
ignorehitpause = 0

;------------------------------------------------------------------------------
;偟傖偑傒庛僷儞僠
[State -1, Crouching Light Punch]
type = ChangeState
value = 400
triggerall = var(59) != 1
triggerall = roundstate = 2
triggerall = command = "x"
triggerall = command = "holddown"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 400 && (animelem=2,>0 && animelem=3,<0)
ignorehitpause = 0

;------------------------------------------------------------------------------
;偟傖偑傒嫮僷儞僠
[State -1, Crouching Strong Punch]
type = ChangeState
value = 410
triggerall = var(59) != 1
triggerall = roundstate = 2
triggerall = command = "y"
triggerall = command = "holddown"
triggerall = statetype != A
trigger1 = ctrl
ignorehitpause = 0

;------------------------------------------------------------------------------
;偟傖偑傒庛僉僢僋
[State -1, Crouching Light Kick]
type = ChangeState
value = 430
triggerall = var(59) != 1
triggerall = roundstate = 2
triggerall = command = "a"
triggerall = command = "holddown"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 430 && (animelem=2,>0 && animelem=4,<0)
ignorehitpause = 0

;------------------------------------------------------------------------------
;偟傖偑傒嫮僉僢僋
[State -1, Crouching Strong Kick]
type = ChangeState
value = 440
triggerall = var(59) != 1
triggerall = roundstate = 2
triggerall = command = "b"
triggerall = command = "holddown"
triggerall = statetype != A
trigger1 = ctrl
ignorehitpause = 0


;------------------------------------------------------------------------------
;幬傔嬻拞庛僷儞僠
[State -1, Jump Light Punch]
type = ChangeState
value = 600
triggerall = var(59) != 1
triggerall = roundstate = 2
triggerall = command = "x"
triggerall = statetype = A
trigger1 = ctrl
ignorehitpause = 0


;------------------------------------------------------------------------------
;幬傔嬻拞嫮僷儞僠
[State -1, Jump Strong Punch]
type = ChangeState
value = 610
triggerall = var(59) != 1
triggerall = roundstate = 2
triggerall = command = "y"
triggerall = statetype = A
trigger1 = ctrl
ignorehitpause = 0

;------------------------------------------------------------------------------
;幬傔嬻拞庛僉僢僋
[State -1, Jump Light Kick]
type = ChangeState
value = 630
triggerall = var(59) != 1
triggerall = roundstate = 2
triggerall = command = "a"
triggerall = statetype = A
trigger1 = ctrl
ignorehitpause = 0


;------------------------------------------------------------------------------
;幬傔嬻拞嫮僉僢僋
[State -1, Jump Strong Kick]
type = ChangeState
value = 640
triggerall = var(59) != 1
triggerall = roundstate = 2
triggerall = command = "b"
triggerall = statetype = A
trigger1 = ctrl
ignorehitpause = 0



;---------------------------------------------------------------------------
丠

