;-| 超必殺技 |--------------------------------------------------------
;-| 必殺技 |------------------------------------------------------
[Command]
name = "syouryu"
command = D, DF, F, D, DF, F,y
time = 80
;-| ２回押し技 |-----------------------------------------------------------

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

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

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

[Command]
name = "UU"     
command = U, U
time = 10

[Command]
name = "aa"     
command = a, a
time = 80


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

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

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

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

;-| 方向とボタンで出す技 |---------------------------------------------------------
[Command]
name = "down_a"
command = /$D,a
time = 1

[Command]
name = "fwd_a"
command = /$F,a
time = 1

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

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

;-| ボタン設定（もともとあるのは消さない|---------------------------------------------------------
[Command]
name = "a"
command = a
time = 1

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

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

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

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

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

[Command]
name = "start"
command = s
time = 1

[Command]
name = "F"
command = F
time = 1

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

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

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


;-| 押しっぱなし設定（もともとあるのは消さない-------------------------------------------------------

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

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

[Command]
name = "holdfwd"
command = /$F
time = 1

[Command]
name = "holdback"
command = /$B
time = 1

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

[Command]
name = "holddown"
command = /$D
time = 1

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

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

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

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

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

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

[Command]
name = "holds"
command = /$s
time = 1

[Command]
name = "hfu"
command = /F+U
time = 1

[Command]
name = "hbu"
command = /B+U
time = 1

[Command]
name = "hfd"
command = /F+D
time = 1

[Command]
name = "hbd"
command = /B+D
time = 1

[Command]
name = "hf"
command = /F
time = 1

[Command]
name = "hb"
command = /B
time = 1

[Command]
name = "hu"
command = /U
time = 1

[Command]
name = "hd"
command = /D
time = 1

;-| 離したときの設定 |--------------------------------------------------------
[Command]
name = "rela"
command = ~a
time = 1

[Command]
name = "relb"
command = ~b
time = 1

[Command]
name = "relc"
command = ~c
time = 1

[Command]
name = "relx"
command = ~x
time = 1

[Command]
name = "rely"
command = ~y
time = 1

[Command]
name = "relz"
command = ~z
time = 1

[Command]
name = "rels"
command = ~s
time = 1

; 下の記述↓は絶対に消さないでください。

;===========================================================================
;---------------------------------------------------------------------------
[Statedef -1]
;===========================================================================
;SNESモードへ(1)
[State -1]
type = ChangeState
value = 1500
triggerall = command = "start"
triggerall = Var(1) = 0
trigger1 = statetype != A
trigger1 = ctrl

;スマブラモードへ(2)
[State -1]
type = ChangeState
value = 1501
triggerall = command = "start"
triggerall = Var(1) = 1
trigger1 = statetype != A
trigger1 = ctrl

;エアモードへ(3)
[State -1]
type = ChangeState
value = 3000
triggerall = command = "start"
triggerall = Var(1) = 0
trigger1 = statetype = A
trigger1 = ctrl

;===============================================
;スマブラモード
;===============================================
;--------------------------------------------
;昇竜パンチ
[State -1]
type = ChangeState
value = 1250
triggerall = command = "syouryu"
triggerall = Var(1) = 0
triggerall = power >= 2000
trigger1 = statetype != A

;---------------------------------------
;投げ
[State -1]
type = ChangeState
value = 3500
triggerall = command = "z" 
triggerall = Var(1) = 0
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;前方回転
[State -1]
type = ChangeState
value = 220
triggerall = command = "FF" 
triggerall = Var(1) = 0
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;後方回転
[State -1]
type = ChangeState
value = 222
triggerall = command = "BB" 
triggerall = Var(1) = 0
trigger1 = statetype = S
trigger1 = ctrl

;--------------------------------------------
;ジャンプキック
[State -1]
type = ChangeState
value = 300
triggerall = command = "a"
triggerall = Var(1) = 0
trigger1 = statetype = A
trigger1 = ctrl

;--------------------------------------------
;マント払い
[State -1]
type = ChangeState
value = 400
triggerall = command = "b"
triggerall = Var(1) = 0
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;コンボ1
[State -1]
type = ChangeState
value = 500
triggerall = command = "a"
triggerall = Var(1) = 0
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;コンボ2
[State -1]
type = ChangeState
value = 501
triggerall = command = "a" 
triggerall = Var(1) = 0
trigger1 = Stateno = 500
trigger1 = Animelem <= 2  || time < 60

;---------------------------------------------------------------------------
;コンボ3
[State -1]
type = ChangeState
value = 502
triggerall = command = "a" 
triggerall = Var(1) = 0
triggerall = StateNo = 501
trigger1 = Animelem <= 2 || time < 60

