;==========================================================================
;コマンド関連ファイル
;==========================================================================
[Command]
name = "AI0"
command = a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a
time = 0
[Command]
name = "AI1"
command = b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b
time = 0
[Command]
name = "AI2"
command = c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c
time = 0
[Command]
name = "AI3"
command = x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x
time = 0
[Command]
name = "AI4"
command = y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y
time = 0
[Command]
name = "AI5"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI6"
command = s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s
time = 0
[Command]
name = "AI7"
command = F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F
time = 0
[Command]
name = "AI8"
command = D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D
time = 0
[Command]
name = "AI9"
command = B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B
time = 0
[Command]
name = "AI10"
command = U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U
time = 0
[Command]
name = "AI11"
command = a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a
time = 0
[Command]
name = "AI12"
command = c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c
time = 0
[Command]
name = "AI13"
command = x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x
time = 0
[Command]
name = "AI14"
command = y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y
time = 0
[Command]
name = "AI15"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI16"
command = s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s
time = 0
[Command]
name = "AI17"
command = a,B,c,x,y,z,s,B,D,F,U,a,b,c,x,y,z,s,s
time = 0
[Command]
name = "AI18"
command = a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a
time = 0
[Command]
name = "AI19"
command = b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b
time = 0
[Command]
name = "AI20"
command = c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c
time = 0
[Command]
name = "AI21"
command = x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x
time = 0
[Command]
name = "AI22"
command = y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y
time = 0
[Command]
name = "AI23"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI24"
command = s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s
time = 0
[Command]
name = "AI25"
command = F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F
time = 0
[Command]
name = "AI26"
command = D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D
time = 0
[Command]
name = "AI27"
command = B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B
time = 0
[Command]
name = "AI28"
command = U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U
time = 0
[Command]
name = "AI29"
command = a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a
time = 0
[Command]
name = "AI30"
command = c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c
time = 0
[Command]
name = "AI31"
command = x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x
time = 0
[Command]
name = "AI32"
command = y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y
time = 0
[Command]
name = "AI33"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI34"
command = s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s
time = 0
[Command]
name = "AI35"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI36"
command = z,z,z,z,z,z,a,a,a,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI37"
command = z,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,z,z,z
time = 0
[Command]
name = "AI38"
command = z,z,z,z,z,a,a,a,z,z,z,z,z,a,a,a,z,z,z
time = 0
[Command]
name = "AI39"
command = z,z,z,z,z,a,a,a,z,z,z,z,z,z,a,a,z,z,z
time = 0
[Command]
name = "AI40"
command = z,z,z,z,a,a,a,z,z,z,z,a,z,z,a,a,z,z,z
time = 0
[Command]
name = "AI41"
command = z,z,z,a,z,z,z,z,z,z,z,z,z,a,a,z,z,z,z
time = 0
[Command]
name = "AI42"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI43"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,a,a,z
time = 0
[Command]
name = "AI44"
command = z,z,a,a,a,a,z,z,z,z,z,z,z,z,z,a,a,a,z
time = 0
[Command]
name = "AI45"
command = z,z,z,z,z,z,a,a,z,z,z,z,z,a,a,a,a,z,z
time = 0
[Command]
name = "AI46"
command = z,z,z,z,z,z,z,z,a,a,a,a,a,a,z,z,z,z,z
time = 0
[Command]
name = "AI47"
command = z,z,z,a,a,a,a,z,z,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI48"
command = z,z,z,z,z,a,a,a,z,z,z,a,a,a,z,z,a,z,a
time = 0
[Command]
name = "AI49"
command = z,z,z,z,a,a,a,z,z,z,z,z,a,a,a,z,z,z,z
time = 0
[Command]
name = "AI50"
command = z,z,z,a,a,z,z,z,z,z,z,z,z,z,a,a,z,z,z
time = 0

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

[Command]
name = "DD"
command = D, D
time = 10

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

[Command]
name = "ab"
command = x+y
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_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_a"
command = /B,a
time = 1

[Command]
name = "back_b"
command = /B,b
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_a"
command = /a
time = 1

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

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



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

[Command]
name = "hold_y"
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 = "start"
command = s
time = 1
[command]
name="fwd"
command=F
time=1
[command]
name="back"
command=B
time=1
[command]
name="up"
command=U
time=1
[command]
name="down"
command=D
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

[Command]
name = "atmic"
command = D, F, D, F, x
time = 30

[Command]
name = "atmic"
command = D, F, D, F, y
time = 30

[Command]
name = "ZX"
command = D, F, D, F, z
time = 30

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

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

