;-| 超必殺技 

[Command]
name = "CPU0"
command = U,U,D,D,B,F,B,F,s,s
time = 0

[Command]
name = "CPU1"
command = U,U,D,D,B,F,B,F,a,a
time = 0

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

[Command]
name = "CPU3"
command = U,U,D,D,B,F,B,F,c,c
time = 0

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

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

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

[Command]
name = "CPU7"
command = U,U,D,D,B,F,B,F,a,b
time = 0

[Command]
name = "CPU8"
command = U,U,D,D,B,F,B,F,b,c
time = 0

[Command]
name = "CPU9"
command = U,U,D,D,B,F,B,F,a,c
time = 0

[Command]
name = "CPU10"
command = U,U,D,D,B,F,B,F,x,y
time = 0

[Command]
name = "CPU11"
command = U,U,D,D,B,F,B,F,y,z
time = 0

[Command]
name = "CPU12"
command = U,U,D,D,B,F,B,F,x,z
time = 0

[Command]
name = "CPU13"
command = U,U,D,D,B,F,B,F,a,x
time = 0

[Command]
name = "CPU14"
command = U,U,D,D,B,F,B,F,a,y
time = 0

[Command]
name = "CPU15"
command = U,U,D,D,B,F,B,F,a,z
time = 0

[Command]
name = "CPU16"
command = U,U,D,D,B,F,B,F,b,x
time = 0

[Command]
name = "CPU17"
command = U,U,D,D,B,F,B,F,b,y
time = 0

[Command]
name = "CPU18"
command = U,U,D,D,B,F,B,F,b,z
time = 0

[Command]
name = "CPU19"
command = U,U,D,D,B,F,B,F,c,x
time = 0

[Command]
name = "CPU20"
command = U,U,D,D,B,F,B,F,c,y
time = 0

[Command]
name = "CPU21"
command = U,U,D,D,B,F,B,F,c,z
time = 0

[Command]
name = "CPU22"
command = U,U,D,D,B,F,B,F,x,a
time = 0

[Command]
name = "CPU23"
command = U,U,D,D,B,F,B,F,x,b
time = 0

[Command]
name = "CPU24"
command = U,U,D,D,B,F,B,F,x,c
time = 0

[Command]
name = "CPU25"
command = U,U,D,D,B,F,B,F,y,a
time = 0

[Command]
name = "CPU26"
command = U,U,D,D,B,F,B,F,y,b
time = 0

[Command]
name = "CPU27"
command = U,U,D,D,B,F,B,F,y,c
time = 0

[Command]
name = "CPU28"
command = U,U,D,D,B,F,B,F,z,a
time = 0

[Command]
name = "CPU29"
command = U,U,D,D,B,F,B,F,z,b
time = 0

[Command]
name = "CPU30"
command = U,U,D,D,B,F,B,F,z,c
time = 0

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



|--------------------------------------------------------
[Command]
name = "hiten"
command = ~D, DF, F, D, DF, s
time = 21





[Command]
name = "mach1"
command = ~D, DF, F, D, DF, a
time = 21

[Command]
name = "mach2"
command = ~D, DF, F, D, DF, b
time = 21

[Command]
name = "mach3"
command = ~D, DF, F, D, DF, c
time = 21


[Command]
name = "sourai1"
command = ~D, DF, F, D, DF, x
time = 21

[Command]
name = "sourai1"
command = ~D, DF, F, D, DF, ~x
time = 21

[Command]
name = "sourai2"
command = ~D, DF, F, D, DF, y
time = 21

[Command]
name = "sourai2"
command = ~D, DF, F, D, DF, ~y
time = 21

[Command]
name = "sourai3"
command = ~D, DF, F, D, DF, z
time = 21

[Command]
name = "sourai3"
command = ~D, DF, F, D, DF, ~z
time = 21

[Command]
name = "youhou"
command = ~D, DB, B, D, DB, x
time = 21

[Command]
name = "youhou1"
command = ~D, DB, B, D, DB, y
time = 21

[Command]
name = "youhou2"
command = ~D, DB, B, D, DB, z
time = 21



;-| 必殺技 |------------------------------------------------------
[Command]
name = "hohou1"
command = ~D, DF, F, x
;time = 12

;[Command]
;name = "hohou1"
;command = ~D, DF, F, ~x
;time = 12

[Command]
name = "hohou2"
command = ~D, DF, F, y
;time = 12

;[Command]
;name = "hohou2"
;command = ~D, DF, F, ~y
;time = 12

[Command]
name = "hohou3"
command = ~D, DF, F, z
;time = 12

;[Command]
;name = "hohou3"
;command = ~D, DF, F, ~z
;time = 12

[Command]
name = "tetsuzankou1"
command = ~F, D, DF, x
time = 12

[Command]
name = "tetsuzankou1"
command = ~F, D, DF, ~x
time = 12

[Command]
name = "tetsuzankou2"
command = ~F, D, DF, y
time = 12

[Command]
name = "tetsuzankou2"
command = ~F, D, DF, ~y
time = 12

[Command]
name = "tetsuzankou3"
command = ~F, D, DF, z
time = 12

[Command]
name = "tetsuzankou3"
command = ~F, D, DF, ~z
time = 12

[Command]
name = "kobokushi1"
command = ~D, DB, B, x
time = 12

[Command]
name = "kobokushi1"
command = ~D, DB, B, ~x
time = 12

[Command]
name = "kobokushi2"
command = ~D, DB, B, y
time = 12

[Command]
name = "kobokushi2"
command = ~D, DB, B, ~y
time = 12

[Command]
name = "kobokushi3"
command = ~D, DB, B, z
time = 12

[Command]
name = "kobokushi3"
command = ~D, DB, B, ~z
time = 12

;[Command]
;name = "kobokushi4"
;command = ~D, DB, B, s
;time = 12

[Command]
name = "senkyutai1"
command = ~D, DB, B, a
time = 12

[Command]
name = "senkyutai1"
command = ~D, DB, B, ~a
time = 12

[Command]
name = "senkyutai2"
command = ~D, DB, B, b
time = 12

[Command]
name = "senkyutai2"
command = ~D, DB, B, ~b
time = 12

[Command]
name = "senkyutai3"
command = ~D, DB, B, c
time = 12

[Command]
name = "senkyutai3"
command = ~D, DB, B, ~c
time = 12

[Command]
name = "zenpou"
command = ~F, DF, D, DB, B, a
time = 18

[Command]
name = "zenpou"
command = ~F, DF, D, DB, B, ~a
time = 18

[Command]
name = "zenpou"
command = ~F, DF, D, DB, B, b
time = 18

[Command]
name = "zenpou"
command = ~F, DF, D, DB, B, ~b
time = 18

[Command]
name = "zenpou"
command = ~F, DF, D, DB, B, c
time = 18

[Command]
name = "zenpou"
command = ~F, DF, D, DB, B, ~c
time = 18

[Command]
name = "throw1"
command = x+y
time = 1

[Command]
name = "throw2"
command = a+b
time = 1


;-| ２回押し技 |-----------------------------------------------------------
;[Command]
;name = "longjump"
;command = D, $U
;time = 18

[Command]
name = "FF"     
command = F, F
time = 12

[Command]
name = "BB"     
command = B, B
time = 10

;-| ２・３個の同時押し技 |-----------------------------------------------

[Command]
name = "recovery" ;Required (do not remove)
command = a+b
time = 1
[Command]
name = "recovery"
command = x+y
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 = "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

[Command]
name = "holda"
command = /a
time = 1

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

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

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

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

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

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

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

[Command];（前ブロッキングコマンド）
name = "block"
command = F
time = 1

