;==========================================================================
;コマンド関連ファイル
;==========================================================================
;AI
[Command]
name = "AI_1"
command = ~F, UF, U, F, UF, U, x
time = 1

[Command]
name = "AI_2"
command = ~F, UF, U, F, UF, U, y
time = 1

[Command]
name = "AI_3"
command = ~F, UF, U, F, UF, U, z
time = 1

[Command]
name = "AI_4"
command = ~F, UF, U, F, UF, U, a
time = 1

[Command]
name = "AI_5"
command = ~F, UF, U, F, UF, U, b
time = 1

[Command]
name = "AI_6"
command = ~F, UF, U, F, UF, U, c
time = 1

[Command]
name = "AI_7"
command = ~F, UF, U, F, UF, U, start
time = 1

[Command]
name = "AI_8"
command = ~F, UF, U, F, UF, U, x, x
time = 1

[Command]
name = "AI_9"
command = ~F, UF, U, F, UF, U, x, y
time = 1

[Command]
name = "AI_10"
command = ~F, UF, U, F, UF, U, x, z
time = 1

[Command]
name = "AI_11"
command = ~F, UF, U, F, UF, U, x, a
time = 1

[Command]
name = "AI_12"
command = ~F, UF, U, F, UF, U, x, b
time = 1

[Command]
name = "AI_13"
command = ~F, UF, U, F, UF, U, x, c
time = 1

[Command]
name = "AI_14"
command = ~F, UF, U, F, UF, U, x, start
time = 1

[Command]
name = "AI_15"
command = ~F, UF, U, F, UF, U, y, x
time = 1

[Command]
name = "AI_16"
command = ~F, UF, U, F, UF, U, y, y
time = 1

[Command]
name = "AI_17"
command = ~F, UF, U, F, UF, U, y, z
time = 1

[Command]
name = "AI_18"
command = ~F, UF, U, F, UF, U, y, a
time = 1

[Command]
name = "AI_19"
command = ~F, UF, U, F, UF, U, y, b
time = 1

[Command]
name = "AI_20"
command = ~F, UF, U, F, UF, U, y, c
time = 1

[Command]
name = "AI_21"
command = ~F, UF, U, F, UF, U, y, start
time = 1

[Command]
name = "AI_22"
command = ~F, UF, U, F, UF, U, z, x
time = 1

[Command]
name = "AI_23"
command = ~F, UF, U, F, UF, U, z, y
time = 1

[Command]
name = "AI_24"
command = ~F, UF, U, F, UF, U, z, z
time = 1

[Command]
name = "AI_25"
command = ~F, UF, U, F, UF, U, z, a
time = 1

[Command]
name = "AI_26"
command = ~F, UF, U, F, UF, U, z, b
time = 1

[Command]
name = "AI_27"
command = ~F, UF, U, F, UF, U, z, c
time = 1

[Command]
name = "AI_28"
command = ~F, UF, U, F, UF, U, z, start
time = 1

[Command]
name = "AI_29"
command = ~F, UF, U, F, UF, U, a, x
time = 1

[Command]
name = "AI_30"
command = ~F, UF, U, F, UF, U, a, y
time = 1

[Command]
name = "AI_31"
command = ~F, UF, U, F, UF, U, a, z
time = 1

[Command]
name = "AI_32"
command = ~F, UF, U, F, UF, U, a, a
time = 1

[Command]
name = "AI_33"
command = ~F, UF, U, F, UF, U, a, b
time = 1

[Command]
name = "AI_34"
command = ~F, UF, U, F, UF, U, a, c
time = 1

[Command]
name = "AI_35"
command = ~F, UF, U, F, UF, U, a, start
time = 1

[Command]
name = "AI_36"
command = ~F, UF, U, F, UF, U, a, a, a
time = 0

[Command]
name = "AI_37"
command = ~F, UF, U, F, UF, U, a, a, b
time = 0

[Command]
name = "AI_38"
command = ~F, UF, U, F, UF, U, a, a, c
time = 1

[Command]
name = "AI_39"
command = ~F, UF, U, F, UF, U, a, a, x
time = 1