[Command]
name = "kk"
command = D, B, D, B, x
time = 40

[Command]
name = "kk"
command = D, B, D, B, y
time = 30

[Command]
name = "gs"
command = D, B, D, B, a
time = 30

[Command]
name = "gs"
command = D, B, D, B, b
time = 30

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

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

[Command]
name = "crystal"
command = D, B, a
time = 30

[Command]
name = "crystal"
command = D, B, b
time = 30

[Command]
name = "tap"
command = D, B, x
time = 30

[Command]
name = "tap"
command = D, B, y
time = 30


[Command]
name = "DF"
command = D, F
time = 30

[Command]
name = "chage"
command = D, F, a
time = 30

[Command]
name = "chage"
command = D, F, b
time = 30

[Command]
name = "hoosyoko_x"
command = F, B, D, F, x
time = 40

[Command]
name = "hoosyoko_y"
command = F, B, D, F, y
time = 40

[Command]
name = "furin_xa"
command = D, F, D, B, x+a
time = 60

[Command]
name = "kona_a"
command = U, U, D, D, B, F, B, F, b, a
time = 180

[Command]
name = "kona_b"
command = U, U, D, D, F, B, F, B, b, a
time = 180

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


[Command]
name = "DDX"
command = D, D, x
time = 30

[Command]
name = "hado_x"
command = D, F, x
time = 30

[Command]
name = "hado_y"
command = D, F, y
time = 30


[Command]
name = "hado_xy"
command = D, F, x+y
time = 30

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


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

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

;---------------------------------------------------------------------------
;後方ダッシュ
[State -1]
type = ChangeState
value = 105
TriggerAll= var(59) = 0
triggerall = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;ダッシュジャンプ
[State -1]
Type = ChangeState
value = 106
TriggerAll= var(59) = 0
TriggerAll=Command="holdup"
trigger1 = stateno = 100
trigger1 = Time >= 3
trigger2 = stateno = 105
trigger2 = Time >= 3

;---------------------------------------------------------------------------
;ジャンプ
[State -1]
Type = ChangeState
value = 40
TriggerAll= var(59) = 0
TriggerAll=Command="holdup"
TriggerAll=StateType=S
trigger1 = ctrl

;---------------------------------------------------------------------------
;しゃがみ
[State -1]
Type = ChangeState
value = 10
TriggerAll= var(59) = 0
TriggerAll=Command="holdup"
TriggerAll=StateType=S
trigger1 = ctrl

holddown

;---------------------------------------------------------------------------
空中ジャンプ
[State -1]
Type = ChangeState
value = 45 + ( Var(8):= (1+Var(8)) )*0
TriggerAll= var(59) = 0
Triggerall =StateType = A && Ctrl &&  Pos Y <= -1*Const(Movement.AirJump.Height)
TriggerAll =(Var(8)&1073741823)< 1
TriggerAll =(Var(8)&1073741824)= 0 
;TriggerAll= var(8) = 0
Trigger1=Command="holdup"

[State -1, Air Jump Not Holdup];一度レバーを上以外にしなければいけない。
Type = Null
Trigger1 = Command = "holdup"
Trigger1 = 1|| Var(8):= (Var(8)|1073741824)
Trigger2 = StateType = A
Trigger2 = Command != "holdup"
Trigger2 = 1|| Var(8):=((Var(8)|1073741824)-1073741824)
[State -1, Air Jump Num Reset];回数制限リセット
Type = Null
Trigger1 = StateType != A
Trigger1 = 1|| Var(8):= (Var(8)&1073741824);リセット

;===========================================================================
;　超必殺技
;===========================================================================
;---------------------------------------------------------------------------
;リカバリー・レイ
[State -1]
type = ChangeState
value = 3000
TriggerAll= var(59) = 0
triggerall = command = "atmic"
triggerall = power >= 1000
triggerall = statetype != A
trigger1 = ctrl = 1
trigger2 = anim = 200 && AnimElem >= 7, >= 3
trigger3 = (stateno = 210||stateno = 220) && AnimElem >= 2, >= 3

;---------------------------------------------------------------------------
;ジャスティス・タワー　　　　　　　　　　　　　　　　　　　　　　　　　　
[State -1]
type = ChangeState
value = 3100
TriggerAll= var(59) = 0
triggerall = command = "kk"
triggerall = NumHelper(3100) = 0
triggerall = power >= 1000
triggerall = statetype != A
trigger1 = ctrl = 1
trigger2 = anim = 200 && AnimElem >= 7, >= 3
trigger3 = (stateno = 210||stateno = 220) && AnimElem >= 2, >= 3