[Command];（下ブロッキングコマンド）
name = "block2"
command = D
time = 1

[Command];（グルーヴセレクト用）
name = "up"
command = U
time = 3

[Command];（グルーヴセレクト用）
name = "down"
command = D
time = 3

[Command]
name = "back"
command = B
time = 1

[Command]
name = "downback"
command = DB
time = 1

; 下の記述↓は絶対に消さないでください。
[Statedef -1]
;===========================================================================

[State -1]
type = VarSet
trigger1 = command = "CPU0"
trigger2 = command = "CPU1"
trigger3 = command = "CPU2"
trigger4 = command = "CPU3"
trigger5 = command = "CPU4"
trigger6 = command = "CPU5"
trigger7 = command = "CPU6"
trigger8 = command = "CPU7"
v = 60
value = 1

[State -1]
type = VarSet
trigger1 = command = "CPU8"
trigger2 = command = "CPU9"
trigger3 = command = "CPU10"
trigger4 = command = "CPU11"
trigger5 = command = "CPU12"
trigger6 = command = "CPU13"
trigger7 = command = "CPU14"
trigger8 = command = "CPU15"
v = 60
value = 1

[State -1]
type = VarSet
trigger1 = command = "CPU16"
trigger2 = command = "CPU17"
trigger3 = command = "CPU18"
trigger4 = command = "CPU19"
trigger5 = command = "CPU20"
trigger6 = command = "CPU21"
trigger7 = command = "CPU22"
trigger8 = command = "CPU23"
v = 60
value = 1

[State -1]
type = VarSet
trigger1 = command = "CPU24"
trigger2 = command = "CPU25"
trigger3 = command = "CPU26"
trigger4 = command = "CPU27"
trigger5 = command = "CPU28"
trigger6 = command = "CPU29"
trigger7 = command = "CPU30"
trigger8 = command = "CPU31"
v = 60
value = 1

[State -1]
type = VarSet
trigger1 = command = "CPU0"
trigger2 = command = "CPU1"
trigger3 = command = "CPU2"
trigger4 = command = "CPU3"
trigger5 = command = "CPU4"
trigger6 = command = "CPU5"
trigger7 = command = "CPU6"
trigger8 = command = "CPU7"
v = 60
value = 1

[State -1]
type = VarSet
trigger1 = command = "CPU8"
trigger2 = command = "CPU9"
trigger3 = command = "CPU10"
trigger4 = command = "CPU11"
trigger5 = command = "CPU12"
trigger6 = command = "CPU13"
trigger7 = command = "CPU14"
trigger8 = command = "CPU15"
v = 60
value = 1

[State -1]
type = VarSet
trigger1 = command = "CPU16"
trigger2 = command = "CPU17"
trigger3 = command = "CPU18"
trigger4 = command = "CPU19"
trigger5 = command = "CPU20"
trigger6 = command = "CPU21"
trigger7 = command = "CPU22"
trigger8 = command = "CPU23"
v = 60
value = 1

[State -1]
type = VarSet
trigger1 = command = "CPU24"
trigger2 = command = "CPU25"
trigger3 = command = "CPU26"
trigger4 = command = "CPU27"
trigger5 = command = "CPU28"
trigger6 = command = "CPU29"
trigger7 = command = "CPU30"
trigger8 = command = "CPU31"
v = 60
value = 1



;---------------------------------------------------------------------------
;揚砲
[State -1, hadouken]
type = ChangeState
value = 3100
triggerall = !var(59)
;triggerall = roundstate = 2
triggerall = power >= 1000
triggerall = Command = "youhou"
triggerall = statetype != A
trigger1 = ctrl 

[State -1, hadouken]
type = ChangeState
value = 3100
triggerall = !var(59)
;triggerall = roundstate = 2
triggerall = power >= 1000
triggerall = Command = "youhou"
triggerall = statetype != A
trigger1 = movecontact
trigger1 = ctrl 
trigger2 = stateno = 200
trigger3 = stateno = 210
trigger4 = stateno = 220
trigger5 = stateno = 230
trigger6 = stateno = 400
trigger7 = stateno = 410
trigger8 = stateno = 420
trigger9 = stateno = 430
trigger10 = stateno = 440
trigger11 = stateno = 221
trigger12 = stateno = 240
trigger13 = stateno = 250
trigger14 = stateno = 251

[State -1, hadouken]
type = ChangeState
value = 310011
triggerall = !var(59)
triggerall = roundstate = 2
triggerall = power >= 2000
triggerall = Command = "youhou1"
triggerall = statetype != A
trigger1 = ctrl 

[State -1, hadouken]
type = ChangeState
value = 310011
triggerall = !var(59)
;triggerall = roundstate = 2
triggerall = power >= 2000
triggerall = Command = "youhou1"
triggerall = statetype != A
trigger1 = movecontact
trigger1 = ctrl 
trigger2 = stateno = 200
trigger3 = stateno = 210
trigger4 = stateno = 220
trigger5 = stateno = 230
trigger6 = stateno = 400
trigger7 = stateno = 410
trigger8 = stateno = 420
trigger9 = stateno = 430
trigger10 = stateno = 440
trigger11 = stateno = 221
trigger12 = stateno = 240
trigger13 = stateno = 250
trigger14 = stateno = 251

[State -1, hadouken]
type = ChangeState
value = 310012
triggerall = !var(59)
;triggerall = roundstate = 2
triggerall = power >= 3000
triggerall = Command = "youhou2"
triggerall = statetype != A
trigger1 = ctrl 

[State -1, hadouken]
type = ChangeState
value = 310012
triggerall = !var(59)
;triggerall = roundstate = 2
triggerall = power >= 3000
triggerall = Command = "youhou2"
triggerall = statetype != A
trigger1 = movecontact
trigger1 = ctrl 
trigger2 = stateno = 200
trigger3 = stateno = 210
trigger4 = stateno = 220
trigger5 = stateno = 230
trigger6 = stateno = 400
trigger7 = stateno = 410
trigger8 = stateno = 420
trigger9 = stateno = 430
trigger10 = stateno = 440
trigger11 = stateno = 221
trigger12 = stateno = 240
trigger13 = stateno = 250
trigger14 = stateno = 251

;---------------------------------------------------------------------------
;飛天双龍陣
[State -1, hadouken]
type = ChangeState
value = 3300
triggerall = !var(59)
;triggerall = !var(4)
;triggerall = roundstate = 2
triggerall = power >= 2000
triggerall = Command = "hiten"
;triggerall = !NumHelper(2000)
triggerall = statetype = A
trigger1 = ctrl
ignorehitpause = 0
;---------------------------------------------------------------------------
;槍雷連撃
[State -1, hadouken]
type = ChangeState
value = 3000
triggerall = !var(59)
;triggerall = roundstate = 2
triggerall = Power >= 1000 
triggerall = Command = "sourai1" 
triggerall = statetype != A
trigger1 = ctrl ;|| (stateno = 100 && animelemtime(2) >1) || stateno = 101 || (stateno = 52 && anim = 57 && time >= 2)
ignorehitpause = 0

[State -1, hadouken]
type = ChangeState
value = 3000
triggerall = !var(59)
;triggerall = roundstate = 2
triggerall = Power >= 1000 
triggerall = Command = "sourai1" 
triggerall = statetype != A
trigger1 = movecontact
trigger1 = ctrl 
trigger2 = stateno = 200
trigger3 = stateno = 210
trigger4 = stateno = 220
trigger5 = stateno = 230
trigger6 = stateno = 400
trigger7 = stateno = 410
trigger8 = stateno = 420
trigger9 = stateno = 430
trigger10 = stateno = 440
trigger11 = stateno = 221
trigger12 = stateno = 240
trigger13 = stateno = 250
trigger14 = stateno = 251


