;---------------------------------------------------------------------------
;超必殺技
;========================================================
;真空波動拳
[Command]
name = "ai0"
command = ~D ,DF ,F, D, DF, F, x
time = 0

[Command]
name = "ai0"
command = ~D ,DF ,F, D, DF, F, y
time = 0

[Command]
name = "ai0"
command = ~D ,DF ,F, D, DF, F, z
time = 0

;滅昇竜拳&滅殺豪昇竜
[Command]
name = "ai1"
command = ~D ,DF ,F, D, DF, a
time = 0

[Command]
name = "ai1"
command = ~D ,DF ,F, D, DF, b
time = 0

[Command]
name = "ai1"
command = ~D ,DF ,F, D, DF, c
time = 0

;真空竜巻旋風脚
[Command]
name = "ai2"
command = ~D ,DB ,B, D, DB, B, a
time = 0

[Command]
name = "ai2"
command = ~D ,DB ,B, D, DB, B, b
time = 0

[Command]
name = "ai2"
command = ~D ,DB ,B, D, DB, B, c
time = 0

;瞬獄殺
[Command]
name = "ai3"
command = ~x, x, F, a, z
time = 0

;--------------------------------------------------------
;必殺技
;========================================================
;阿修羅閃空
[Command]
name = "ai4"
command = ~F ,D ,DF , x+y+z
time = 0

[Command]
name = "ai4"
command = ~B ,D ,DB , x+y+z
time = 0

[Command]
name = "ai4"
command = ~F ,D ,DF , a+b+c
time = 0

[Command]
name = "ai4"
command = ~B ,D ,DB , a+b+c
time = 0

;昇竜拳
[Command]
name = "SP1_w"
command = ~D ,DF ,F, a
time = 15

[Command]
name = "SP1_m"
command = ~D ,DF ,F, b
time = 15

[Command]
name = "SP1_s"
command = ~D ,DF ,F, c
time = 15

;波動拳
[Command]
name = "SP2_w"
command = ~D ,DF ,F, x
time = 15

[Command]
name = "SP2_m"
command = ~D ,DF ,F, y
time = 15

[Command]
name = "SP2_s"
command = ~D ,DF ,F, z
time = 15

;竜巻旋風脚
[Command]
name = "ai5"
command = ~D ,DB ,B, a
time = 0

[Command]
name = "ai5"
command = ~D ,DB ,B, b
time = 0

[Command]
name = "ai5"
command = ~D ,DB ,B, c
time = 0

;波動の構え
[Command]
name = "SP4"
command = ~D ,DF ,F, s
time = 15

;灼熱波動拳
[Command]
name = "ai6"
command = ~B,DB,D ,DF ,F, x
time = 0

[Command]
name = "ai6"
command = ~B,DB,D ,DF ,F, y
time = 0

[Command]
name = "ai6"
command = ~B,DB,D ,DF ,F, z
time = 0

;==================================================
;投げ
;背負い投げ
[Command]
name = "PT"
command = /F, x+y
time = 3

[Command]
name = "PT"
command = /F, z+y
time = 3

[Command]
name = "PT"
command = /F, x+z
time = 3

[Command]
name = "PT2"
command = /B, x+y
time = 3

[Command]
name = "PT2"
command = /B, z+y
time = 3

[Command]
name = "PT2"
command = /B, x+z
time = 3

;巴投げ
[Command]
name = "KT"
command = /F, a+b
time = 3

[Command]
name = "KT"
command = /F, b+c
time = 3

[Command]
name = "KT"
command = /F, a+c
time = 3

[Command]
name = "KT2"
command = /B, a+b
time = 3

[Command]
name = "KT2"
command = /B, b+c
time = 3

[Command]
name = "KT2"
command = /B, a+c
time = 3

;ゼロカウンター
[Command]
name = "ai7"
command = /$F, x+a
time = 0

[Command]
name = "ai7"
command = /$F, y+b
time = 0

[Command]
name = "ai7"
command = /$F, z+c
time = 0

;----------------------------------------------------------------------
[Command]
name = "ai8"
command = F, F
time = 0