[Command]
name = "AI_40"
command = ~F, UF, U, F, UF, U, a, a, y
time = 1

[Command]
name = "AI_41"
command = ~F, UF, U, F, UF, U, a, a, z
time = 1

[Command]
name = "AI_42"
command = ~F, UF, U, F, UF, U, a, b, a
time = 1

[Command]
name = "AI_43"
command = ~F, UF, U, F, UF, U, a, b, b
time = 1

[Command]
name = "AI_44"
command = ~F, UF, U, F, UF, U, a, b, c
time = 1

[Command]
name = "AI_45"
command = ~F, UF, U, F, UF, U, a, b, x
time = 1

[Command]
name = "AI_46"
command = ~F, UF, U, F, UF, U, a, b, y
time = 1

[Command]
name = "AI_47"
command = ~F, UF, U, F, UF, U, a, b, z
time = 1

[Command]
name = "AI_48"
command = ~F, UF, U, F, UF, U, a, c, a
time = 1

[Command]
name = "AI_49"
command = ~F, UF, U, F, UF, U, a, c, b
time = 1

[Command]
name = "AI_50"
command = ~F, UF, U, F, UF, U, a, c, c
time = 1

----------------------------------------


[Command]
name = "ちゅるやさん"
command = D, DF, F, D, DF, F, a
time = 45

[Command]
name = "ＴＳＵＲＵＹＡ無双"
command = D, DF, F, D, DF, F, b
time = 45

[Command]
name = "だいばくしょう"
command = D, DF, F, D, DF, F, c
time = 45

[Command]
name = "ばくしょう"
command = D, DF, F, a
time = 30

[Command]
name = "くうばくしょう"
command = D, DF, F, b
time = 30

[Command]
name = "ばくしょう零式"
command = D, DF, F, c
time = 30

[Command]
name = "鶴屋回転"
command = D, DB, B, a
time = 30

[Command]
name = "ちゅるやアタック"
command = D, DB, B, b
time = 30

[Command]
name = "焼きそば"
command = D, DB, B, c
time = 30

;-| 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 = a+b
time = 1

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

;-| Dir + Button |---------------------------------------------------------
[Command]
name = "fwd_a"
command = /F,a
time = 1

[Command]
name = "fwd_b"
command = /F,b
time = 1

[Command]
name = "fwd_c"
command = /F,c
time = 1

[Command]
name = "fwd_x"
command = /F,x
time = 1

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


[Command]
name = "downfwd_a"
command = /DF,a
time = 1

[Command]
name = "downfwd_b"
command = /DF,b
time = 1

[Command]
name = "back_x"
command = /B,x
time = 1

[Command]
name = "back_a"
command = /B,a
time = 1

[Command]
name = "back_b"
command = /B,b
time = 1

[Command]
name = "back_c"
command = /B,c
time = 1

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

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

[Command]
name = "down_c"
command = /$D,c
time = 1

[Command]
name = "down_z"
command = /$D,z
time = 1

[Command]
name = "fwd_ab"
command = /F, a+b
time = 1

[Command]
name = "back_ab"
command = /B, a+b
time = 1

;-| 攻撃ボタン押しっぱなし |-----------------------------------------------

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

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

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

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

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

[Command]
name = "hold_x"
command = /y
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 = "s"
command = s
time = 1


[Command]
name = "u"
command = $U
time = 1
[Command]
name = "uu"
command = /$U
time = 1

;-| 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


[Command]
name = "f_a"
command = F, a
time = 15

[Command]
name = "f_b"
command = F, b
time = 15

[Command]
name = "f_c"
command = F, c
time = 15

; Don't remove the following line. It's required by the CMD standard.
[Statedef -1]


;===========================================================================
;コマンド実行部分（優先順位が高いものを先に表記）
;===========================================================================
;---------------------------------------------------------------------------