;---------------------------------------------------------------------------
;槍雷連撃
[State -1, hadouken]
type = ChangeState
value = 3000111
triggerall = !var(59)
;triggerall = roundstate = 2
triggerall = Power >= 2000 
triggerall = Command = "sourai2" 
triggerall = statetype != A
trigger1 = ctrl ;|| (stateno = 100 && animelemtime(2) >1) || stateno = 101 || (stateno = 52 && anim = 57 && time >= 2)
ignorehitpause = 0

[State -1, hadouken]
type = ChangeState
value = 3000111
triggerall = !var(59)
;triggerall = roundstate = 2
triggerall = Power >= 2000 
triggerall = Command = "sourai2"
triggerall = statetype != A
trigger1 = movecontact
trigger1 = ctrl 
trigger2 = stateno = 200
trigger3 = stateno = 210
trigger4 = stateno = 220
trigger5 = stateno = 230
trigger6 = stateno = 400
trigger7 = stateno = 410
trigger8 = stateno = 420
trigger9 = stateno = 430
trigger10 = stateno = 440
trigger11 = stateno = 221
trigger12 = stateno = 240
trigger13 = stateno = 250
trigger14 = stateno = 251

;---------------------------------------------------------------------------
;槍雷連撃
[State -1, hadouken]
type = ChangeState
value = 3000112
triggerall = !var(59)
;triggerall = roundstate = 2
triggerall = Power >= 3000 
triggerall = Command = "sourai3"
triggerall = statetype != A
trigger1 = ctrl ;|| (stateno = 100 && animelemtime(2) >1) || stateno = 101 || (stateno = 52 && anim = 57 && time >= 2)
ignorehitpause = 0

[State -1, hadouken]
type = ChangeState
value = 3000112
triggerall = !var(59)
;triggerall = roundstate = 2
triggerall = Power >= 3000 
triggerall = Command = "sourai3"
triggerall = statetype != A
trigger1 = movecontact
trigger1 = ctrl 
trigger2 = stateno = 200
trigger3 = stateno = 210
trigger4 = stateno = 220
trigger5 = stateno = 230
trigger6 = stateno = 400
trigger7 = stateno = 410
trigger8 = stateno = 420
trigger9 = stateno = 430
trigger10 = stateno = 440
trigger11 = stateno = 221
trigger12 = stateno = 240
trigger13 = stateno = 250
trigger14 = stateno = 251

;---------------------------------------------------------------------------
;雷震魔破拳
[State -1, hadouken]
type = ChangeState
value = 3200
triggerall = !var(59)
;triggerall = roundstate = 2
triggerall = Power >= 1000  
triggerall = Command = "mach1" 
;triggerall = !NumHelper(2000)
triggerall = statetype != A
trigger1 = ctrl ;|| (stateno = 100 && animelemtime(2) >1) || stateno = 101 || (stateno = 52 && anim = 57 && time >= 2)
ignorehitpause = 0


[State -1, hadouken]
type = ChangeState
value = 3200
triggerall = !var(59)
;triggerall = roundstate = 2
triggerall = Power >= 1000  
triggerall = Command = "mach1" 
;triggerall = !NumHelper(2000)
triggerall = statetype != A
trigger1 = movecontact
trigger1 = ctrl 
trigger2 = stateno = 200
trigger3 = stateno = 210
trigger4 = stateno = 220
trigger5 = stateno = 230
trigger6 = stateno = 400
trigger7 = stateno = 410
trigger8 = stateno = 420
trigger9 = stateno = 430
trigger10 = stateno = 440
trigger11 = stateno = 221
trigger12 = stateno = 240
trigger13 = stateno = 250
trigger14 = stateno = 251


;---------------------------------------------------------------------------
;雷震魔破拳
[State -1, hadouken]
type = ChangeState
value = 320011
triggerall = !var(59)
;triggerall = roundstate = 2
triggerall = Power >= 2000  
triggerall =  Command = "mach2" 
;triggerall = !NumHelper(2000)
triggerall = statetype != A
trigger1 = ctrl 
ignorehitpause = 0

[State -1, hadouken]
type = ChangeState
value = 320011
triggerall = !var(59)
;triggerall = roundstate = 2
triggerall = Power >= 2000  
triggerall =  Command = "mach2" 
;triggerall = !NumHelper(2000)
triggerall = statetype != A
trigger1 = movecontact
trigger1 = ctrl 
trigger2 = stateno = 200
trigger3 = stateno = 210
trigger4 = stateno = 220
trigger5 = stateno = 230
trigger6 = stateno = 400
trigger7 = stateno = 410
trigger8 = stateno = 420
trigger9 = stateno = 430
trigger10 = stateno = 440
trigger11 = stateno = 221
trigger12 = stateno = 240
trigger13 = stateno = 250
trigger14 = stateno = 251

;---------------------------------------------------------------------------
;雷震魔破拳
[State -1, hadouken]
type = ChangeState
value = 320012
triggerall = !var(59)
;triggerall = roundstate = 2
triggerall = Power >= 3000 
triggerall = Command = "mach3"
;triggerall = !NumHelper(2000)
triggerall = statetype != A
trigger1 = ctrl 
ignorehitpause = 0

[State -1, hadouken]
type = ChangeState
value = 320012
triggerall = !var(59)
;triggerall = roundstate = 2
triggerall = Power >= 3000 
triggerall = Command = "mach3" 
;triggerall = !NumHelper(2000)
triggerall = statetype != A
trigger1 = movecontact
trigger1 = ctrl 
trigger2 = stateno = 200
trigger3 = stateno = 210
trigger4 = stateno = 220
trigger5 = stateno = 230
trigger6 = stateno = 400
trigger7 = stateno = 410
trigger8 = stateno = 420
trigger9 = stateno = 430
trigger10 = stateno = 440
trigger11 = stateno = 221
trigger12 = stateno = 240
trigger13 = stateno = 250
trigger14 = stateno = 251
;===========================================================================
;---------------------------------------------------------------------------
;鉄山靠
[State -1, hadouken]
type = ChangeState
value = 1100
triggerall = !var(59)
triggerall = roundstate = 2
trigger1 = Command = "tetsuzankou1"
trigger1 = statetype = S
trigger1 = ctrl = 1

[State -1, hadouken]
type = ChangeState
value = 1100
triggerall = Var(60) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
trigger1 = statetype = S
trigger1 = ctrl 
trigger1 = p2bodydist X > 40 && p2bodydist X < 50

[State -1, hadouken]
type = ChangeState
value = 1100
triggerall = Var(60) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
trigger1 = statetype = S
trigger1 = ctrl 
trigger1 = p2bodydist X > 39 && p2bodydist X < 45

[State -1, hadouken]
type = ChangeState
value = 1100
triggerall = !var(59)
triggerall = roundstate = 2
triggerall  = Command = "tetsuzankou1"
triggerall  = statetype = S
trigger1 = movecontact
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger3 = stateno = 210
trigger4 = stateno = 220
trigger5 = stateno = 230
trigger6 = stateno = 400
trigger7 = stateno = 410
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10 = stateno = 440
trigger11 = stateno = 221

;===========================================================================
;---------------------------------------------------------------------------
;鉄山靠
[State -1, hadouken]
type = ChangeState
value = 110011
;triggerall = !var(59)
;triggerall = roundstate = 2
trigger1 = Command = "tetsuzankou2" 
trigger1 = statetype = S
trigger1 = ctrl = 1