;---------------------------------------------------------------------------
;ジャッジメント・Ｘ
[State -1]
type = ChangeState
value = 3200
TriggerAll= var(59) = 0
triggerall = command = "hoosyoko_x"
;triggerall = NumHelper(3100) = 0
triggerall = power >= 1000
triggerall = statetype != A
trigger1 = ctrl = 1
trigger2 = anim = 200 && AnimElem >= 7, >= 3
trigger3 = (stateno = 210||stateno = 220) && AnimElem >= 2, >= 3

;---------------------------------------------------------------------------
;
[State -1]
type = ChangeState
value = 3300
TriggerAll= var(59) = 0
triggerall = command = "atmic"
triggerall = power >= 1000
TriggerAll= var(0) >= 150
triggerall = statetype != A
trigger1 = stateno = [5000,5101]
;
[State -1]
type = ChangeState
value = 3350
TriggerAll= var(59) = 0
triggerall = command = "atmic"
triggerall = power >= 1000
TriggerAll= var(0) >= 150
triggerall = statetype = A
trigger1 = stateno = [5000,5101]

;===========================================================================
;　必殺技
;===========================================================================
;---------------------------------------------------------------------------
;ノバァ・ストライク
[State -1]
type = ChangeState
value = 1000
TriggerAll= var(59) = 0
triggerall = command = "hado_x"
triggerall = statetype = A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;ノバァ・ストライク (ダッシュキャンセル)
[State -1]
type = ChangeState
value = 1025
TriggerAll= var(59) = 0
triggerall = command = "x"
triggerall = command = "holdfwd"
trigger1 = stateno = 100
trigger1 = time >= 3
trigger2 = stateno = 105
trigger2 = time >= 3

;---------------------------------------------------------------------------
;チャージ-X-バスター
[State -1]
type = ChangeState
value = 1100
TriggerAll= var(59) = 0
Triggerall= var(1) = 0
triggerall = command != "holdfwd"
triggerall = command != "hold_y"
Triggerall= var(5) >= 60
trigger1 = statetype = S
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;チャージ-X-バスター (ダッシュキャンセル)
[State -1]
type = ChangeState
value = 1125
TriggerAll= var(59) = 0
Triggerall= var(1) = 0
triggerall = command != "hold_y"
Triggerall= var(5) >= 50
trigger1 = stateno = 100||stateno = 105
trigger1 = time >= 3

;---------------------------------------------------------------------------
;チャージ-X-バスター air
[State -1]
type = ChangeState
value = 1150
TriggerAll= var(59) = 0
Triggerall= var(1) = 0
triggerall = command != "holdfwd"
triggerall = command != "hold_y"
Triggerall= var(5) >= 60
trigger1 = statetype = A
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;チャージ-ファイアー
[State -1]
type = ChangeState
value = 1200
TriggerAll= var(59) = 0
TriggerAll= var(1) = 1
TriggerAll= var(0) >= 60
triggerall = command != "hold_y"
Triggerall= var(5) >= 60
trigger1 = statetype = S
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;チャージ-アイス
[State -1]
type = ChangeState
value = 1300
TriggerAll= var(59) = 0
TriggerAll= var(1) = 2
TriggerAll= var(0) >= 60
triggerall = command != "hold_y"
Triggerall= var(5) >= 60
trigger1 = statetype = S
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;チャージ-サンダー
[State -1]
type = ChangeState
value = 1400
TriggerAll= var(59) = 0
TriggerAll= var(1) = 3
TriggerAll= var(0) >= 60
triggerall = command != "hold_y"
Triggerall= var(5) >= 60
trigger1 = statetype = S
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;リフレクトショット
[State -1]
type = ChangeState
value = 1500
TriggerAll= var(59) = 0
Triggerall= var(1) = 0
triggerall = command = "holdfwd"
triggerall = command != "hold_y"
Triggerall= var(5) >= 60
trigger1 = statetype = S
trigger1 = ctrl = 1

;---------------------------------------------------------------------------
;リフレクトショット　air
[State -1]
type = ChangeState
value = 1550
TriggerAll= var(59) = 0
Triggerall= var(1) = 0
triggerall = command = "holdfwd"
triggerall = command != "hold_y"
Triggerall= var(5) >= 60
trigger1 = statetype = A
trigger1 = ctrl = 1

