; Each [Command] section defines a command that you can use for
; state entry, as well as in the CNS file.
; The command section should look like:
;
;   [Command]
;   name = some_name
;   command = the_command
;   time = time (optional -- defaults to 15 if omitted)
;
; - command
;   list of buttons or directions, separated by commas.
;   Directions and buttons can be preceded by special characters:
;   slash (/) - means the key must be held down
;          egs. command = /D       ;hold the down direction
;               command = /DB, a   ;hold down-back while you press a
;   tilde (~) - to detect key releases
;          egs. command = ~a       ;release the a button
;               command = ~D, F, a ;release down, press fwd, then a
;          If you want to detect "charge moves", you can specify
;          the time the key must be held down for (in game-ticks)
;          egs. command = ~30a     ;hold a for at least 30 ticks, then release
;   dollar ($) - Direction-only: detect as 4-way
;          egs. command = $D       ;will detect if D, DB or DF is held
;               command = $B       ;will detect if B, DB or UB is held
;   plus (+) - Buttons only: simultaneous press
;          egs. command = a+b      ;press a and b at the same time
;               command = x+y+z    ;press x, y and z at the same time
;   You can combine them:
;     eg. command = ~30$D, a+b     ;hold D, DB or DF for 30 ticks, release,
;                                  ;then press a and b together
;
; [Command] ;Tap b rapidly
; name = "5b"
; command = b, b, b, b, b
; time = 30
;
; [Command] ;Charge back, then forward + z
; name = "charge_B_F_z"
; command = ~60$B, F, z
; time = 10
;
; [Command] ;Charge down, then up + c
; name = "charge_D_U_c"
; command = ~60$D, U, c
; time = 10
;

;-| Super Motions |--------------------------------------------------------
[Command]
name = "JNHC"
command = ~D, DF, F, x+y

[Command]
name = "JNHC"
command = ~D, DF, F, y+z

[Command]
name = "JNHC"
command = ~D, DF, F, x+z

[Command]
name = "JNHC"
command = ~D, DF, F, x+y+z

;-| Special Motions |------------------------------------------------------
[Command]
name = "JNP_x"
command = ~B, DB, D, DF, F, x
time = 20

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

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

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

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

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

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

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

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

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

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

[Command]
name = "EQP_z"
command = ~F, DF, D, z

[Command]
name = "PowerUp"
command = ~F, D, DF, x+y

[Command]
name = "PowerUp"
command = ~F, D, DF, y+z

[Command]
name = "PowerUp"
command = ~F, D, DF, x+z

[Command]
name = "PowerUp"
command = ~F, D, DF, x+y+z

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

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

[Command]
name = "GuardCansel"
command = ~B, DB, D, z

[Command]
name = "Taunt_MSH"
command = ~D, D, s

;-| Double Tap |-----------------------------------------------------------
[Command]
name = "FF"     ;Required (do not remove)
command = F, F
time = 10

[Command]
name = "BB"     ;Required (do not remove)
command = B, B
time = 10

;-| 2/3 Button Combination |-----------------------------------------------
[Command]
name = "recovery";Required (do not remove)
command = x+y
time = 1

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

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

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

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

;-| Dir + Button |---------------------------------------------------------
[Command]
name = "fwd_z"
command = /$F,z
time = 1

[Command]
name = "down_a"
command = /$D,a
time = 1

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