[State -1, hadouken]
type = ChangeState
value = 110011
triggerall = Var(60) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
trigger1 = statetype = S
trigger1 = ctrl 
trigger1 = p2bodydist X > 65 && p2bodydist X < 85

[State -1, hadouken]
type = ChangeState
value = 110011
triggerall = Var(60) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
trigger1 = statetype = S
trigger1 = ctrl 
trigger1 = p2bodydist X > 60 && p2bodydist X < 80


[State -1, hadouken]
type = ChangeState
value = 110011
;triggerall = !var(59)
;triggerall = roundstate = 2
triggerall = Command = "tetsuzankou2"
triggerall = statetype = S
trigger1 = movecontact
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger3 = stateno = 210
trigger4 = stateno = 220
trigger5 = stateno = 230
trigger6 = stateno = 400
trigger7 = stateno = 410
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10 = stateno = 440
trigger11 = stateno = 221

;===========================================================================
;---------------------------------------------------------------------------
;鉄山靠
[State -1, hadouken]
type = ChangeState
value = 110012
;triggerall = !var(59)
;triggerall = roundstate = 2
trigger1 = Command = "tetsuzankou3" 
trigger1 = statetype = S
trigger1 = ctrl = 1

[State -1, hadouken]
type = ChangeState
value = 110012
triggerall = Var(60) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
trigger1 = statetype = S
trigger1 = ctrl 
trigger1 = p2bodydist X > 165 && p2bodydist X < 185



[State -1, hadouken]
type = ChangeState
value = 110012
;triggerall = !var(59)
;triggerall = roundstate = 2
triggerall  = Command = "tetsuzankou3"
triggerall  = statetype = S
trigger1 = movecontact
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger3 = stateno = 210
trigger4 = stateno = 220
trigger5 = stateno = 230
trigger6 = stateno = 400
trigger7 = stateno = 410
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10 = stateno = 440
trigger11 = stateno = 221
;---------------------------------------------------------------------------
;絶招歩法
[State -1, hadouken]
type = ChangeState
value = 1000
;triggerall = !var(59)
;triggerall = roundstate = 2
triggerall = Command = "hohou1" 
triggerall = statetype != A
trigger1 = ctrl 

[State -1, hadouken]
type = ChangeState
value = 1000
triggerall = Var(60) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2bodydist X > 20 && p2bodydist X < 41



[State -1, hadouken]
type = ChangeState
value = 1000
;triggerall = !var(59)
;triggerall = roundstate = 2
triggerall = Command = "hohou1" 
triggerall = statetype != A
trigger1 = movecontact
trigger1 = ctrl 
trigger2 = stateno = 200
trigger3 = stateno = 210
trigger4 = stateno = 220
trigger5 = stateno = 230
trigger6 = stateno = 400
trigger7 = stateno = 410
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10 = stateno = 440
trigger11 = stateno = 221

;---------------------------------------------------------------------------
;絶招歩法
[State -1, hadouken]
type = ChangeState
value = 100011
;triggerall = !var(59)
;triggerall = roundstate = 2
triggerall = Command = "hohou2" 
triggerall = statetype != A
trigger1 = ctrl 

[State -1, hadouken]
type = ChangeState
value =  100011
triggerall = Var(60) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2bodydist X > 45 && p2bodydist X < 65


[State -1, hadouken]
type = ChangeState
value = 100011
;triggerall = !var(59)
;triggerall = roundstate = 2
triggerall = Command = "hohou2" 
triggerall = statetype != A
trigger1 = movecontact
trigger1 = ctrl 
trigger2 = stateno = 200
trigger3 = stateno = 210
trigger4 = stateno = 220
trigger5 = stateno = 230
trigger6 = stateno = 400
trigger7 = stateno = 410
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10 = stateno = 440
trigger11 = stateno = 221

;---------------------------------------------------------------------------
;絶招歩法
[State -1, hadouken]
type = ChangeState
value = 100012
;triggerall = !var(59)
;triggerall = roundstate = 2
triggerall = Command = "hohou3"
triggerall = statetype != A
trigger1 = ctrl 

[State -1, hadouken]
type = ChangeState
value =  100012
triggerall = Var(60) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2bodydist X > 80 && p2bodydist X < 120



[State -1, hadouken]
type = ChangeState
value = 100012
;triggerall = !var(59)
;triggerall = roundstate = 2
triggerall = Command = "hohou3"
triggerall = statetype != A
trigger1 = movecontact
trigger1 = ctrl 
trigger2 = stateno = 200
trigger3 = stateno = 210
trigger4 = stateno = 220
trigger5 = stateno = 230
trigger6 = stateno = 400
trigger7 = stateno = 410
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10 = stateno = 440
trigger11 = stateno = 221




;---------------------------------------------------------------------------
;前方転身
[State -1, hadouken]
type = ChangeState
value = 1400
triggerall = !var(59)
triggerall = roundstate = 2
triggerall = Command = "zenpou"
triggerall = statetype != A
trigger1 = ctrl || (stateno = 100 && animelemtime(2) >1) || stateno = 101 || (stateno = 52 && anim = 57 && time >= 2)
trigger2 = StateNo = 200
trigger3 = StateNo = 210 && (var(16) || animelemtime(4) < 0)
trigger4 = StateNo = 211 && (var(16) || animelemtime(5) < 0 || (var(36) = 1||var(36) = 2))
trigger5 = StateNo = 220 && (var(16) || animelemtime(5) < 0)
trigger6 = StateNo = 221 && (var(16) || animelemtime(5) < 0)
trigger7 = StateNo = 230 && (var(16) || animelemtime(3) < 0)
trigger8 = StateNo = 240 && (var(16) || animelemtime(3) < 0)
trigger9 = StateNo = 250 && (var(16) || animelemtime(4) < 0)
trigger10 = StateNo = 251 && (var(16) || animelemtime(4) < 0)
trigger11 = StateNo = 400
trigger12 = StateNo = 410 && (var(16) || animelemtime(3) < 0 || (var(36) = 1||var(36) = 2))
trigger13 = StateNo = 420 && (var(16) || animelemtime(3) < 0)
trigger14 = StateNo = 430
trigger15 = StateNo = 440 && (var(16) || animelemtime(4) < 0 || (var(36) = 1||var(36) = 2))
trigger16 = StateNo = 450 && (var(16) || animelemtime(4) < 0)
trigger17 = StateNo = 300 && (var(16) || animelemtime(4) < 0)
trigger18 = StateNo = 310 && var(16)
trigger19 = StateNo = 320 && (var(16) || animelemtime(5) < 0 || (var(36) = 1||var(36) = 2))
trigger20 = StateNo = 330 && var(16)
trigger21 = StateNo = 340 && var(16)
trigger22 = StateNo = 350 && var(16)
trigger23 = (StateNo = [1000,1399]) && statetype != A && var(36) && var(16)
trigger24 = (StateNo = [1000,1399]) && statetype != A && var(36) && var(16)
trigger25 = (StateNo = [3000,3099]) && Var(5) = 1 && (var(36) = 1||var(36) = 3)
trigger26 = (StateNo = [3200,3299]) && Var(5) = 1 && (var(36) = 1||var(36) = 3)
trigger27 = StateNo = 195 && var(36) && var(16)
ignorehitpause = 0


;---------------------------------------------------------------------------
;虎撲子
[State -1, hadouken]
type = ChangeState
value = 1300
;triggerall = !var(59)
;triggerall = roundstate = 2
triggerall = Command = "kobokushi1" 
triggerall = statetype != A
trigger1 = ctrl 

[State -1, hadouken]
type = ChangeState
value =  1300
triggerall = Var(60) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2bodydist X > 18 && p2bodydist X < 30