;===========================================================================
;　通常技
;===========================================================================
;-------------------------------------------------------------
;X-バスター
[State -1]
type = ChangeState
value = 200
TriggerAll= var(59) = 0
;;triggerall = NumProjID(205) < 3
;triggerall = NumHelper(205) < 3
triggerall = Var(30) < 3
triggerall = command = "x"
triggerall = command != "holddown"
triggerall = command != "tap"
triggerall = command != "hoosyoko_x"
triggerall = statetype = S
triggerall = ctrl = 1
Trigger1= NumHelper(2500) = 0
Trigger2= var(1) != 0&&NumHelper(2500) = 1
;;-------------------------------------------------------------
;X-バスター (キャンセル)
[State -1]
type = ChangeState
value = 210
TriggerAll= var(59) = 0
triggerall = Var(30) < 3
triggerall = command = "x"
triggerall = command != "holddown"
Triggerall= var(1) != 0&&NumHelper(2500) = 1||NumHelper(2500) = 0
trigger1 = stateno = 200
trigger1 = time = [32,42]
trigger2 = stateno = 210
trigger2 = time = [10,20]
trigger3 = stateno = 220
trigger3 = time = [13,23]


;;-------------------------------------------------------------
;X-バスター (ダッシュキャンセル)
[State -1]
type = ChangeState
value = 220
TriggerAll= var(59) = 0
triggerall = Var(30) < 3
triggerall = command = "x"
triggerall = command != "holddown"
triggerall = command != "holdfwd"
triggerall = stateno = 100||stateno = 105
triggerall = time >= 3
Trigger1= NumHelper(2500) = 0
Trigger2= var(1) != 0&&NumHelper(2500) = 1

;-------------------------------------------------------------
;ファイアー
[State -1]
type = ChangeState
value = 230
TriggerAll= var(59) = 0
TriggerAll= var(0) >= 30
triggerAll = command = "a"
triggerAll = statetype = S
triggerAll = ctrl = 1
Trigger1= NumHelper(2500) = 0
Trigger2= var(1) != 1&&NumHelper(2500) = 1

;-------------------------------------------------------------
;アイス
[State -1]
type = ChangeState
value = 240
TriggerAll= var(59) = 0
TriggerAll= var(0) >= 30
triggerall = command = "b"
triggerAll = statetype = S
triggerAll = ctrl = 1
Trigger1= NumHelper(2500) = 0
Trigger2= var(1) != 2&&NumHelper(2500) = 1

;-------------------------------------------------------------
;サンダー
[State -1]
type = ChangeState
value = 250
TriggerAll= var(59) = 0
TriggerAll= var(0) >= 30
triggerall = command = "c"
triggerAll = statetype = S
;trigger1 = ctrl = 1
triggerAll = ctrl = 1
Trigger1= NumHelper(2500) = 0
;trigger1 = command = "c"
Trigger2= var(1) != 3&&NumHelper(2500) = 1
;Trigger2= var(1) = 0&&NumHelper(1500) = 1||var(1) = 1&&NumHelper(1500) = 1||var(1) = 2&&NumHelper(1500) = 1
;trigger2 = command = "c"
;trigger2 = command = "hold_y"

;-------------------------------------------------------------
;エンジェル・リング
[State -1]
type = ChangeState
value = 260
TriggerAll= var(59) = 0
triggerall = command = "tap"
TriggerAll= var(0) >= 30
triggerall = statetype = S
triggerall = ctrl = 1
Trigger1= NumHelper(2500) = 0
Trigger2= var(1) != 0&&NumHelper(2500) = 1

;-------------------------------------------------------------
;エンジェル・リング (キャンセル)
[State -1]
type = ChangeState
value = 270
TriggerAll= var(59) = 0
triggerall = command = "tap"
TriggerAll= var(0) >= 30
Triggerall = NumHelper(2500) = 0||var(1) != 0&&NumHelper(2500) = 1
trigger1 = stateno = 260
trigger1 = time = [20,50]
trigger2 = Var(30) < 2
trigger2 = stateno = 270
trigger2 = time = [4,30]

;---------------------------------------------------------------------------
;スライディング
[State -1]
type = ChangeState
value = 400
TriggerAll= var(59) = 0
triggerall = command = "x"
triggerall = command = "holddown"
triggerall = command != "kk"
trigger1 = statetype = C
trigger1 = ctrl = 1
trigger2 = stateno = 52

;---------------------------------------------------------------------------
;スライディング (ダッシュキャンセル)
[State -1]
type = ChangeState
value = 410
TriggerAll= var(59) = 0
triggerall = command = "x"
triggerall = command = "holddown"
trigger1 = stateno = 100
trigger1 = time >= 3
trigger2 = stateno = 105
trigger2 = time >= 3