[Command]
name = "ai8"
command = B, B
time = 0

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

[Command]
name = "recovery"
command = x+z
time = 1

[Command]
name = "recovery"
command = z+y
time = 1

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

[Command]
name = "rolling"
command = a+c
time = 1

[Command]
name = "rolling"
command = c+b
time = 1

;-------------------------------------
[command]
name = "fwd_y"
command = /F, y
time = 1

[command]
name = "fwd_b"
command = /F, 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 = "s"
command = s
time = 1

[Command]
name = "holds"
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

[Statedef -1]

[State -1]
type = varset
triggerall = roundstate <= 2
trigger1 = command ="ai0"
trigger2 = command ="ai1"
trigger3 = command ="ai2"
trigger4 = command ="ai3"
trigger5 = command ="ai4"
trigger6 = command ="ai5"
trigger7 = command ="ai6"
trigger8 = command ="ai7"
trigger9 = command ="ai8"
trigger10 = palno = 4 || palno = 10
trigger11 = ishelper(99999)
trigger11 = roundstate = 2
var(59) = 1
ignorehitpause = 1

[State -1]
type = varset
trigger1 = roundstate > 2
trigger2 = alive = 0
var(59) = 0
ignorehitpause = 1

[State -1]
type = AttackMulSet
trigger1 = 1
value = fvar(30)*0.001
ignorehitpause = 1

;===========================================
;AI
;-------------------------------------------
;昇竜拳
[State -1]
type = ChangeState
value = 1000
triggerall = var(59) != 0
triggerall = p2statetype != L
triggerall = p2statetype = A
triggerall = p2dist x <= 60
triggerall = random <= 100 || movehit
triggerall = statetype = S || statetype = C
trigger1 = ctrl
trigger2 = StateNo = 200 && Time < 8
trigger3 = StateNo = 210 && Time < 8
trigger4 = StateNo = 230 && Time < 12
trigger5 = StateNo = 250 && Time < 7
trigger6 = StateNo = 400 && Time < 8
trigger7 = StateNo = 410 && Time < 9
trigger8 = StateNo = 420 && Time < 9
trigger9 = StateNo = 430 && Time < 8
trigger10 = StateNo = 440 && Time < 8


;波動拳
[State -1]
type = ChangeState
value = 1100
triggerall = var(59) != 0
triggerall = p2statetype != L
triggerall = p2statetype != A
triggerall = p2dist x =[60,80]
triggerall = random <= 100 || movecontact
triggerall = statetype = S || statetype = C
trigger1 = ctrl
trigger2 = StateNo = 200 && Time < 8
trigger3 = StateNo = 210 && Time < 8
trigger4 = StateNo = 230 && Time < 12
trigger5 = StateNo = 250 && Time < 7
trigger6 = StateNo = 400 && Time < 8
trigger7 = StateNo = 410 && Time < 9
trigger8 = StateNo = 420 && Time < 9
trigger9 = StateNo = 430 && Time < 8
trigger10 = StateNo = 440 && Time < 8


;---------------------------------------------------------------------------
;波動の構え
[State -1]
type = ChangeState
value = 196
triggerall = var(59) != 0
triggerall = p2statetype != A
triggerall = p2movetype != A
triggerall = random <= 10
triggerall = statetype = S || statetype = C
trigger1 = ctrl
trigger2 = StateNo = 200 && Time < 8
trigger3 = StateNo = 210 && Time < 8
trigger4 = StateNo = 230 && Time < 12
trigger5 = StateNo = 250 && Time < 7
trigger6 = StateNo = 400 && Time < 8
trigger7 = StateNo = 410 && Time < 9
trigger8 = StateNo = 420 && Time < 9
trigger9 = StateNo = 430 && Time < 8
trigger10 = StateNo = 440 && Time < 8

;挑発
[State -1]
type = ChangeState
value = 197
triggerall = var(59) != 0
triggerall = statetype = S || statetype = C
triggerall = ctrl
triggerall = life < lifemax
trigger1 = p2statetype = L
trigger2 = p2movetype = H
trigger2 = p2dist x > 180
trigger2 = random <= 80
trigger3 = p2movetype != A
trigger3 = p2dist x > 240
trigger3 = random <= 100