[State -1, hadouken]
type = ChangeState
value = 1300
;triggerall = !var(59)
;triggerall = roundstate = 2
triggerall = Command = "kobokushi1" 
triggerall = statetype != A
trigger1 = movecontact
trigger1 = ctrl 
trigger2 = stateno = 200
;trigger3 = stateno = 210
;trigger4 = stateno = 220
trigger3 = stateno = 230
trigger4 = stateno = 400
trigger5 = stateno = 410
;trigger8 = stateno = 420
trigger6 = stateno = 430
trigger7 = stateno = 440
trigger8 = stateno = 1000
trigger9 = stateno = 100011
trigger10 = stateno = 100012

;---------------------------------------------------------------------------
;虎撲子
[State -1, hadouken]
type = ChangeState
value = 130011
;triggerall = !var(59)
;triggerall = roundstate = 2
triggerall = Command = "kobokushi2" 
triggerall = statetype != A
trigger1 = ctrl 

[State -1, hadouken]
type = ChangeState
value =  1300
triggerall = Var(60) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2bodydist X > 21 && p2bodydist X < 37



[State -1, hadouken]
type = ChangeState
value = 130011
;triggerall = !var(59)
;triggerall = roundstate = 2
triggerall = Command = "kobokushi2" 
triggerall = statetype != A
trigger1 = movecontact
trigger1 = ctrl 
trigger2 = stateno = 200
;trigger3 = stateno = 210
;trigger4 = stateno = 220
trigger3 = stateno = 230
trigger4 = stateno = 400
trigger5 = stateno = 410
;trigger8 = stateno = 420
trigger6 = stateno = 430
trigger7 = stateno = 440
trigger8 = stateno = 1000
trigger9 = stateno = 100011
trigger10 = stateno = 100012


;---------------------------------------------------------------------------
;虎撲子
[State -1, hadouken]
type = ChangeState
value = 1300111
;triggerall = !var(59)
;triggerall = roundstate = 2
triggerall = Command = "kobokushi3" 
triggerall = statetype != A
trigger1 = ctrl 

[State -1, hadouken]
type = ChangeState
value =  1300
triggerall = Var(60) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2bodydist X > 22 && p2bodydist X < 42



[State -1, hadouken]
type = ChangeState
value = 1300111
;triggerall = !var(59)
;triggerall = roundstate = 2
triggerall = Command = "kobokushi3" 
triggerall = statetype != A
trigger1 = movecontact
trigger1 = ctrl 
trigger2 = stateno = 200
;trigger3 = stateno = 210
;trigger4 = stateno = 220
trigger3 = stateno = 230
trigger4 = stateno = 400
trigger5 = stateno = 410
;trigger8 = stateno = 420
trigger6 = stateno = 430
trigger7 = stateno = 440
trigger8 = stateno = 1000
trigger9 = stateno = 100011
trigger10 = stateno = 100012

;---------------------------------------------------------------------------
;穿弓腿
[State -1, hadouken]
type = ChangeState
value = 1200
;triggerall = !var(59)
;triggerall = roundstate = 2
triggerall = Command = "senkyutai1" || Command = "senkyutai2" || Command = "senkyutai3"
triggerall = statetype != A
trigger1 = ctrl ;|| (stateno = 100 && animelemtime(2) >1) || stateno = 101 || (stateno = 52 && anim = 57 && time >= 2)


[State -1, hadouken]
type = ChangeState
value = 1200
triggerall = Var(60) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2bodydist X > 10 && p2bodydist X < 20

[State -1, hadouken]
type = ChangeState
value = 1200
;triggerall = !var(59)
;triggerall = roundstate = 2
triggerall = Command = "senkyutai1" || Command = "senkyutai2" || Command = "senkyutai3"
triggerall = statetype != A
trigger1 = movecontact
trigger1 = ctrl 
trigger2 = stateno = 200
trigger3 = stateno = 210
trigger4 = stateno = 220
trigger5 = stateno = 230
trigger6 = stateno = 400
trigger7 = stateno = 410
trigger8 = stateno = 410
trigger9 = stateno = 430
trigger10 = stateno = 440
trigger11 = stateno = 221




;---------------------------------------------------------------------------
;ガードキャンセル移動（前）
;[State -1]
;type = ChangeState
;value = 810
;triggerall = !var(59)
;triggerall = roundstate = 2
;triggerall = var(20) = 4 || var(20) = 6
;triggerall = Power >= 1000
;triggerall = Command = "recovery" && command != "holddown" && ;Command = "holdfwd"
;trigger1 = stateno = 150
;trigger2 = stateno = 151
;trigger3 = stateno = 152
;trigger4 = stateno = 153

;---------------------------------------------------------------------------
;ガードキャンセル移動（後）
;[State -1]
;type = ChangeState
;value = 820
;triggerall = !var(59)
;triggerall = roundstate = 2
;triggerall = var(20) = 4 || var(20) = 6
;triggerall = Power >= 1000
;triggerall = Command = "recovery" && command != "holddown" && ;Command = "holdback"
;trigger1 = stateno = 150
;trigger2 = stateno = 151
;trigger3 = stateno = 152
;trigger4 = stateno = 153

;---------------------------------------------------------------------------
;挑発
[State -1, Taunt]
type = ChangeState
value = 195
triggerall = !var(59)
triggerall = command = "start"
triggerall = statetype != A
trigger1 = ctrl || (stateno = 100 && animelemtime(2) >1) || stateno = 101 || (stateno = 52 && anim = 57 && time >= 2)
trigger2 = StateNo = 200
trigger3 = StateNo = 210 && (var(16) || animelemtime(4) < 0)
trigger4 = StateNo = 211 && (var(16) || animelemtime(5) < 0 || (var(36) = 1||var(36) = 2))
trigger5 = StateNo = 220 && (var(16) || animelemtime(5) < 0)
trigger6 = StateNo = 221 && (var(16) || animelemtime(5) < 0)
trigger7 = StateNo = 230 && (var(16) || animelemtime(3) < 0)
trigger8 = StateNo = 240 && (var(16) || animelemtime(3) < 0)
trigger9 = StateNo = 250 && (var(16) || animelemtime(4) < 0)
trigger10 = StateNo = 251 && (var(16) || animelemtime(4) < 0)
trigger11 = StateNo = 400
trigger12 = StateNo = 410 && (var(16) || animelemtime(3) < 0 || (var(36) = 1||var(36) = 2))
trigger13 = StateNo = 420 && (var(16) || animelemtime(3) < 0)
trigger14 = StateNo = 430
trigger15 = StateNo = 440 && (var(16) || animelemtime(4) < 0 || (var(36) = 1||var(36) = 2))
trigger16 = StateNo = 450 && (var(16) || animelemtime(4) < 0)
trigger17 = StateNo = 300 && (var(16) || animelemtime(4) < 0)
trigger18 = StateNo = 310 && var(16)
trigger19 = StateNo = 320 && (var(16) || animelemtime(5) < 0 || (var(36) = 1||var(36) = 2))
trigger20 = StateNo = 330 && var(16)
trigger21 = StateNo = 340 && var(16)
trigger22 = StateNo = 350 && var(16)
trigger23 = (StateNo = [1000,1399]) && statetype != A && var(36) && var(16)
trigger24 = (StateNo = [1000,1399]) && statetype != A && var(36) && var(16)
trigger25 = (StateNo = [3000,3099]) && Var(5) = 1 && (var(36) = 1||var(36) = 3)
trigger26 = (StateNo = [3200,3299]) && Var(5) = 1 && (var(36) = 1||var(36) = 3)
trigger27 = StateNo = 195 && var(36) && var(16)
ignorehitpause = 0