;---------------------------------------------------------------------------
;前方ダッシュ
[State -1]
type = ChangeState
value = 100
triggerall = var(59) != 1
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;バックステップ
[State -1]
type = ChangeState
value = 105
triggerall = var(59) != 1
trigger1 = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl = 1
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;空中ダッシュ(air)
[State -1, Dash]
type = ChangeState
value = 110
triggerall = var(59) != 1
trigger1 = command = "FF"
trigger1 = statetype = A
trigger1 = ctrl
trigger1 = stateno != 110
trigger1 = stateno != 115
;---------------------------------------------------------------------------
;空中バックダッシュ(air)
[State -1, Dash]
type = ChangeState
value = 115
triggerall = var(59) != 1
trigger1 = command = "BB"
trigger1 = statetype = A
trigger1 = ctrl
trigger1 = stateno != 110
trigger1 = stateno != 115
;===================================================================
超必殺技
;==============================================================================
;---------------------------------------------------------------------
;-------------------------------------------------------------
;ちゅるやさん
[State -1]
type = ChangeState
value = 620
triggerall = var(59) != 1
triggerall = NumProj = 0
triggerall = power >= 1000
triggerall = command = "ちゅるやさん"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1

;-----------------------------------------------------------------
;-------------------------------------------------------------
;ＴＳＵＲＵＹＡ無双
[State -1]
type = ChangeState
value = 610
triggerall = var(59) != 1
triggerall = power >= 2000
triggerall = command = "ＴＳＵＲＵＹＡ無双"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 300
trigger3 = movecontact
trigger4 = stateno = 430
trigger4 = movecontact

;-----------------------------------------------------------------
;-------------------------------------------------------------
;だいばくしょう
[State -1]
type = ChangeState
value = 600
triggerall = var(59) != 1
triggerall = power >= 3000
triggerall = command = "だいばくしょう"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 300
trigger3 = movecontact
trigger4 = stateno = 430
trigger4 = movecontact
trigger5 = stateno = 400
trigger5 = movecontact
trigger6 = stateno = 330
trigger6 = movecontact
trigger7 = stateno = 500
trigger7 = movecontact
trigger8 = stateno = 510
trigger8 = movecontact

;===========================================================================
;　必殺技
;===========================================================================
;ばくしょう
[State -1]
type = ChangeState
value = 500
triggerall = var(59) != 1
triggerall = command = "ばくしょう"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 300
trigger3 = movecontact
trigger4 = stateno = 430
trigger4 = movecontact
trigger5 = stateno = 400
trigger5 = movecontact
trigger6 = stateno = 330
trigger6 = movecontact

;-------------------------------------------------------------
;くうばくしょう
[State -1]
type = ChangeState
value = 510
triggerall = var(59) != 1
triggerall = command = "くうばくしょう"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 300
trigger3 = movecontact
trigger4 = stateno = 330
trigger4 = movecontact
trigger5 = stateno = 430
trigger5 = movecontact
trigger6 = stateno = 500
trigger6 = movecontact

;-------------------------------------------------------------
;ばくしょう零式
[State -1]
type = ChangeState
value = 520
triggerall = var(59) != 1
triggerall = command = "ばくしょう零式"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 300
trigger3 = movecontact
trigger4 = stateno = 430
trigger4 = movecontact
trigger5 = stateno = 400
trigger5 = movecontact
trigger6 = stateno = 330
trigger6 = movecontact

;-------------------------------------------------------------
;鶴屋回転
[State -1]
type = ChangeState
value = 530
triggerall = var(59) != 1
triggerall = command = "鶴屋回転"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 300
trigger3 = movecontact
trigger4 = stateno = 430
trigger4 = movecontact
trigger5 = stateno = 500
trigger5 = movecontact
trigger6 = stateno = 510
trigger6 = movecontact

;-----------------------------------------------------------------
;-------------------------------------------------------------
;ちゅるやアタック
[State -1]
type = ChangeState
value = 540
triggerall = var(59) != 1
triggerall = command = "ちゅるやアタック"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1