;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;X-バスター air
[State -1]
type = ChangeState
value = 600
TriggerAll= var(59) = 0
triggerall = NumHelper(205) < 3
triggerall = Var(30) < 3
triggerall = command = "x"
triggerall = statetype = A
triggerall = ctrl = 1
Trigger1= NumHelper(2500) = 0
Trigger2= var(1) != 0&&NumHelper(2500) = 1
;---------------------------------------------------------------------------
;X-バスター air (キャンセル)
[State -1]
type = ChangeState
value = 610
TriggerAll= var(59) = 0
triggerall = NumHelper(205) < 3
triggerall = Var(30) < 3
triggerall = command = "x"
triggerall = statetype = A
Triggerall= var(1) != 0&&NumHelper(2500) = 1||NumHelper(2500) = 0
trigger1 = stateno = 600&&time = [26,39]
trigger2 = stateno = 610&&time = [6,20]
 
;-------------------------------------------------------------
;ファイアー air
[State -1]
type = ChangeState
value = 620
TriggerAll= var(59) = 0
TriggerAll= var(0) >= 30
triggerall = command = "a"
triggerAll = statetype = A
triggerAll = ctrl = 1
Trigger1= NumHelper(2500) = 0
Trigger2= var(1) != 1&&NumHelper(2500) = 1

;-------------------------------------------------------------
;アイス air
[State -1]
type = ChangeState
value = 630
TriggerAll= var(59) = 0
TriggerAll= var(0) >= 30
triggerall = command = "b"
triggerAll = statetype = A
triggerAll = ctrl = 1
Trigger1= NumHelper(2500) = 0
Trigger2= var(1) != 2&&NumHelper(2500) = 1

;-------------------------------------------------------------
;サンダー air
[State -1]
type = ChangeState
value = 640
TriggerAll= var(59) = 0
TriggerAll= var(0) >= 30
triggerall = command = "c"
triggerAll = statetype = A
triggerAll = ctrl = 1
Trigger1= NumHelper(2500) = 0
Trigger2= var(1) = 0&&NumHelper(2500) = 1||var(1) = 1&&NumHelper(2500) = 1||var(1) = 2&&NumHelper(1500) = 1

;---------------------------------------------------------------------------
;
[State -1]
type = ChangeState
value = 900
TriggerAll= var(59) = 0
;triggerall = command = "recovery"
triggerall = command = "x"
triggerall = command = "y"||command = "hold_y"
triggerall = command = "holdfwd"
triggerall = statetype != A
TriggerAll= var(0) >= 90
trigger1 = time >0
trigger1 = stateno = [150,151]

;---------------------------------------------------------------------------
;
[State -1]
type = ChangeState
value = 950
TriggerAll= var(59) = 0
triggerall = command = "x"
triggerall = command = "y"||command = "hold_y"
triggerall = command = "holdfwd"
triggerall = statetype != A
TriggerAll= var(0) >= 90
trigger1 = time >0
trigger1 = stateno = [152,153]

;---------------------------------------------------------------------------
;掴み
[State -1]
type = ChangeState
value = 800
TriggerAll= var(59) = 0
triggerall = statetype = S
triggerall = ctrl
trigger1 = NumHelper(2500) = 0
trigger1 = command = "x"
trigger1 = command = "y"||command = "hold_y"
Trigger2= var(1) = 0&&NumHelper(2500) = 1
trigger2 = command = "x"
trigger2 = command = "y"||command = "hold_y"
Trigger3= var(1) = 1&&NumHelper(2500) = 1
trigger3 = command = "a"
trigger3 = command = "y"||command = "hold_y"
Trigger4= var(1) = 2&&NumHelper(2500) = 1
trigger4 = command = "b"
trigger4 = command = "y"||command = "hold_y"
Trigger5= var(1) = 3&&NumHelper(2500) = 1
trigger5 = command = "c"
trigger5 = command = "y"||command = "hold_y"

;---------------------------------------------------------------------------
;掴み
[State -1]
type = ChangeState
value = 830
TriggerAll = Var(59) = 0
triggerall = command = "x"
triggerall = command = "y"||command = "hold_y"
triggerall = command != "holdfwd"
trigger1 = stateno = 100
trigger1 = time >= 3
trigger2 = stateno = 105
trigger2 = time >= 3

;---------------------------------------------------------------------------
;掴み air
;[State -1]
;type = ChangeState
;value = 850
;TriggerAll = Var(59) = 0
;triggerall = command = "x"
;triggerall = command = "y"||command = "hold_y"
;trigger1 = statetype = A
;trigger1 = ctrl