;---------------------------------------------------------------------------
;回り込み
;[State -1]
;type = ChangeState
;value = 800
;triggerall = !var(59)
;triggerall = roundstate = 2
;triggerall = ((!var(20) || var(20) = 1 || var(20) = 4) && ;command = "recovery") || (var(20) = 6 && command = "holdfwd" && ;command = "recovery")
;triggerall = statetype != A
;trigger1 = ctrl || (stateno = 100 && animelemtime(2) >1) || ;stateno = 101
;trigger2 = StateNo = 200 && time < 2
;trigger3 = StateNo = 210 && time < 2
;trigger4 = StateNo = 211 && time < 2
;trigger5 = StateNo = 220 && time < 2
;trigger6 = StateNo = 221 && time < 2
;trigger7 = StateNo = 230 && time < 2
;trigger8 = StateNo = 240 && time < 2
;trigger9 = StateNo = 250 && time < 2
;trigger10 = StateNo = 251 && time < 2
;trigger11 = StateNo = 400 && time < 2
;trigger12 = StateNo = 410 && time < 2
;trigger13 = StateNo = 420 && time < 2
;trigger14 = StateNo = 430 && time < 2
;trigger15 = StateNo = 440 && time < 2
;trigger16 = StateNo = 450 && time < 2
;trigger17 = StateNo = 300 && time < 2
;trigger18 = (StateNo = [195,799]) && (var(36) = 1||var(36) = 2) ;&& var(16)
;trigger19 = (StateNo = [1000,1399]) && statetype != A && var(36) ;&& var(16)
;ignorehitpause = 0

;---------------------------------------------------------------------------
;避け
;[State -1]
;type = ChangeState
;value = 830
;triggerall = !var(59)
;triggerall = roundstate = 2
;triggerall = var(20) = 3 || var(20) = 6
;triggerall = command = "recovery"
;triggerall = statetype != A
;trigger1 = ctrl || (stateno = 100 && animelemtime(2) >1) || ;stateno = 101
;trigger2 = StateNo = 200 && time < 2
;trigger3 = StateNo = 210 && time < 2
;trigger4 = StateNo = 211 && time < 2
;trigger5 = StateNo = 220 && time < 2
;trigger6 = StateNo = 221 && time < 2
;trigger7 = StateNo = 230 && time < 2
;trigger8 = StateNo = 240 && time < 2
;trigger9 = StateNo = 250 && time < 2
;trigger10 = StateNo = 251 && time < 2
;trigger11 = StateNo = 400 && time < 2
;trigger12 = StateNo = 410 && time < 2
;trigger13 = StateNo = 420 && time < 2
;trigger14 = StateNo = 430 && time < 2
;trigger15 = StateNo = 440 && time < 2
;trigger16 = StateNo = 450 && time < 2
;trigger17 = StateNo = 300 && time < 2
;trigger18 = (StateNo = [195,799]) && (var(36) = 1||var(36) = 2) ;&& var(16)
;trigger19 = (StateNo = [1000,1399]) && statetype != A && var(36) ;&& var(16)
;ignorehitpause = 0

;---------------------------------------------------------------------------
;パワー溜め
[State -1]
type = ChangeState
value = 850
triggerall = !var(59)
triggerall = roundstate = 2
triggerall = (power < 1000 && var(20) = 3) || (power < 3000 && var(20) = 6)
triggerall = !var(15) && !var(16) && !var(14)
triggerall = (command = "chargec" && command = "chargez")
triggerall = statetype != A
trigger1 = ctrl || (stateno = 100 && animelemtime(2) >1) || stateno = 101
trigger2 = StateNo = 200 && time < 2
trigger3 = StateNo = 210 && time < 2
trigger4 = StateNo = 211 && time < 2
trigger5 = StateNo = 220 && time < 2
trigger6 = StateNo = 221 && time < 2
trigger7 = StateNo = 230 && time < 2
trigger8 = StateNo = 240 && time < 2
trigger9 = StateNo = 250 && time < 2
trigger10 = StateNo = 251 && time < 2
trigger11 = StateNo = 400 && time < 2
trigger12 = StateNo = 410 && time < 2
trigger13 = StateNo = 420 && time < 2
trigger14 = StateNo = 430 && time < 2
trigger15 = StateNo = 440 && time < 2
trigger16 = StateNo = 450 && time < 2
trigger17 = StateNo = 300 && time < 2






;---------------------------------------------------------------------------
;投げ
[State -1, Throw]
type = ChangeState
value = 900
triggerall = command = "throw2" 
triggerall = statetype = S
triggerall = ctrl
triggerall = p2bodydist X < 10
trigger1 = command = "holdfwd"



;---------------------------------------------------------------------------
;投げ
[State -1, Throw]
type = ChangeState
value = 900111
triggerall = command = "throw1" 
triggerall = statetype = S
triggerall = ctrl
triggerall = p2bodydist X < 10
trigger1 = command = "holdfwd"

;---------------------------------------------------------------------------
;旋風脚
[State -1, Taunt]
type = ChangeState
value = 300
triggerall = !var(59)
triggerall = roundstate = 2
triggerall = command = "c"
triggerall = command != "holddown" && Command = "holdfwd"
triggerall = statetype != A
trigger1 = ctrl || (stateno = 100 && animelemtime(2) >1) || stateno = 101
trigger2 = (StateNo = [195,799]) && (var(36) = 1||var(36) = 2) && var(16)
trigger3 = (StateNo = [1000,1399]) && statetype != A && var(36) && var(16)
ignorehitpause = 0

;---------------------------------------------------------------------------
;旋風脚
[State -1, Taunt]
type = ChangeState
value = 240112
triggerall = !var(59)
triggerall = roundstate = 2
triggerall = command = "c"
triggerall = command != "holddown" && Command = "holdback"
triggerall = statetype != A
trigger1 = ctrl ;|| (stateno = 100 && animelemtime(2) >1) || stateno = 101
trigger2 = (StateNo = [195,799]) && (var(36) = 1||var(36) = 2) && var(16)
trigger3 = (StateNo = [1000,1399]) && statetype != A && var(36) && var(16)
ignorehitpause = 0

;---------------------------------------------------------------------------
;雷撃蹴
;[State -1]
;type = ChangeState
;value = 700
triggerall = !var(59)
;triggerall = !var(4)
;triggerall = roundstate = 2
;triggerall = command = "a" || command = "b" || command ;= "c"
;triggerall = command = "holddown" && Command = "holdfwd"
;triggerall = statetype = A
;triggerall = Vel X >= 0
;triggerall = Pos Y <= -55
;trigger1 = ctrl
;trigger2 = (StateNo = [195,799]) && (var(36) = ;1||var(36) = 2) && var(16)
;ignorehitpause = 0

;---------------------------------------------------------------------------
;立ち弱パンチ
[State -1, Taunt]
type = ChangeState
value = 200
triggerall = !var(59)
triggerall = roundstate = 2
triggerall = command = "x"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl






;---------------------------------------------------------------------------
;遠距離立ち強パンチ
[State -1, Taunt]
type = ChangeState
value = 330
triggerall = !var(59)
triggerall = roundstate = 2
triggerall = command = "holdfwd" && command = "z"
triggerall = command != "holddown"
triggerall = Vel X > 0 || Vel X < 0
triggerall = statetype != A
trigger1 = ctrl || (stateno = 100 && animelemtime(2) >1) || stateno = 101


;---------------------------------------------------------------------------
;近距離立ち中パンチ
[State -1, Taunt]
type = ChangeState
value = 211
triggerall = !var(59)
triggerall = roundstate = 2
triggerall = command = "holdback" && command = "z"
triggerall = command != "holddown"
triggerall = statetype != A
trigger1 = ctrl || (stateno = 100 && animelemtime(2) >1) || stateno = 101