;-| Single Button |---------------------------------------------------------
[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 = "F"
command = F
time = 0

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

[Command]
name = "U"
command = U
time = 0

[Command]
name = "D"
command = D
time = 0

[Command]
name = "DB"
command = DB
time = 0

[Command]
name = "UB"
command = UB
time = 0

[Command]
name = "DF"
command = DF
time = 0

[Command]
name = "UF"
command = UF
time = 0

;-| Hold Dir |--------------------------------------------------------------
[Command]
name = "holdfwd";Required (do not remove)
command = /$F
time = 1

[Command]
name = "holdback";Required (do not remove)
command = /$B
time = 1

[Command]
name = "holdup" ;Required (do not remove)
command = /$U
time = 1

[Command]
name = "holddown";Required (do not remove)
command = /$D
time = 1

;---------------------------------------------------------------------------
; 2. State entry
; --------------
[Statedef -1]

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

;---------------------------------------------------------------------------
;Juggernaut Head Crush
;ジャガーノートヘッドクラッシュ
[State -1, Juggernaut Head Crush]
type = ChangeState
value = 3000
triggerall = command = "JNHC"
triggerall = power >= 1000
triggerall = RoundState = 2
triggerall = (Var(5) = 0) || (Var(5) = 2)
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = [200,599]

[State -1, Juggernaut Head Crush]
type = ChangeState
value = 3100
triggerall = command = "JNHC"
triggerall = power >= 1000
triggerall = RoundState = 2
triggerall = (Var(5) = 1) || (Var(5) = 3)
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = [200,599]

;===========================================================================
;---------------------------------------------------------------------------
;Power Up
;サイトラックパワーアップ
[State -1, PowerUp]
type = ChangeState
value = 1200
triggerall = command = "PowerUp"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = [200,599]

;===========================================================================
;---------------------------------------------------------------------------
;Light Juggernaut Body Press
;ジャガーノートボディプレス（弱）
[State -1, Light Juggernaut Body Press]
type = ChangeState
value = 1050
triggerall = command = "JNBP_a"
triggerall = Var(5) != 3
trigger1 = ctrl
trigger2 = stateno = [200,799]

;---------------------------------------------------------------------------
;Medium Juggernaut Body Press
;ジャガーノートボディプレス（中）
[State -1, Medium Juggernaut Body Press]
type = ChangeState
value = 1060
triggerall = command = "JNBP_b"
triggerall = Var(5) != 3
trigger1 = ctrl
trigger2 = stateno = [200,799]

;---------------------------------------------------------------------------
;Heavy Juggernaut Body Press
;ジャガーノートボディプレス（強）
[State -1, Heavy Juggernaut Body Press]
type = ChangeState
value = 1070
triggerall = command = "JNBP_c"
triggerall = Var(5) != 3
trigger1 = ctrl
trigger2 = stateno = [200,799]

;===========================================================================
;---------------------------------------------------------------------------
;Light Juggernaut Punch
;ジャガーノートパンチ（弱）
[State -1, Light Juggernaut Punch]
type = ChangeState
value = 1000
triggerall = command = "JNP_x"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = [200,599]

;---------------------------------------------------------------------------
;Medium Juggernaut Punch
;ジャガーノートパンチ（中）
[State -1, Medium Juggernaut Punch]
type = ChangeState
value = 1010
triggerall = command = "JNP_y"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = [200,599]

;---------------------------------------------------------------------------
;Heavy Juggernaut Punch
;ジャガーノートパンチ（強）
[State -1, Heavy Juggernaut Punch]
type = ChangeState
value = 1020
triggerall = command = "JNP_z"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = [200,599]

;===========================================================================
;---------------------------------------------------------------------------
;Light Earthquake Punch
;アースクエイクパンチ（弱）
[State -1, Light Earthquake Punch]
type = ChangeState
value = 1100
triggerall = command = "EQP_x"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = [200,599]

;---------------------------------------------------------------------------
;Medium Earthquake Punch
;アースクエイクパンチ（中）
[State -1, Medium Earthquake Punch]
type = ChangeState
value = 1110
triggerall = command = "EQP_y"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = [200,599]

;---------------------------------------------------------------------------
;Heavy Earthquake Punch
;アースクエイクパンチ（強）
[State -1, Heavy Earthquake Punch]
type = ChangeState
value = 1120
triggerall = command = "EQP_z"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = [200,599]

;===========================================================================
;---------------------------------------------------------------------------
;インフィニティ・カウンター
[State -1, Infinity Counter]
type = ChangeState
value = 1300
triggerall = command = "GuardCansel"
triggerall = power >= 1000
triggerall = alive = 1
trigger1 = stateno = 150
trigger2 = (stateno = 151) && (Time <= 7)
trigger3 = stateno = 152
trigger4 = (stateno = 153) && (Time <= 7)


;===========================================================================
;---------------------------------------------------------------------------
;アドバンシングガード
;立ち
[State -1, Advancing Guard]
type = ChangeState
value = 1500
triggerall = command = "adv_guard"
triggerall = Var(5) != 0
triggerall = Var(5) != 3
triggerall = alive = 1
trigger1 = stateno = 150
trigger2 = (stateno = 151) && (Time <= 9)

;屈み
[State -1, Advancing Guard]
type = ChangeState
value = 1520
triggerall = command = "adv_guard"
triggerall = Var(5) != 0
triggerall = Var(5) != 3
triggerall = alive = 1
trigger1 = stateno = 152
trigger2 = (stateno = 153) && (Time <= 9)

;跳び
[State -1, Advancing Guard]
type = ChangeState
value = 1540
triggerall = command = "adv_guard"
triggerall = Var(5) != 0
triggerall = Var(5) != 3
triggerall = alive = 1
trigger1 = stateno = 154
trigger2 = (stateno = 155) && (Time <= 9)



;===========================================================================
;---------------------------------------------------------------------------
;ネイルスラム
[State -1, Infinity Counter]
type = ChangeState
value = 1400
triggerall = command = "NailSlam"
triggerall = Var(5) != 0
triggerall = Var(5) != 3
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = [200,599]


;===========================================================================
;---------------------------------------------------------------------------
;前転起きあがり
[State -1, Moving Getup]
type = ChangeState
value = 500
triggerall = command = "holdfwd"
triggerall = alive = 1
trigger1 = stateno = 5120
trigger1 = time = 1
trigger1 = Var(5) = [2,3]

;===========================================================================
;---------------------------------------------------------------------------
;Run Fwd
;ダッシュ
[State -1, Run Fwd]
type = ChangeState
value = 100
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = Stateno != 101
trigger1 = Stateno != 106

;---------------------------------------------------------------------------
;Run Back
;後退ダッシュ
[State -1, Run Back]
type = ChangeState
value = 105
trigger1 = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = Stateno != 101
trigger1 = Stateno != 106

;---------------------------------------------------------------------------
;SuperJump
;スーパージャンプ
[State -1, Super Jump]
type = ChangeState
;value = 41
value = 42
triggerall = statetype != A
trigger1 = command = "holdup"; && movehit;立ち強Ｐ地上ヒットでもレバー上で飛んでしまう
trigger1 = (stateno = 222 && (Var(5) = 0 || P2Statetype = A)) || (stateno = 422) || (stateno = 423)
trigger2 = command = "holdup" && P2Statetype = A	; && movehit 
trigger2 = (stateno = 262) || (stateno = 263)
;trigger3 = command = "holdup" && Var(11) > 0
;trigger3 = ctrl || (stateno = [200,599])
;trigger4 = command = "abc"
;trigger4 = ctrl || (stateno = [200,599])


;スーパージャンプ２
[State -1, Super Jump]
type = ChangeState
value = 42
triggerall = statetype != A
trigger1 = command = "holdup" && Var(11) > 0
trigger1 = ctrl || (stateno = [200,599])
trigger2 = command = "abc"
trigger2 = ctrl || (stateno = [200,599])

;===========================================================================
;---------------------------------------------------------------------------
;中パンチ投げ
[State -1, Medium Punch Throw]
type = ChangeState
value = 800
triggerall = command = "y"
triggerall = statetype = S
triggerall = ctrl
triggerall = stateno != 101
triggerall = Var(26) = 0
trigger1 = command = "holdfwd"
trigger1 = p2bodydist X < 4
;trigger1 = (p2statetype = S) || (p2statetype = C)
trigger1 = p2movetype != H
trigger2 = command = "holdback"
trigger2 = p2bodydist X < 6
trigger2 = (p2statetype = S) || (p2statetype = C)
trigger2 = p2movetype != H

;---------------------------------------------------------------------------
;強パンチ投げ
[State -1, Heavy Punch Throw]
type = ChangeState
value = 850
triggerall = command = "z"
triggerall = statetype = S
triggerall = ctrl
triggerall = stateno != 101
triggerall = Var(26) = 0
trigger1 = command = "holdfwd"
trigger1 = p2bodydist X < 4
trigger1 = (p2statetype = S) || (p2statetype = C)
trigger1 = p2movetype != H
trigger2 = command = "holdback"
trigger2 = p2bodydist X < 6
trigger2 = (p2statetype = S) || (p2statetype = C)
trigger2 = p2movetype != H

;---------------------------------------------------------------------------
;空中投げ（中発動）
[State -1, Air Medium Punch Throw]
type = ChangeState
value = 900
triggerall = command = "y"
triggerall = statetype = A
triggerall = ctrl
triggerall = Var(26) = 0
trigger1 = command = "holdfwd"
trigger1 = p2bodydist X < 4
trigger1 = p2statetype = A
trigger1 = p2movetype != H
trigger2 = command = "holdback"
trigger2 = p2bodydist X < 6
trigger2 = p2statetype = A
trigger2 = p2movetype != H
trigger3 = command = "holdfwd"
trigger3 = p2bodydist X < 4
trigger3 = p2statetype = A
trigger3 = p2stateno = 5050

;---------------------------------------------------------------------------
;空中投げ（強発動）
[State -1, Air Heavy Punch Throw]
type = ChangeState
value = 901
triggerall = command = "z"
triggerall = statetype = A
triggerall = ctrl
triggerall = Var(26) = 0
trigger1 = command = "holdfwd"
trigger1 = p2bodydist X < 4
trigger1 = p2statetype = A
trigger1 = p2movetype != H
trigger2 = command = "holdback"
trigger2 = p2bodydist X < 6
trigger2 = p2statetype = A
trigger2 = p2movetype != H


;===========================================================================
;---------------------------------------------------------------------------
;レバー前入れ強パンチ
[State -1, Standing Strong Punch 2]
type = ChangeState
value = 260
triggerall = command = "fwd_z"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

[State -1, Standing Strong Punch 2]
type = ChangeState
value = 260
triggerall = command = "fwd_z"
triggerall = command != "holddown"
triggerall = (Var(5) = 0) || (Var(5) = 2)
trigger1 = (stateno = 202)	;立ち弱Ｐ
trigger2 = (stateno = 232)	;立ち弱Ｋ
trigger3 = (stateno = 402)	;屈み弱Ｐ
trigger4 = (stateno = 432)	;屈み弱Ｋ

[State -1, Standing Strong Punch 2]
type = ChangeState
value = 260
triggerall = command = "fwd_z"
triggerall = command != "holddown"
triggerall = Var(5) = 3
trigger1 = (stateno = 232)	;立ち弱Ｋ
trigger2 = (stateno = 432)	;屈み弱Ｋ

;---------------------------------------------------------------------------
;立ち弱パンチ１
[State -1, Stand Light Punch1]
type = ChangeState
value = 200
triggerall = command = "x"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 206
trigger2 = time > 12
trigger3 = stateno = 207
trigger3 = time > 3

[State -1, Stand Light Punch1]
type = ChangeState
value = 200
triggerall = command = "x"
triggerall = command != "holddown"
triggerall = Var(5) = 3
trigger1 = stateno = [230,259]
trigger2 = stateno = [430,459]

;立ち弱パンチ２
[State -1, Stand Light Punch2]
type = ChangeState
value = 205
triggerall = command = "x"
triggerall = command != "holddown"
trigger1 = stateno = 201
trigger1 = time > 12
trigger2 = stateno = 202
trigger2 = time > 3

;---------------------------------------------------------------------------
;立ち中パンチ
[State -1, Stand Medium Punch]
type = ChangeState
value = 210
triggerall = command = "y"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

[State -1, Stand Medium Punch]
type = ChangeState
value = 210
triggerall = command = "y"
triggerall = command != "holddown"
triggerall = (Var(5) = 0) || (Var(5) = 2)
trigger1 = (stateno = 202)
trigger2 = (stateno = 232)
trigger3 = (stateno = 402)
trigger4 = (stateno = 432)
trigger5 = (stateno = 207)
trigger6 = (stateno = 201) && movecontact	;立ち弱Ｐ
trigger7 = (stateno = 231) && movecontact	;立ち弱Ｋ
trigger8 = (stateno = 401) && movecontact	;屈み弱Ｐ
trigger9 = (stateno = 431) && movecontact	;屈み弱Ｋ
trigger10 = (stateno = 206) && movecontact	;立ち弱Ｐ２

[State -1, Stand Medium Punch]
type = ChangeState
value = 210
triggerall = command = "y"
triggerall = command != "holddown"
triggerall = Var(5) = 3
trigger1 = stateno = [230,259]
trigger2 = stateno = [430,459]
;---------------------------------------------------------------------------
;立ち強パンチ
[State -1, Stand Strong Punch]
type = ChangeState
value = 220
triggerall = command = "z"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

[State -1, Stand Strong Punch]
type = ChangeState
value = 220
triggerall = command = "z"
triggerall = command != "holddown"
triggerall = (Var(5) = 0) || (Var(5) = 2)
trigger1 = (stateno = 202)
trigger2 = (stateno = 232)
trigger3 = (stateno = 402)
trigger4 = (stateno = 432)
trigger5 = (stateno = 207)
trigger6 = (stateno = 201) && movecontact	;立ち弱Ｐ
trigger7 = (stateno = 231) && movecontact	;立ち弱Ｋ
trigger8 = (stateno = 401) && movecontact	;屈み弱Ｐ
trigger9 = (stateno = 431) && movecontact	;屈み弱Ｋ
trigger10 = (stateno = 206) && movecontact	;立ち弱Ｐ２

[State -1, Stand Strong Punch]
type = ChangeState
value = 220
triggerall = command = "z"
triggerall = command != "holddown"
triggerall = Var(5) = 3
trigger1 = stateno = [230,259]
trigger2 = stateno = [430,459]
;---------------------------------------------------------------------------
;立ち弱キック
[State -1, Stand Light Kick]
type = ChangeState
value = 230
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;立ち中キック
[State -1, Standing Medium Kick]
type = ChangeState
value = 240
triggerall = command = "b"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

[State -1, Standing Medium Kick]
type = ChangeState
value = 240
triggerall = command = "b"
triggerall = command != "holddown"
triggerall = (Var(5) = 0) || (Var(5) = 2)
trigger1 = (stateno = 202)
trigger2 = (stateno = 232)
trigger3 = (stateno = 402)
trigger4 = (stateno = 432)
trigger5 = (stateno = 207)
trigger6 = (stateno = 201) && movecontact	;立ち弱Ｐ
trigger7 = (stateno = 231) && movecontact	;立ち弱Ｋ
trigger8 = (stateno = 401) && movecontact	;屈み弱Ｐ
trigger9 = (stateno = 431) && movecontact	;屈み弱Ｋ
trigger10 = (stateno = 206) && movecontact	;立ち弱Ｐ２

;---------------------------------------------------------------------------
;立ち強キック
[State -1, Standing Strong Kick]
type = ChangeState
value = 250
triggerall = command = "c"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

[State -1, Standing Strong Kick]
type = ChangeState
value = 250
triggerall = command = "c"
triggerall = command != "holddown"
triggerall = (Var(5) = 0) || (Var(5) = 2)
trigger1 = (stateno = 202)
trigger2 = (stateno = 232)
trigger3 = (stateno = 402)
trigger4 = (stateno = 432)
trigger5 = (stateno = 207)
trigger6 = (stateno = 201) && movecontact	;立ち弱Ｐ
trigger7 = (stateno = 231) && movecontact	;立ち弱Ｋ
trigger8 = (stateno = 401) && movecontact	;屈み弱Ｐ
trigger9 = (stateno = 431) && movecontact	;屈み弱Ｋ
trigger10 = (stateno = 206) && movecontact	;立ち弱Ｐ２

;===========================================================================
;---------------------------------------------------------------------------
;Taunt
;挑発
[State -1, Taunt]
type = ChangeState
value = 195
triggerall = statetype != A
triggerall = ctrl
trigger1 = command = "start"
trigger1 = (Var(5) = 1) || (Var(5) = 2)
trigger2 = command = "Taunt_MSH"
trigger2 = Var(5) = 0

;===========================================================================
;---------------------------------------------------------------------------
;屈み弱パンチ
[State -1, Crouching Light Punch]
type = ChangeState
value = 400
triggerall = command = "x"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl

[State -1, Crouching Light Punch]
type = ChangeState
value = 400
triggerall = command = "x"
triggerall = command = "holddown"
triggerall = Var(5) = 3
trigger1 = stateno = [230,259]
trigger2 = stateno = [430,459]

;---------------------------------------------------------------------------
;屈み中パンチ
[State -1, Crouching Medium Punch]
type = ChangeState
value = 410
triggerall = command = "y"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl

[State -1, Crouching Medium Punch]
type = ChangeState
value = 410
triggerall = command = "y"
triggerall = command = "holddown"
triggerall = (Var(5) = 0) || (Var(5) = 2)
trigger1 = (stateno = 202)
trigger2 = (stateno = 232)
trigger3 = (stateno = 402)
trigger4 = (stateno = 432)
trigger5 = (stateno = 207)
trigger6 = (stateno = 201) && movecontact	;立ち弱Ｐ
trigger7 = (stateno = 231) && movecontact	;立ち弱Ｋ
trigger8 = (stateno = 401) && movecontact	;屈み弱Ｐ
trigger9 = (stateno = 431) && movecontact	;屈み弱Ｋ
trigger10 = (stateno = 206) && movecontact	;立ち弱Ｐ２

[State -1, Crouching Medium Punch]
type = ChangeState
value = 410
triggerall = command = "y"
triggerall = command = "holddown"
triggerall = Var(5) = 3
trigger1 = stateno = [230,259]
trigger2 = stateno = [430,459]
;---------------------------------------------------------------------------
;屈み強パンチ
[State -1, Crouching Strong Punch]
type = ChangeState
value = 420
triggerall = command = "z"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl

[State -1, Crouching Strong Punch]
type = ChangeState
value = 420
triggerall = command = "z"
triggerall = command = "holddown"
triggerall = (Var(5) = 0) || (Var(5) = 2)
trigger1 = (stateno = 202)
trigger2 = (stateno = 232)
trigger3 = (stateno = 402)
trigger4 = (stateno = 432)
trigger5 = (stateno = 207)
trigger6 = (stateno = 201) && movecontact	;立ち弱Ｐ
trigger7 = (stateno = 231) && movecontact	;立ち弱Ｋ
trigger8 = (stateno = 401) && movecontact	;屈み弱Ｐ
trigger9 = (stateno = 431) && movecontact	;屈み弱Ｋ
trigger10 = (stateno = 206) && movecontact	;立ち弱Ｐ２

[State -1, Crouching Strong Punch]
type = ChangeState
value = 420
triggerall = command = "z"
triggerall = command = "holddown"
triggerall = Var(5) = 3
trigger1 = stateno = [230,259]
trigger2 = stateno = [430,459]
;---------------------------------------------------------------------------
;屈み弱キック
[State -1, Crouching Light Kick]
type = ChangeState
value = 430
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl

[State -1, Crouching Light Kick]
type = ChangeState
value = 430
triggerall = command = "a"
triggerall = command = "holddown"
triggerall = Var(5) = 3
trigger1 = (stateno = [200,209])

;---------------------------------------------------------------------------
;屈み中キック
[State -1, Crouching Medium Kick]
type = ChangeState
value = 440
triggerall = command = "b"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl

[State -1, Crouching Medium Kick]
type = ChangeState
value = 440
triggerall = command = "b"
triggerall = command = "holddown"
triggerall = (Var(5) = 0) || (Var(5) = 2)
trigger1 = (stateno = 202)
trigger2 = (stateno = 232)
trigger3 = (stateno = 402)
trigger4 = (stateno = 432)
trigger5 = (stateno = 207)
trigger6 = (stateno = 201) && movecontact	;立ち弱Ｐ
trigger7 = (stateno = 231) && movecontact	;立ち弱Ｋ
trigger8 = (stateno = 401) && movecontact	;屈み弱Ｐ
trigger9 = (stateno = 431) && movecontact	;屈み弱Ｋ
trigger10 = (stateno = 206) && movecontact	;立ち弱Ｐ２

[State -1, Crouching Medium Kick]
type = ChangeState
value = 440
triggerall = command = "b"
triggerall = command = "holddown"
triggerall = Var(5) = 3
trigger1 = (stateno = [200,209])

;---------------------------------------------------------------------------
;屈み大キック
[State -1, Crouching Strong Kick]
type = ChangeState
value = 450
triggerall = command = "c"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl

[State -1, Crouching Strong Kick]
type = ChangeState
value = 450
triggerall = command = "c"
triggerall = command = "holddown"
triggerall = (Var(5) = 0) || (Var(5) = 2)
trigger1 = (stateno = 202)
trigger2 = (stateno = 232)
trigger3 = (stateno = 402)
trigger4 = (stateno = 432)
trigger5 = (stateno = 207)
trigger6 = (stateno = 201) && movecontact	;立ち弱Ｐ
trigger7 = (stateno = 231) && movecontact	;立ち弱Ｋ
trigger8 = (stateno = 401) && movecontact	;屈み弱Ｐ
trigger9 = (stateno = 431) && movecontact	;屈み弱Ｋ
trigger10 = (stateno = 206) && movecontact	;立ち弱Ｐ２

[State -1, Crouching Strong Kick]
type = ChangeState
value = 450
triggerall = command = "c"
triggerall = command = "holddown"
triggerall = Var(5) = 3
trigger1 = (stateno = [200,209])
;===========================================================================
;---------------------------------------------------------------------------
;空中弱パンチ
[State -1, Jump Light Punch]
type = ChangeState
value = 600
triggerall = command = "x"
trigger1 = statetype = A
trigger1 = ctrl

[State -1, Jump Light Punch]
type = ChangeState
value = 600
triggerall = command = "x"
triggerall = Var(5) = 3
triggerall = statetype = A
trigger1 = (stateno = [630,659]) && (Var(10) = 0)	;ノーマルジャンプ
trigger2 = (Var(10) != 0)				;スーパージャンプ
trigger2 = (stateno = [630,632])			;空中弱Ｋ

;---------------------------------------------------------------------------
;空中中パンチ
[State -1, Jump Medium Punch]
type = ChangeState
value = 610
triggerall = command = "y"
trigger1 = statetype = A
trigger1 = ctrl

[State -1, Jump Medium Punch]
type = ChangeState
value = 610
triggerall = command = "y"
triggerall = (Var(5) = 0) || (Var(5) = 2)
trigger1 = (stateno = 602)
trigger2 = (stateno = 632)
trigger3 = (stateno = 601) && movecontact	;空中弱Ｐ
trigger4 = (stateno = 631) && movecontact	;空中弱Ｋ

[State -1, Jump Medium Punch]
type = ChangeState
value = 610
triggerall = command = "y"
triggerall = (Var(5) = 1)
triggerall = (Var(10) != 0)
trigger1 = (stateno = 602)
trigger2 = (stateno = 632)
trigger3 = (stateno = 601) && movecontact	;空中弱Ｐ
trigger4 = (stateno = 631) && movecontact	;空中弱Ｋ

[State -1, Jump Medium Punch]
type = ChangeState
value = 610
triggerall = command = "y"
triggerall = Var(5) = 3
triggerall = statetype = A
trigger1 = (stateno = [630,659]) && (Var(10) = 0)	;ノーマルジャンプ
trigger2 = (Var(10) != 0)				;スーパージャンプ
trigger2 = (stateno = [600,602])			;空中弱Ｐ
trigger3 = (Var(10) != 0)				;スーパージャンプ
trigger3 = (stateno = [630,642])			;空中弱Ｋ中Ｋ
;---------------------------------------------------------------------------
;空中強パンチ
[State -1, Jump Strong Punch]
type = ChangeState
value = 620
triggerall = command = "z"
trigger1 = statetype = A
trigger1 = ctrl

[State -1, Jump Strong Punch]
type = ChangeState
value = 620
triggerall = command = "z"
triggerall = (Var(5) = 0) || (Var(5) = 2)
trigger1 = (stateno = 602)
trigger2 = (stateno = 632)
trigger3 = (Var(10) != 0)
trigger3 = (stateno = 612) ||  (stateno = 642)
trigger4 = (stateno = 601) && movecontact	;空中弱Ｐ
trigger5 = (stateno = 631) && movecontact	;空中弱Ｋ
trigger6 = (Var(10) != 0) && movecontact	;スーパージャンプ時
trigger6 = (stateno = 611) ||  (stateno = 641)

[State -1, Jump Strong Punch]
type = ChangeState
value = 620
triggerall = command = "z"
triggerall = (Var(5) = 1)
triggerall = (Var(10) != 0)
trigger1 = (stateno = 602)
trigger2 = (stateno = 632)
trigger3 = (stateno = 612) ||  (stateno = 642)
trigger4 = (stateno = 601) && movecontact	;空中弱Ｐ
trigger5 = (stateno = 631) && movecontact	;空中弱Ｋ
trigger6 = movecontact				;スーパージャンプ時
trigger6 = (stateno = 611) ||  (stateno = 641)

[State -1, Jump Strong Punch]
type = ChangeState
value = 620
triggerall = command = "z"
triggerall = Var(5) = 3
trigger1 = (stateno = [630,659])
trigger2 = (Var(10) != 0)				;スーパージャンプ
trigger2 = (stateno = [600,612])			;空中弱Ｐ中Ｐ

;---------------------------------------------------------------------------
;空中弱キック
[State -1, Jump Light Kick]
type = ChangeState
value = 630
triggerall = command = "a"
trigger1 = statetype = A
trigger1 = ctrl

[State -1, Jump Light Kick]
type = ChangeState
value = 630
triggerall = command = "a"
triggerall = (Var(5) != 3)
trigger1 = (Var(10) != 0)
trigger1 = (stateno = 602)
trigger2 = (Var(10) != 0) && movecontact	;スーパージャンプ時
trigger2 = (stateno = 601)
;---------------------------------------------------------------------------
;空中中キック
[State -1, Jump Medium Kick]
type = ChangeState
value = 640
triggerall = command = "b"
trigger1 = statetype = A
trigger1 = ctrl

[State -1, Jump Medium Kick]
type = ChangeState
value = 640
triggerall = command = "b"
triggerall = (Var(5) = 0) || (Var(5) = 2)
trigger1 = (stateno = 602)
trigger2 = (stateno = 632)
trigger3 = (stateno = 601) && movecontact	;空中弱Ｐ
trigger4 = (stateno = 631) && movecontact	;空中弱Ｋ

[State -1, Jump Medium Kick]
type = ChangeState
value = 640
triggerall = command = "b"
triggerall = (Var(5) != 3)
triggerall = (Var(10) != 0)
trigger1 = (stateno = 602)
trigger2 = (stateno = 632)
trigger3 = (stateno = 601) && movecontact	;空中弱Ｐ
trigger4 = (stateno = 631) && movecontact	;空中弱Ｋ
trigger5 = movecontact				;スーパージャンプ時
trigger5 = (stateno = 611)
trigger6 = (stateno = 612)

[State -1, Jump Medium Kick]
type = ChangeState
value = 640
triggerall = command = "b"
triggerall = Var(5) = 3
trigger1 = (stateno = [630,639])
trigger2 = (Var(10) != 0)				;スーパージャンプ
trigger2 = (stateno = [600,602])			;空中弱Ｐ
;---------------------------------------------------------------------------
;空中強キック
[State -1, Jump Strong Kick]
type = ChangeState
value = 650
triggerall = command = "c"
trigger1 = statetype = A
trigger1 = ctrl

[State -1, Jump Strong Kick]
type = ChangeState
value = 650
triggerall = command = "c"
triggerall = (Var(5) = 0) || (Var(5) = 2)
trigger1 = (stateno = 602)
trigger2 = (stateno = 632)

[State -1, Jump Strong Kick]
type = ChangeState
value = 650
triggerall = command = "c"
triggerall = (Var(5) != 3)
triggerall = (Var(10) != 0)
trigger1 = (stateno = 601) && movecontact	;空中弱Ｐ
trigger2 = (stateno = 631) && movecontact	;空中弱Ｋ
trigger3 = movecontact				;スーパージャンプ時
trigger3 = (stateno = 611) ||  (stateno = 641) || (stateno = 621)
trigger4 = (stateno = 612) ||  (stateno = 642) || (stateno = 622)
trigger5 = (stateno = 602) ||  (stateno = 632)

[State -1, Jump Strong Kick]
type = ChangeState
value = 650
triggerall = command = "c"
triggerall = (Var(5) = 3)
trigger1 = (stateno = [630,649])
trigger2 = (Var(10) != 0)				;スーパージャンプ
trigger2 = (stateno = [600,612])			;空中弱Ｐ中Ｐ