;挑発
[State -1]
type = ChangeState
value = 195
triggerall = var(59) != 0
triggerall = p2statetype = L || p2movetype = H
triggerall = p2dist x > 200
triggerall = random <= 40
triggerall = statetype = S || statetype = C
trigger1 = ctrl

;------------------------------------------
;投げ
;背負い投げ
[State -1]
type = ChangeState
value = 800
triggerall = var(59) != 0
triggerall = life >= lifemax/5
triggerall = p2statetype != L
triggerall = p2statetype != A
triggerall = p2movetype != H
triggerall = p2stateno !=[120,155]
triggerall = p2dist x <= 50
triggerall = random <= 500
triggerall = statetype = S || statetype = C
trigger1 = ctrl

[State -1]
type = ChangeState
value = 805
triggerall = var(59) != 0
triggerall = life >= lifemax/5
triggerall = p2statetype != L
triggerall = p2statetype != A
triggerall = p2movetype != H
triggerall = p2stateno !=[120,155]
triggerall = p2dist x <= 50
triggerall = random <= 500
triggerall = statetype = S || statetype = C
trigger1 = ctrl

;巴投げ
[State -1]
type = ChangeState
value = 850
triggerall = var(59) != 0
triggerall = life >= lifemax/5
triggerall = p2statetype != L
triggerall = p2statetype != A
triggerall = p2movetype != H
triggerall = p2stateno !=[120,155]
triggerall = p2dist x <= 50
triggerall = random <= 500
triggerall = statetype = S || statetype = C
trigger1 = ctrl

[State -1]
type = ChangeState
value = 855
triggerall = var(59) != 0
triggerall = life >= lifemax/5
triggerall = p2statetype != L
triggerall = p2statetype != A
triggerall = p2movetype != H
triggerall = p2stateno !=[120,155]
triggerall = p2dist x <= 50
triggerall = random <= 500
triggerall = statetype = S || statetype = C
trigger1 = ctrl

;-------------------------------------------
;特殊技
;鎖骨割り
[State -1]
type = ChangeState
value = 300
triggerall = var(59) != 0
triggerall = p2statetype != L
triggerall = p2statetype = C
triggerall = p2movetype != A
triggerall = p2dist x <= 60
triggerall = random <= 50
triggerall = statetype = S || statetype = C
trigger1 = ctrl 

;旋風脚
[State -1]
type = ChangeState
value = 310
triggerall = var(59) != 0
triggerall = p2statetype != L
triggerall = p2statetype = C
triggerall = p2movetype != A
triggerall = p2dist x =[120,140]
triggerall = random <= 50
triggerall = statetype = S || statetype = C
trigger1 = ctrl 

;---------------------------------------------------------------------------
;しゃがみ弱パンチ
[State -1]
type = ChangeState
value = 400
triggerall = var(59) != 0
triggerall = p2statetype != L
triggerall = p2statetype != A
triggerall = p2dist X <= 70
triggerall = random <= 300
triggerall = statetype = S || statetype = C
trigger1 = ctrl 
trigger2 = StateNo = 200 && Time > 7
trigger3 = StateNo = 210 && Time > 7
trigger4 = StateNo = 400 && Time > 7
trigger5 = StateNo = 430 && Time > 7

;---------------------------------------------------------------------------
;しゃがみ中パンチ
[State -1]
type = ChangeState
value = 410
triggerall = var(59) != 0
triggerall = p2statetype != L
triggerall = p2statetype != A
triggerall = p2dist X <= 70
triggerall = random <= 200
triggerall = statetype = S || statetype = C
trigger1 = ctrl 

;---------------------------------------------------------------------------
;しゃがみ強パンチ
[State -1]
type = ChangeState
value = 420
triggerall = var(59) != 0
triggerall = p2statetype != L
triggerall = p2statetype != C
triggerall = p2dist X <= 60
triggerall = random <= 100
triggerall = statetype = S || statetype = C
trigger1 = ctrl