;---------------------------------------------------------------------------
;近距離立ち強パンチ
[State -1, Taunt]
type = ChangeState
value = 221
triggerall = !var(59)
triggerall = roundstate = 2
triggerall = command = "z"
triggerall = command != "holddown"
triggerall = P2BodyDist X <= 25
triggerall = statetype != A
trigger1 = ctrl || (stateno = 100 && animelemtime(2) >1) || stateno = 101


;---------------------------------------------------------------------------
;遠距離立ち中パンチ
[State -1, Taunt]
type = ChangeState
value = 210
triggerall = !var(59)
triggerall = roundstate = 2
triggerall = command = "y"
triggerall = command != "holddown"
triggerall = statetype != A
trigger1 = ctrl || (stateno = 100 && animelemtime(2) >1) || stateno = 101





;---------------------------------------------------------------------------
;カウンター攻撃（パンチ）
[State -1, Taunt]
type = ChangeState
value = 221
triggerall = roundstate = 2
triggerall = !var(59)
triggerall = command = "x" || command = "y" || command = "z" 
trigger1 = StateNo = 830 && Time =[14,24]

;---------------------------------------------------------------------------
;遠距離立ち強パンチ
[State -1, Taunt]
type = ChangeState
value = 220
triggerall = !var(59)
triggerall = roundstate = 2
triggerall = command = "z"
triggerall = Vel X = 0
triggerall = command != "holddown"
triggerall = statetype != A
trigger1 = ctrl || (stateno = 100 && animelemtime(2) >1) || stateno = 101




;---------------------------------------------------------------------------
;立ち弱キック
[State -1, Taunt]
type = ChangeState
value = 230
triggerall = !var(59)
triggerall = roundstate = 2
triggerall = command = "a"
triggerall = command != "holddown"
triggerall = statetype != A
trigger1 = ctrl || (stateno = 100 && animelemtime(2) >1) || stateno = 101


;---------------------------------------------------------------------------
;立ち中キック
[State -1, Taunt]
type = ChangeState
value = 240
;triggerall = !var(59)
triggerall = roundstate = 2
triggerall = command = "b"
triggerall = command != "holddown"
triggerall = statetype != A
trigger1 = ctrl ;|| (stateno = 100 && animelemtime(2) >1) || stateno = 101


;---------------------------------------------------------------------------
;近距離立ち強キック
[State -1, Taunt]
type = ChangeState
value = 251
triggerall = !var(59)
triggerall = roundstate = 2
triggerall = command = "c"
triggerall = command != "holddown"
triggerall = P2BodyDist X <= 25
triggerall = statetype != A
trigger1 = ctrl || (stateno = 100 && animelemtime(2) >1) || stateno = 101


;---------------------------------------------------------------------------
;遠距離立ち強キック
[State -1, Taunt]
type = ChangeState
value = 250
triggerall = !var(59)
triggerall = roundstate = 2
triggerall = command = "c"
triggerall = command != "holddown"
triggerall = statetype != A
trigger1 = ctrl || (stateno = 100 && animelemtime(2) >1) || stateno = 101


;---------------------------------------------------------------------------
;カウンター攻撃（キック）
[State -1, Taunt]
type = ChangeState
value = 250
triggerall = roundstate = 2
triggerall = !var(59)
triggerall = command = "a" || command = "b" || command = "c"
trigger1 = StateNo = 830 && Time =[14,24]

;---------------------------------------------------------------------------
;しゃがみ弱パンチ
[State -1]
type = ChangeState
value = 400
triggerall = !var(59)
triggerall = roundstate = 2
triggerall = command = "x"
triggerall = command = "holddown"
triggerall = statetype != A
trigger1 = ctrl || (stateno = 100 && animelemtime(2) >1) || stateno = 101


;---------------------------------------------------------------------------
;しゃがみ中パンチ
[State -1]
type = ChangeState
value = 410
triggerall = !var(59)
triggerall = roundstate = 2
triggerall = command = "y"
triggerall = command = "holddown"
triggerall = statetype != A
trigger1 = ctrl || (stateno = 100 && animelemtime(2) >1) || stateno = 101


;---------------------------------------------------------------------------
;しゃがみ強パンチ
[State -1]
type = ChangeState
value = 420
triggerall = !var(59)
triggerall = roundstate = 2
triggerall = command = "z"
triggerall = command = "holddown"
triggerall = statetype != A
trigger1 = ctrl || (stateno = 100 && animelemtime(2) >1) || stateno = 101


;---------------------------------------------------------------------------
;しゃがみ弱キック
[State -1]
type = ChangeState
value = 430
triggerall = !var(59)
triggerall = roundstate = 2
triggerall = command = "a"
triggerall = command = "holddown"
triggerall = statetype != A
trigger1 = ctrl || (stateno = 100 && animelemtime(2) >1) || stateno = 101 


;---------------------------------------------------------------------------
;しゃがみ中キック
[State -1]
type = ChangeState
value = 440
triggerall = !var(59)
triggerall = roundstate = 2
triggerall = command = "b"
triggerall = command = "holddown"
triggerall = statetype != A
trigger1 = ctrl || (stateno = 100 && animelemtime(2) >1) || stateno = 101


;---------------------------------------------------------------------------
;しゃがみ強キック
[State -1]
type = ChangeState
value = 450
triggerall = !var(59)
triggerall = roundstate = 2
triggerall = command = "c"
triggerall = command = "holddown"
triggerall = statetype != A
trigger1 = ctrl || (stateno = 100 && animelemtime(2) >1) || stateno = 101

;---------------------------------------------------------------------------
;ジャンプ弱パンチ
[State -1]
type = ChangeState
value = 600
triggerall = !var(59)
triggerall = roundstate = 2
triggerall = command = "x"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = (StateNo = [195,799]) && (var(36) = 1||var(36) = 2) && var(16)
ignorehitpause = 0

;---------------------------------------------------------------------------
;ジャンプ中パンチ
[State -1]
type = ChangeState
value = 610
triggerall = !var(59)
triggerall = roundstate = 2
triggerall = command = "y"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = (StateNo = [195,799]) && (var(36) = 1||var(36) = 2) && var(16)
ignorehitpause = 0

;---------------------------------------------------------------------------
;ジャンプ強パンチ
[State -1]
type = ChangeState
value = 620112
triggerall = !var(59)
triggerall = roundstate = 2
triggerall = command = "z"
triggerall = statetype = A
triggerall = Vel X > 0 || Vel X < 0
;triggerall = Vel X != 0
trigger1 = ctrl
trigger2 = (StateNo = [195,799]) && (var(36) = 1||var(36) = 2) && var(16)
ignorehitpause = 0

;---------------------------------------------------------------------------
;垂直ジャンプ強パンチ
[State -1]
type = ChangeState
value = 621
triggerall = !var(59)
triggerall = roundstate = 2
triggerall = command = "z"
triggerall = statetype = A
triggerall = Vel X = 0
trigger1 = ctrl
trigger2 = (StateNo = [195,799]) && (var(36) = 1||var(36) = 2) && var(16)
ignorehitpause = 0

;---------------------------------------------------------------------------
;ジャンプ弱キック
[State -1]
type = ChangeState
value = 630
triggerall = !var(59)
triggerall = roundstate = 2
triggerall = command = "a"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = (StateNo = [195,799]) && (var(36) = 1||var(36) = 2) && var(16)
ignorehitpause = 0