;-----------------------------------------------------------------
;-------------------------------------------------------------
;焼きそば
[State -1]
type = ChangeState
value = 550
triggerall = var(59) != 1
triggerall = command = "焼きそば"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 300
trigger3 = movecontact
trigger4 = stateno = 430
trigger4 = movecontact
trigger5 = stateno = 400
trigger5 = movecontact
trigger6 = stateno = 330
trigger6 = movecontact

;===========================================================================
;　通常技
;===========================================================================
;背負い投げ
[State -1, Seoi Throw]
type = ChangeState
value = 800
triggerall = var(59) != 1
triggerall = statetype = S
triggerall = ctrl
triggerall = StateNo != 100
trigger1 = command = "fwd_x"
trigger1 = P2BodyDist X < 5
trigger1 = ((P2StateType = S) || (P2StateType = C))
trigger1 = P2MoveType != H
trigger2 = command = "back_x"
trigger2 = P2BodyDist X < 8
trigger2 = ((P2StateType = S) || (P2StateType = C))
trigger2 = P2MoveType != H
;;-------------------------------------------------------------
;-------------------------------------------------------------
;横強攻撃
[State -1]
type = ChangeState
value = 400
triggerall = var(59) != 1
triggerall = command = "fwd_c"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 300
trigger3 = movecontact
trigger4 = stateno = 430
trigger4 = movecontact
trigger5 = stateno = 410
trigger5 = movecontact
trigger6 = stateno = 330
trigger6 = movecontact

;-------------------------------------------------------------
;横中攻撃
[State -1]
type = ChangeState
value = 330
triggerall = var(59) != 1
triggerall = command = "fwd_b"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 300
trigger3 = movecontact
trigger4 = stateno = 310
trigger4 = movecontact

;-------------------------------------------------------------
;弱パンチ
[State -1]
type = ChangeState
value = 200
triggerall = var(59) != 1
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 210
trigger2 = movecontact

;-------------------------------------------------------------
;中攻撃
[State -1]
type = ChangeState
value = 300
triggerall = var(59) != 1
triggerall = command = "b"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact

;-------------------------------------------------------------
;強攻撃
[State -1]
type = ChangeState
value = 430
triggerall = var(59) != 1
triggerall = command = "c"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 300
trigger3 = movecontact
trigger4 = stateno = 410
trigger4 = movecontact

;-----------------------------------------
;-----------------------------------------
;しゃがみ攻撃
[State -1]
type = ChangeState
value = 210
triggerall = var(59) != 1
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1

;-----------------------------------
;-----------------------------------
;しゃがみ中攻撃
[State -1]
type = ChangeState
value = 310
triggerall = var(59) != 1
triggerall = command = "b"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = stateno = 210
trigger2 = movecontact

;-----------------------------------------------------------------
;-----------------------------------------------------------------
;しゃがみ強攻撃
[State -1]
type = ChangeState
value = 410
triggerall = var(59) != 1
triggerall = command = "c"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = stateno = 210
trigger2 = movecontact
trigger3 = stateno = 310
trigger3 = movecontact

;-----------------------------------------------------------------
;-----------------------------------------------------------------
;ジャンプ攻撃
[State -1]
type = ChangeState
value = 220
triggerall = var(59) != 1
triggerall = command = "a"
triggerall = statetype = A
trigger1 = ctrl
;-----------------------------------------------------------------
;-----------------------------------------------------------------
;ジャンプ中攻撃
[State -1]
type = ChangeState
value = 320
triggerall = var(59) != 1
triggerall = command = "b"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = 220
trigger2 = movecontact
;-----------------------------------
;-----------------------------------
;ジャンプ強攻撃
[State -1]
type = ChangeState
value = 420
triggerall = var(59) != 1
triggerall = command = "c"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = stateno = 220
trigger2 = movecontact
trigger3 = stateno = 320
trigger3 = movecontact
;--------------------------------------------------------------
;--------------------------------------------------------------
ジャンプキャンセル

[State -2]
type = Changestate
triggerall = var(59) != 1
triggerall = command = "holdup"
trigger1 = (stateno = 400) && movecontact
trigger2 = (stateno = 330) && movecontact
trigger3 = (stateno = 510) && movecontact
value = 40