;---------------------------------------------------------------------------
;しゃがみ弱キック
[State -1]
type = ChangeState
value = 430
triggerall = var(59) != 0
triggerall = p2statetype != L
triggerall = p2statetype != A
triggerall = p2dist X <= 80
triggerall = random <= 400
triggerall = statetype = S || statetype = C
trigger1 = ctrl
trigger2 = StateNo = 200 && Time > 7
trigger3 = StateNo = 210 && Time > 7
trigger4 = StateNo = 400 && Time > 7
trigger5 = StateNo = 430 && Time > 7

;---------------------------------------------------------------------------
;しゃがみ中キック
[State -1]
type = ChangeState
value = 440
triggerall = var(59) != 0
triggerall = p2statetype != L
triggerall = p2statetype != A
triggerall = p2dist X <= 90
triggerall = random <= 200
triggerall = statetype = S || statetype = C
trigger1 = ctrl 

;---------------------------------------------------------------------------
;しゃがみ強キック
[State -1]
type = ChangeState
value = 450
triggerall = var(59) != 0
triggerall = p2statetype != L
triggerall = p2statetype != A
triggerall = p2dist X =[60,80]
triggerall = random <= 100
triggerall = statetype = S || statetype = C
trigger1 = ctrl 

--------------------------------------------------------------------------
;立ち弱パンチ
[State -1]
type = ChangeState
value = 210
triggerall = var(59) != 0
triggerall = p2statetype != L
triggerall = p2statetype != C
triggerall = P2BodyDist X <= 25
triggerall = random <= 300
triggerall = statetype = S || statetype = C
trigger1 = ctrl 
trigger2 = StateNo = 200 && Time > 7
trigger3 = StateNo = 210 && Time > 7
trigger4 = StateNo = 400 && Time > 7
trigger5 = StateNo = 430 && Time > 7

[State -1]
type = ChangeState
value = 200
triggerall = var(59) != 0
triggerall = p2statetype != L
triggerall = p2statetype != C
triggerall = P2Dist X <= 80
triggerall = random <= 300
triggerall = statetype = S || statetype = C
trigger1 = ctrl 
trigger2 = StateNo = 200 && Time > 7
trigger3 = StateNo = 210 && Time > 7
trigger4 = StateNo = 400 && Time > 7
trigger5 = StateNo = 430 && Time > 7

;---------------------------------------------------------------------------
;立ち中パンチ
[State -1]
type = ChangeState
value = 230
triggerall = var(59) != 0
triggerall = p2statetype != L
triggerall = p2statetype != C
triggerall = P2BodyDist X <= 25
triggerall = random <= 200
triggerall = statetype = S || statetype = C
trigger1 = ctrl

[State -1]
type = ChangeState
value = 220
triggerall = var(59) != 0
triggerall = p2statetype != L
triggerall = p2statetype != C
triggerall = P2Dist X <= 80
triggerall = random <= 200
triggerall = statetype = S || statetype = C
trigger1 = ctrl
 
;---------------------------------------------------------------------------
;立ち強パンチ
[State -1]
type = ChangeState
value = 250
triggerall = var(59) != 0
triggerall = p2statetype != L
triggerall = p2statetype != C
triggerall = P2BodyDist X <= 25
triggerall = random <= 100
triggerall = statetype = S || statetype = C
trigger1 = ctrl
 
[State -1]
type = ChangeState
value = 240
triggerall = var(59) != 0
triggerall = p2statetype != L
triggerall = p2statetype != C
triggerall = P2Dist X <= 70
triggerall = random <= 100
triggerall = statetype = S || statetype = C
trigger1 = ctrl

;---------------------------------------------------------------------------
;立ち弱キック
[State -1]
type = ChangeState
value = 260
triggerall = var(59) != 0
triggerall = p2statetype != L
triggerall = p2statetype != A
triggerall = p2dist X <= 90
triggerall = random <= 300
triggerall = statetype = S || statetype = C
trigger1 = ctrl
 
;--------------------------------------------------------------------------
;立ち中キック
[State -1]
type = ChangeState
value = 270
triggerall = var(59) != 0
triggerall = p2statetype != L
triggerall = p2statetype != C
triggerall = p2dist X <= 50
triggerall = random <= 200
triggerall = statetype = S || statetype = C
trigger1 = ctrl