;----------------------------------------------
;ランダムボムへい
[State -1]
type = ChangeState
value = 601
triggerall = command = "c"
triggerall = Var(1) = 0
triggerall = NumProjID(601) <=2
triggerall = NumProjID(602) <=2
trigger1 = statetype = A
trigger1 = ctrl

;--------------------------------------------
;しゃがみキック
[State -1]
type = ChangeState
value = 700
triggerall = command = "a"
triggerall = command = "holddown"
triggerall = Var(1) = 0
trigger1 = statetype = C
trigger1 = ctrl

;----------------------------------------------
;ファイアーボール
[State -1]
type = ChangeState
value = 800
triggerall = command = "c"
triggerall = Var(1) = 0
triggerall = NumProjID(801) <=1
trigger1 = statetype = S
trigger1 = ctrl

;--------------------------------------------
;ヒップドロップ
[State -1]
type = ChangeState
value = 900
triggerall = command = "b"
triggerall = Var(1) = 0
trigger1 = statetype = A
trigger1 = ctrl

;--------------------------------------------
;爆破パンチ
[State -1]
type = ChangeState
value = 1000
triggerall = command = "x"
triggerall = Var(1) = 0
trigger1 = statetype = S
trigger1 = ctrl

;--------------------------------------------
;ホームランバット
[State -1]
type = ChangeState
value = 1100
triggerall = command = "z"
triggerall = power >= 1000
triggerall = Var(1) = 0
trigger1 = statetype = C
trigger1 = ctrl

;--------------------------------------------
;ジャンプパンチ
[State -1]
type = ChangeState
value = 1200
triggerall = command = "y"
triggerall = Var(1) = 0
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;右に落ちる
[State -1]
type = ChangeState
value = 1210
triggerall = command = "holdfwd" 
triggerall = Var(1) = 0
trigger1 = StateNo = 1201
trigger1 = Time <= 10
trigger1 = statetype = A

;---------------------------------------------------------------------------
;左に落ちる
[State -1]
type = ChangeState
value = 1211
triggerall = command = "holdback" 
triggerall = Var(1) = 0
trigger1 = StateNo = 1201
trigger1 = Time <= 10
trigger1 = statetype = A

;-----------------------------------------------
;空中ジャンプパンチ
[State -1]
type = ChangeState
value = 1202
triggerall = command = "y"
triggerall = Var(1) = 0
trigger1 = statetype = A
trigger1 = ctrl

;---------------------------------------------------------------------------
;前に落ちる
[State -1]
type = ChangeState
value = 1220
triggerall = command = "F" 
triggerall = Var(1) = 0
trigger1 = StateNo = 1203
trigger1 = statetype = A

;---------------------------------------------------------------------------
;後ろに落ちる
[State -1]
type = ChangeState
value = 1221
triggerall = command = "B" 
triggerall = Var(1) = 0
trigger1 = StateNo = 1203
trigger1 = statetype = A

;---------------------------------------------------------------------------
;さらに前に落ちる1
[State -1]
type = ChangeState
value = 1220
triggerall = command = "holdfwd" 
triggerall = Var(1) = 0
trigger1 = StateNo = 1220
trigger1 = statetype = A

;---------------------------------------------------------------------------
;さらに後ろに落ちる1
[State -1]
type = ChangeState
value = 1221
triggerall = command = "holdback" 
triggerall = Var(1) = 0
trigger1 = StateNo = 1220
trigger1 = statetype = A

;---------------------------------------------------------------------------
;さらに前に落ちる2
[State -1]
type = ChangeState
value = 1220
triggerall = command = "holdfwd" 
triggerall = Var(1) = 0
trigger1 = StateNo = 1221
trigger1 = statetype = A

;---------------------------------------------------------------------------
;さらに後ろに落ちる2
[State -1]
type = ChangeState
value = 1221
triggerall = command = "holdback" 
triggerall = Var(1) = 0
trigger1 = StateNo = 1221
trigger1 = statetype = A

;--------------------------------------------
;トルネードスピン
[State -1]
type = ChangeState
value = 1300
triggerall = command = "b"
triggerall = command = "holddown"
triggerall = Var(1) = 0
trigger1 = statetype = C
trigger1 = ctrl

;---------------------------------------------
;ヘッドバット
[State -1]
type = ChangeState
value = 1400
triggerall = command = "c"
triggerall = command = "holddown"
triggerall = Var(1) = 0
trigger1 = statetype = C
trigger1 = ctrl