;---------------------------------------------------------------------------
;ジャンプ中キック
[State -1]
type = ChangeState
value = 640
triggerall = !var(59)
triggerall = roundstate = 2
triggerall = command = "b"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = (StateNo = [195,799]) && (var(36) = 1||var(36) = 2) && var(16)
ignorehitpause = 0
 
;---------------------------------------------------------------------------
;ジャンプ強キック
[State -1]
type = ChangeState
value = 650
triggerall = !var(59)
triggerall = roundstate = 2
triggerall = command = "c"
triggerall = Vel X > 0 || Vel X < 0
triggerall = statetype = A
trigger1 = ctrl
trigger2 = (StateNo = [195,799]) && (var(36) = 1||var(36) = 2) && var(16)
ignorehitpause = 0

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

;---------------------------------------------------------------------------
;ジャンプ強キック
[State -1]
type = ChangeState
value = 65011
triggerall = !var(59)
triggerall = roundstate = 2
triggerall = command = "c"
triggerall = Vel X = 0
triggerall = statetype = A
trigger1 = ctrl
trigger2 = (StateNo = [195,799]) && (var(36) = 1||var(36) = 2) && var(16)
ignorehitpause = 0






;---------------------------------------------------------------------------
;===========================================================================

[State -1, hadoken_z]
type = ChangeState
value = 130
triggerall = InGuardDist
triggerall = Var(60) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2bodydist X > 60 && p2bodydist X < 70

[State -1, hadoken_z]
type = ChangeState
value = 130
triggerall = InGuardDist
triggerall = Var(60) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2bodydist X > 80 && p2bodydist X < 90


[State -1, hadoken_z]
type = ChangeState
value = 130
triggerall = InGuardDist
triggerall = Var(60) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2bodydist X > 90 && p2bodydist X < 100

[State -1, hadoken_z]
type = ChangeState
value = 130
triggerall = InGuardDist
triggerall = Var(60) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2bodydist X > 110 && p2bodydist X < 120

[State -1, hadoken_z]
type = ChangeState
value = 130
triggerall = InGuardDist
triggerall = Var(60) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2bodydist X > 120 && p2bodydist X < 130

[State -1, hadoken_z]
type = ChangeState
value = 130
triggerall = InGuardDist
triggerall = Var(60) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 =  p2bodydist X > 150 && p2bodydist X < 160

[State -1, hadoken_z]
type = ChangeState
value = 130
triggerall = InGuardDist
triggerall = Var(60) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 =  p2bodydist X > 160 && p2bodydist X < 170

[State -1, hadoken_z]
type = ChangeState
value = 130
triggerall = InGuardDist
triggerall = Var(60) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2bodydist X > 175 && p2bodydist X < 185

[State -1, hadoken_z]
type = ChangeState
value = 130
triggerall = InGuardDist
triggerall = Var(60) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2bodydist X > 195 && p2bodydist X < 205

[State -1, hadoken_z]
type = ChangeState
value = 130
triggerall = InGuardDist
triggerall = Var(60) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2bodydist X > 205 && p2bodydist X < 215

[State -1, hadoken_z]
type = ChangeState
value = 130
triggerall = InGuardDist
triggerall = Var(60) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2bodydist X > 215 && p2bodydist X < 225

[State -1, hadoken_z]
type = ChangeState
value = 130
triggerall = InGuardDist
triggerall = Var(60) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2bodydist X > 225 && p2bodydist X < 235

[State -1, hadoken_z]
type = ChangeState
value = 130
triggerall = InGuardDist
triggerall = Var(60) = 1
triggerall = random >= 100 && random < 299 || random >= 800 && random <= 959
triggerall = statetype != A
triggerall = ctrl
trigger1 = p2bodydist X > 240 && p2bodydist X < 250


[State -1, 対地 立ちガード]
type  = ChangeState
value = 130
triggerall = InGuardDist
triggerall = statetype != A
triggerall = EnemyNear,HitDefAttr != SCA,NT,ST,HT
triggerall = Var(60) = 1
triggerall = ctrl
triggerall = p2statetype = S
trigger1 = P2BodyDist X = [ceil(40*const(size.xscale)),ceil(90*const(size.xscale))]
trigger1 = var(51) = [0,24]        
trigger2 = P2BodyDist X = [ceil(-15*const(size.xscale)),ceil(39*const(size.xscale))]
trigger2 = var(51) = [10,39]
trigger3 = enemy,teammode = simul 
trigger3 = P2BodyDist X = [ceil(-50*const(size.xscale)),ceil(-16*const(size.xscale))]
trigger3 = var(51) = [0,39]
trigger4 = P2BodyDist X = [ceil(-15*const(size.xscale)),ceil(39*const(size.xscale))]
trigger4 = enemy,hitdefattr = S, NA,SA,HA 
trigger4 = Random < 400
trigger5 = Enemy,NumProj > 0
trigger5 = P2BodyDist X = [ceil(-50*const(size.xscale)),ceil(200*const(size.xscale))]
trigger5 = Random < 400

[State -1, 対空 立ちガード]
type  = ChangeState
value = 130
triggerall = InGuardDist
triggerall = statetype != A
triggerall = EnemyNear,HitDefAttr != SCA,NT,ST,HT
triggerall = Var(60) = 1
triggerall = ctrl
triggerall = p2statetype = A
trigger1 = P2BodyDist X = [ceil(40*const(size.xscale)),ceil(90*const(size.xscale))]
trigger1 = var(51) = [0,25]
trigger2 = P2BodyDist X = [ceil(-40*const(size.xscale)),ceil(39*const(size.xscale))]
trigger2 = var(51) = [0,34]
trigger3 = P2BodyDist X = [ceil(-40*const(size.xscale)),ceil(39*const(size.xscale))]
trigger3 = enemy,hitdefattr = A, NA,SA,HA
trigger3 = Random < 400
trigger4 = Enemy,NumProj > 0
trigger4 = P2BodyDist X = [ceil(-50*const(size.xscale)),ceil(200*const(size.xscale))]
trigger4 = Random < 400

[State -1, しゃがみガード]
type  = ChangeState
value = 131
triggerall = InGuardDist
triggerall = statetype = C
triggerall = EnemyNear,HitDefAttr != SCA,NT,ST,HT
triggerall = Var(60) = 1
triggerall = ctrl
trigger1 = p2statetype = C
trigger1 = P2BodyDist X = [ceil(40*const(size.xscale)),ceil(85*const(size.xscale))]
trigger1 = var(51) = [0,34]
trigger2 = p2statetype = C
trigger2 = P2BodyDist X = [ceil(-20*const(size.xscale)),ceil(39*const(size.xscale))]
trigger2 = var(51) = [0,35]
trigger3 = p2statetype = S      
trigger3 = P2BodyDist X = [ceil(-15*const(size.xscale)),ceil(39*const(size.xscale))]
trigger3 = var(51) = [0,29]
trigger4 = p2statetype = C
trigger4 = enemy,teammode = simul
trigger4 = P2BodyDist X = [ceil(-50*const(size.xscale)),ceil(-16*const(size.xscale))]
trigger4 = var(51) = [0,45]
trigger5 = P2BodyDist X = [ceil(-20*const(size.xscale)),ceil(39*const(size.xscale))]
trigger5 = enemy,hitdefattr = C, NA,SA,HA
trigger5 = Random < 400
trigger6 = Enemy,NumProj > 0
trigger6 = P2BodyDist X = [ceil(-50*const(size.xscale)),ceil(200*const(size.xscale))]
trigger6 = Random < 400

[State -1, velset]
type = velset
trigger1 = Var(60) = 1
trigger1 = stateno = [120,132]
trigger1 = statetype != A
x = 0


