;---------------------------------------------------------------------------
;立ち強キック
[State -1]
type = ChangeState
value = 290
triggerall = var(59) != 0
triggerall = p2statetype != L
triggerall = p2statetype != C
triggerall = p2bodydist X <= 25
triggerall = p2dist x >= 50
triggerall = random <= 100
triggerall = statetype = S || statetype = C
trigger1 = ctrl

[State -1]
type = ChangeState
value = 280
triggerall = var(59) != 0
triggerall = p2statetype != L
triggerall = p2statetype != C
triggerall = p2dist X <= 90
triggerall = random <= 100
triggerall = statetype = S || statetype = C
trigger1 = ctrl

;---------------------------------------------------------------------------
;ジャンプ弱パンチ
[State -1]
type = ChangeState
value = 600
triggerall = var(59) != 0
triggerall = p2statetype != L
triggerall = p2dist X <= 80
triggerall = random <= 100
triggerall = statetype = A
trigger1 = ctrl 

;---------------------------------------------------------------------------
;ジャンプ中パンチ
[State -1]
type = ChangeState
value = 620
triggerall = Vel X = 0
triggerall = var(59) != 0
triggerall = p2statetype != L
triggerall = p2dist X <= 80
triggerall = random <= 100
triggerall = statetype = A
trigger1 = ctrl

[State -1]
type = ChangeState
value = 610
triggerall = Vel X != 0
triggerall = var(59) != 0
triggerall = p2statetype != L
triggerall = p2dist X <= 60
triggerall = random <= 50
triggerall = statetype = A
trigger1 = ctrl
 
;---------------------------------------------------------------------------
;ジャンプ強パンチ
[State -1]
type = ChangeState
value = 630
triggerall = var(59) != 0
triggerall = p2statetype != L
triggerall = p2dist X <= 80
triggerall = random <= 100
triggerall = statetype = A
trigger1 = ctrl
 
;---------------------------------------------------------------------------
;ジャンプ弱キック
[State -1]
type = ChangeState
value = 650
triggerall = Vel X = 0
triggerall = var(59) != 0
triggerall = p2statetype != L
triggerall = p2dist X <= 60
triggerall = random <= 50
triggerall = statetype = A
trigger1 = ctrl 

[State -1]
type = ChangeState
value = 640
triggerall = Vel X != 0
triggerall = var(59) != 0
triggerall = p2statetype != L
triggerall = p2dist X <= 50
triggerall = random <= 50
triggerall = statetype = A
trigger1 = ctrl 

;---------------------------------------------------------------------------
;ジャンプ中キック
[State -1]
type = ChangeState
value = 670
triggerall = Vel X = 0
triggerall = var(59) != 0
triggerall = p2statetype != L
triggerall = p2dist X <= 60
triggerall = random <= 50
triggerall = statetype = A
trigger1 = ctrl

[State -1]
type = ChangeState
value = 660
triggerall = Vel X != 0
triggerall = var(59) != 0
triggerall = p2statetype != L
triggerall = p2dist X <= 100
triggerall = random <= 100
triggerall = statetype = A
trigger1 = ctrl
 
;---------------------------------------------------------------------------
;ジャンプ強キック
[State -1]
type = ChangeState
value = 690
triggerall = Vel X = 0
triggerall = var(59) != 0
triggerall = p2statetype != L
triggerall = p2dist X <= 70
triggerall = random <= 100
triggerall = statetype = A
trigger1 = ctrl 

[State -1]
type = ChangeState
value = 680
triggerall = Vel X != 0
triggerall = var(59) != 0
triggerall = p2statetype != L
triggerall = p2dist X <= 100
triggerall = random <= 100
triggerall = statetype = A
trigger1 = ctrl 