;----------------------------------------------
;フリーザー
[State -1]
type = ChangeState
value = 1600
triggerall = command = "x"
triggerall = Var(1) = 0
triggerall = NumProjID(1600) <=0
trigger1 = statetype = A
trigger1 = ctrl

;----------------------------------------------
;どせいさん
[State -1]
type = ChangeState
value = 603
triggerall = command = "y"
triggerall = Var(1) = 0
triggerall = NumProjID(603) <=5
trigger1 = statetype = C
trigger1 = ctrl

;----------------------------------------------
;モーションセンサー
[State -1]
type = ChangeState
value = 604
triggerall = command = "x"
triggerall = command = "holddown"
triggerall = Var(1) = 0
triggerall = NumProjID(604) <=0
trigger1 = statetype = C
trigger1 = ctrl

;---------------------------------------------
;緊急回避
[State -1]
type = ChangeState
value = 1800
triggerall = command = "z"
triggerall = Var(1) = 0
trigger1 = statetype = A
trigger1 = ctrl

;---------------------------------------------
;パワーを溜める
[State -1]
type = ChangeState
value = 701
triggerall = Var(1) = 0
triggerall = power != 3000
trigger1 = command = "holdx"
trigger1 = command = "holdy"
trigger1 = statetype = S
trigger1 = ctrl

;==============================================
;SNESモード
;==============================================
;いろいろキノコ
[State -1]
type = ChangeState
value = 1700
triggerall = command = "a"
triggerall = Var(1) = 1
trigger1 = statetype = S
trigger1 = ctrl

;----------------------------------------------
;レトロファイアーボール
[State -1]
type = ChangeState
value = 802
triggerall = command = "b"
triggerall = Var(1) = 1
triggerall = NumProjID(802) <=2
trigger1 = statetype = S
trigger1 = ctrl

;----------------------------------------------
;スーパーファイア
[State -1]
type = ChangeState
value = 803
triggerall = command = "b"
triggerall = command = "holddown"
triggerall = Var(1) = 1
triggerall = NumProjID(803) <=5
triggerall = power >= 1000
trigger1 = statetype = C
trigger1 = ctrl

;----------------------------------------------
;ハンマー投げ
[State -1]
type = ChangeState
value = 1900
triggerall = command = "c"
triggerall = Var(1) = 1
triggerall = NumProjID(1900) <=2
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------
;バラバラハンマー
[State -1]
type = ChangeState
value = 1901
triggerall = command = "c"
triggerall = command = "holddown"
triggerall = Var(1) = 1
triggerall = NumProjID(1900) <=5
triggerall = power >= 1000
trigger1 = statetype = C
trigger1 = ctrl

;----------------------------------------------
;ギャンブルキノコ
[State -1]
type = ChangeState
value = 1703
triggerall = command = "a"
triggerall = command = "holddown"
triggerall = Var(1) = 1
trigger1 = statetype = C
trigger1 = ctrl

;----------------------------------------------
;空中ハンマー投げ
[State -1]
type = ChangeState
value = 1902
triggerall = command = "c"
triggerall = Var(1) = 1
triggerall = NumProjID(1902) <=1
trigger1 = statetype = A
trigger1 = ctrl

;--------------------------------------------
;キラー
[State -1]
type = ChangeState
value = 2000
triggerall = command = "x"
triggerall = Var(1) = 1
triggerall = Numhelper(2000) <= 0
triggerall = power >= 2000
trigger1 = statetype = A
trigger1 = ctrl

;--------------------------------------------
;キャサリン
[State -1]
type = ChangeState
value = 2010
triggerall = command = "x"
triggerall = Var(1) = 1
triggerall = Numhelper(2010) <= 0
triggerall = power >= 2000
trigger1 = statetype = S
trigger1 = ctrl

;----------------------------------------------
;キノコ投げ
[State -1]
type = ChangeState
value = 1705
triggerall = command = "a"
triggerall = Var(1) = 1
triggerall = NumProjID(1905) <=0
triggerall = NumProjID(1906) <=0
trigger1 = statetype = A
trigger1 = ctrl

;--------------------------------------------
;踏みつけジャンプ
[State -1]
type = ChangeState
value = 2100
triggerall = command = "x"
triggerall = command = "holddown"
triggerall = Var(1) = 1
trigger1 = statetype = C
trigger1 = ctrl

;----------------------------------------------
;ジャンプファイア
[State -1]
type = ChangeState
value = 806
triggerall = command = "b"
triggerall = Var(1) = 1
triggerall = NumProjID(806) <=1
trigger1 = statetype = A
trigger1 = ctrl