;---------------------------------------------------------------------------
;しゃがみ弱キック
[State -1]
type = ChangeState
value = 430-10*(p2statetype=A)
triggerall = var(59) != 0
triggerall = p2statetype != L
triggerall = p2dist x <= 70
triggerall = statetype = S || statetype = C
trigger1 = ctrl
trigger2 = StateNo = 200 && Time > 7
trigger3 = StateNo = 210 && Time > 7
trigger4 = StateNo = 400 && Time > 7
trigger5 = StateNo = 430 && Time > 7

;---------------------------------------------------------------------------
;AIここまで
;---------------------------------------------------------------------------
;===========================================
;必殺技
;-------------------------------------------
;昇竜拳
[State -1]
type = ChangeState
value = 1000
triggerall = var(59) = 0
triggerall = command = "SP1_w"
triggerall = statetype = S || statetype = C
trigger1 = ctrl
trigger2 = StateNo = 200 && Time < 8
trigger3 = StateNo = 210 && Time < 8
trigger4 = StateNo = 230 && Time < 12
trigger5 = StateNo = 250 && Time < 7
trigger6 = StateNo = 400 && Time < 8
trigger7 = StateNo = 410 && Time < 9
trigger8 = StateNo = 420 && Time < 9
trigger9 = StateNo = 430 && Time < 8
trigger10 = StateNo = 440 && Time < 8

[State -1]
type = ChangeState
value = 1000
triggerall = var(59) = 0
triggerall = command = "SP1_m"
triggerall = statetype = S || statetype = C
trigger1 = ctrl
trigger2 = StateNo = 200 && Time < 8
trigger3 = StateNo = 210 && Time < 8
trigger4 = StateNo = 230 && Time < 12
trigger5 = StateNo = 250 && Time < 7
trigger6 = StateNo = 400 && Time < 8
trigger7 = StateNo = 410 && Time < 9
trigger8 = StateNo = 420 && Time < 9
trigger9 = StateNo = 430 && Time < 8
trigger10 = StateNo = 440 && Time < 8

[State -1]
type = ChangeState
value = 1000
triggerall = var(59) = 0
triggerall = command = "SP1_s"
triggerall = statetype = S || statetype = C
trigger1 = ctrl
trigger2 = StateNo = 200 && Time < 8
trigger3 = StateNo = 210 && Time < 8
trigger4 = StateNo = 230 && Time < 12
trigger5 = StateNo = 250 && Time < 7
trigger6 = StateNo = 400 && Time < 8
trigger7 = StateNo = 410 && Time < 9
trigger8 = StateNo = 420 && Time < 9
trigger9 = StateNo = 430 && Time < 8
trigger10 = StateNo = 440 && Time < 8


;波動拳
[State -1]
type = ChangeState
value = 1100
triggerall = var(59) = 0
triggerall = command = "SP2_w"
triggerall = statetype = S || statetype = C
trigger1 = ctrl
trigger2 = StateNo = 200 && Time < 8
trigger3 = StateNo = 210 && Time < 8
trigger4 = StateNo = 230 && Time < 12
trigger5 = StateNo = 250 && Time < 7
trigger6 = StateNo = 400 && Time < 8
trigger7 = StateNo = 410 && Time < 9
trigger8 = StateNo = 420 && Time < 9
trigger9 = StateNo = 430 && Time < 8
trigger10 = StateNo = 440 && Time < 8

[State -1]
type = ChangeState
value = 1100
triggerall = var(59) = 0
triggerall = command = "SP2_m"
triggerall = statetype = S || statetype = C
trigger1 = ctrl
trigger2 = StateNo = 200 && Time < 8
trigger3 = StateNo = 210 && Time < 8
trigger4 = StateNo = 230 && Time < 12
trigger5 = StateNo = 250 && Time < 7
trigger6 = StateNo = 400 && Time < 8
trigger7 = StateNo = 410 && Time < 9
trigger8 = StateNo = 420 && Time < 9
trigger9 = StateNo = 430 && Time < 8
trigger10 = StateNo = 440 && Time < 8

[State -1]
type = ChangeState
value = 1100
triggerall = var(59) = 0
triggerall = command = "SP2_s"
triggerall = statetype = S || statetype = C
trigger1 = ctrl
trigger2 = StateNo = 200 && Time < 8
trigger3 = StateNo = 210 && Time < 8
trigger4 = StateNo = 230 && Time < 12
trigger5 = StateNo = 250 && Time < 7
trigger6 = StateNo = 400 && Time < 8
trigger7 = StateNo = 410 && Time < 9
trigger8 = StateNo = 420 && Time < 9
trigger9 = StateNo = 430 && Time < 8
trigger10 = StateNo = 440 && Time < 8


;---------------------------------------------------------------------------
;波動の構え
[State -1]
type = ChangeState
value = 196
triggerall = var(59) = 0
triggerall = command = "SP4"
triggerall = statetype = S
trigger1 = ctrl
trigger2 = StateNo = 200 && Time < 8
trigger3 = StateNo = 210 && Time < 8
trigger4 = StateNo = 230 && Time < 12
trigger5 = StateNo = 250 && Time < 7
trigger6 = StateNo = 400 && Time < 8
trigger7 = StateNo = 410 && Time < 9
trigger8 = StateNo = 420 && Time < 9
trigger9 = StateNo = 430 && Time < 8
trigger10 = StateNo = 440 && Time < 8

;挑発
[State -1]
type = ChangeState
value = 197
triggerall = var(59) = 0
triggerall = command = "s"
triggerall = command = "holddown"
triggerall = statetype = S || statetype = C
trigger1 = ctrl

;挑発
[State -1]
type = ChangeState
value = 195
triggerall = var(59) = 0
triggerall = command = "s"
triggerall = statetype = S
trigger1 = ctrl

;------------------------------------------
;投げ
;背負い投げ
[State -1]
type = ChangeState
value = 800
triggerall = var(59) = 0
triggerall = command = "PT"
triggerall = statetype = S
trigger1 = ctrl

[State -1]
type = ChangeState
value = 805
triggerall = var(59) = 0
triggerall = command = "PT2"
triggerall = statetype = S
trigger1 = ctrl

;巴投げ
[State -1]
type = ChangeState
value = 850
triggerall = var(59) = 0
triggerall = command = "KT"
triggerall = statetype = S
trigger1 = ctrl

[State -1]
type = ChangeState
value = 855
triggerall = var(59) = 0
triggerall = command = "KT2"
triggerall = statetype = S
trigger1 = ctrl

;-------------------------------------------
;特殊技
;鎖骨割り
[State -1]
type = ChangeState
value = 300
triggerall = var(59) = 0
triggerall = command = "fwd_y"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl 

;旋風脚
[State -1]
type = ChangeState
value = 310
triggerall = var(59) = 0
triggerall = command = "fwd_b"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl 

--------------------------------------------------------------------------
;立ち弱パンチ
[State -1]
type = ChangeState
value = 210
triggerall = var(59) = 0
triggerall = P2BodyDist X <= 25
triggerall = command = "x"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl 
trigger2 = StateNo = 200 && Time > 7
trigger3 = StateNo = 210 && Time > 7
trigger4 = StateNo = 400 && Time > 7
trigger5 = StateNo = 430 && Time > 7

[State -1]
type = ChangeState
value = 200
triggerall = var(59) = 0
triggerall = command = "x"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl 
trigger2 = StateNo = 200 && Time > 7
trigger3 = StateNo = 210 && Time > 7
trigger4 = StateNo = 400 && Time > 7
trigger5 = StateNo = 430 && Time > 7

;---------------------------------------------------------------------------
;立ち中パンチ
[State -1]
type = ChangeState
value = 230
triggerall = var(59) = 0
triggerall = P2BodyDist X <= 25
triggerall = command = "y"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

[State -1]
type = ChangeState
value = 220
triggerall = var(59) = 0
triggerall = command = "y"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
 
;---------------------------------------------------------------------------
;立ち強パンチ
[State -1]
type = ChangeState
value = 250
triggerall = var(59) = 0
triggerall = P2BodyDist X <= 25
triggerall = command = "z"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
 
[State -1]
type = ChangeState
value = 240
triggerall = var(59) = 0
triggerall = command = "z"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;立ち弱キック
[State -1]
type = ChangeState
value = 260
triggerall = var(59) = 0
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
 