;---------------------------------------------
;衝撃ハンマー
[State -1]
type = ChangeState
value = 2200
triggerall = command = "y"
triggerall = Var(1) = 1
triggerall = NumProjID(2200) <=1
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------
;フットバシハンマー
[State -1]
type = ChangeState
value = 2300
triggerall = command = "z"
triggerall = Var(1) = 1
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------
;グルグルハンマー
[State -1]
type = ChangeState
value = 2400
triggerall = command = "holdz"
triggerall = command = "holddown"
triggerall = Var(1) = 1
trigger1 = statetype = C
trigger1 = ctrl

;---------------------------------------------
;回転ハンマー
[State -1]
type = ChangeState
value = 2500
triggerall = command = "z"
triggerall = Var(1) = 1
trigger1 = statetype = A
trigger1 = ctrl

;----------------------------------------------
;ハンマー飛ばし
[State -1]
type = ChangeState
value = 2600
triggerall = command = "y"
triggerall = Var(1) = 1
triggerall = NumProjID(2601) <=0
trigger1 = statetype = A
trigger1 = ctrl

;---------------------------------------------
;ハンマー潰し
[State -1]
type = ChangeState
value = 2700
triggerall = command = "y"
triggerall = command = "holddown"
triggerall = Var(1) = 1
trigger1 = statetype = C
trigger1 = ctrl

;---------------------------------------------
;ダッシュ
[State -1]
type = ChangeState
value = 2800
triggerall = command = "FF"
triggerall = Var(1) = 1
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------
;バック
[State -1]
type = ChangeState
value = 2900
triggerall = command = "BB"
triggerall = Var(1) = 1
trigger1 = statetype = S
trigger1 = ctrl

;==============================================
;エアモード
;==============================================
;前
[State -1]
type = ChangeState
value = 3210
triggerall = command = "hf"
triggerall = Var(1) = 2
trigger1 = statetype = S
trigger1 = ctrl

;------------------------------------------------
;後ろ
[State -1]
type = ChangeState
value = 3211
triggerall = command = "hb"
triggerall = Var(1) = 2
trigger1 = statetype = S
trigger1 = ctrl

;------------------------------------------------
;上
[State -1]
type = ChangeState
value = 3212
triggerall = command = "hu"
triggerall = Var(1) = 2
trigger1 = statetype = S
trigger1 = ctrl

;------------------------------------------------
;下
[State -1]
type = ChangeState
value = 3213
triggerall = command = "hd"
triggerall = Var(1) = 2
trigger1 = statetype = S
trigger1 = ctrl

;-----------------------------------------------
;斜め前上
[State -1]
type = ChangeState
value = 3214
triggerall = command = "hfu"
triggerall = Var(1) = 2
trigger1 = statetype = S
trigger1 = ctrl

;------------------------------------------------
;斜め後ろ上
[State -1]
type = ChangeState
value = 3215
triggerall = command = "hbu"
triggerall = Var(1) = 2
trigger1 = statetype = S
trigger1 = ctrl

;-----------------------------------------------
;斜め前下
[State -1]
type = ChangeState
value = 3216
triggerall = command = "hfd"
triggerall = Var(1) = 2
trigger1 = statetype = S
trigger1 = ctrl

;------------------------------------------------
;斜め後ろ下
[State -1]
type = ChangeState
value = 3217
triggerall = command = "hbd"
triggerall = Var(1) = 2
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------
;エアヒップドロップ
[State -1]
type = ChangeState
value = 920
triggerall = command = "a"
triggerall = Var(1) = 2
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------
;突進
[State -1]
type = ChangeState
value = 3230
triggerall = command = "c"
triggerall = Var(1) = 2
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------
;方向転換
[State -1]
type = ChangeState
value = 3250
triggerall = command = "start"
triggerall = Var(1) = 2
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------
;必殺突進
[State -1]
type = ChangeState
value = 3280
triggerall = command = "z"
triggerall = Var(1) = 2
triggerall = power >= 1000
trigger1 = statetype = S
trigger1 = ctrl

;--------------------------------------------
;エアジャンプパンチ
[State -1]
type = ChangeState
value = 3300
triggerall = command = "b"
triggerall = Var(1) = 2
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------
;ライフ回復
[State -1]
type = ChangeState
value = 3290
triggerall = command = "holdy"
triggerall = Var(1) = 2
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------
;パワー回復
[State -1]
type = ChangeState
value = 3291
triggerall = command = "holdx"
triggerall = Var(1) = 2
trigger1 = statetype = S
trigger1 = ctrl