;--------------------------------------------------------------------------
;立ち中キック
[State -1]
type = ChangeState
value = 270
triggerall = var(59) = 0
triggerall = command = "b"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;立ち強キック
[State -1]
type = ChangeState
value = 290
triggerall = var(59) = 0
triggerall = P2BodyDist X <= 25
triggerall = command = "c"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

[State -1]
type = ChangeState
value = 280
triggerall = var(59) = 0
triggerall = command = "c"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;しゃがみ弱パンチ
[State -1]
type = ChangeState
value = 400
triggerall = var(59) = 0
triggerall = command = "x"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl 
trigger2 = StateNo = 200 && Time > 7
trigger3 = StateNo = 210 && Time > 7
trigger4 = StateNo = 400 && Time > 7
trigger5 = StateNo = 430 && Time > 7

;---------------------------------------------------------------------------
;しゃがみ中パンチ
[State -1]
type = ChangeState
value = 410
triggerall = var(59) = 0
triggerall = command = "y"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl 

;---------------------------------------------------------------------------
;しゃがみ強パンチ
[State -1]
type = ChangeState
value = 420
triggerall = var(59) = 0
triggerall = command = "z"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl

;---------------------------------------------------------------------------
;しゃがみ弱キック
[State -1]
type = ChangeState
value = 430
triggerall = var(59) = 0
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = StateNo = 200 && Time > 7
trigger3 = StateNo = 210 && Time > 7
trigger4 = StateNo = 400 && Time > 7
trigger5 = StateNo = 430 && Time > 7

;---------------------------------------------------------------------------
;しゃがみ中キック
[State -1]
type = ChangeState
value = 440
triggerall = var(59) = 0
triggerall = command = "b"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl 

;---------------------------------------------------------------------------
;しゃがみ強キック
[State -1]
type = ChangeState
value = 450
triggerall = var(59) = 0
triggerall = command = "c"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl 

;---------------------------------------------------------------------------
;ジャンプ弱パンチ
[State -1]
type = ChangeState
value = 600
triggerall = var(59) = 0
triggerall = command = "x"
triggerall = statetype = A
trigger1 = ctrl 

;---------------------------------------------------------------------------
;ジャンプ中パンチ
[State -1]
type = ChangeState
value = 620
triggerall = var(59) = 0
triggerall = Vel X = 0
triggerall = command = "y"
triggerall = statetype = A
trigger1 = ctrl

[State -1]
type = ChangeState
value = 610
triggerall = var(59) = 0
triggerall = command = "y"
triggerall = statetype = A
trigger1 = ctrl
 
;---------------------------------------------------------------------------
;ジャンプ強パンチ
[State -1]
type = ChangeState
value = 630
triggerall = var(59) = 0
triggerall = command = "z"
triggerall = statetype = A
trigger1 = ctrl
 
;---------------------------------------------------------------------------
;ジャンプ弱キック
[State -1]
type = ChangeState
value = 650
triggerall = var(59) = 0
triggerall = Vel X = 0
triggerall = command = "a"
triggerall = statetype = A
trigger1 = ctrl 

[State -1]
type = ChangeState
value = 640
triggerall = var(59) = 0
triggerall = command = "a"
triggerall = statetype = A
trigger1 = ctrl 

;---------------------------------------------------------------------------
;ジャンプ中キック
[State -1]
type = ChangeState
value = 670
triggerall = var(59) = 0
triggerall = Vel X = 0
triggerall = command = "b"
triggerall = statetype = A
trigger1 = ctrl

[State -1]
type = ChangeState
value = 660
triggerall = var(59) = 0
triggerall = command = "b"
triggerall = statetype = A
trigger1 = ctrl
 
;---------------------------------------------------------------------------
;ジャンプ強キック
[State -1]
type = ChangeState
value = 690
triggerall = var(59) = 0
triggerall = Vel X = 0
triggerall = command = "c"
triggerall = statetype = A
trigger1 = ctrl 

[State -1]
type = ChangeState
value = 680
triggerall = var(59) = 0
triggerall = command = "c"
triggerall = statetype = A
trigger1 = ctrl 

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

