;カービィのコマンドファイル

;コマンドの特殊記述メモ

; $ … その方向の斜めも入れることが可能とする。
; / … その方向に入力し続けても有効とする。
; ~ … その方向に入力した後、その方向に入力されてない事を調べる。
; 1 … 数字のＦ分入力されてるかどうかを調べる。
; + … 指定された２つ以上のボタンを入力されてるかどうかを調べる。

;コマンドの作成方法は
;x,y,z,a,b,c（ボタン）とU,D,B,F（方向）の２つを使う。
;方向に関しては必ず大文字で記述し左右と上下の２つを組み合わせることができる。
;記述は上下が先で左右が後である。

;DF,DB,UF,UB

;一方、ボタンは必ず小文字で記述すること。


;記述は
;[Command]
;name = "（コマンドの名前、Trigger○ = Command = (名前)を使って調べる）"
;Command = コマンド記述

;でコマンドが作れる。

;「time =」を加えると「command.time =」から時間を延ばしたり、
;縮めたりすることが可能。

;入力ボタンの変更。
[Remap]
x = x
y = y
z = b
a = a
b = z
c = c
s = s

;------------------------------------------------------------------------------------
[Defaults]
; デフォルトの入力時間
command.time = 15

; Default value for the "buffer.time" parameter of a Command. Minimum 1,
; maximum 30.
command.buffer.time = 1


;------------------------------------------------------------------------------------
;ＡＩコマンド
;ヘルパー式とあわせれば起動時間はかなり短くなるはず…
[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

;-----------------------------------------------------------------------------------------
;スペシャルアタックコマンド

[Command]
name = "スターロッド"
command = D,DF,F,D,DF,F,x
time = 30

[Command]
name = "スターロッド"
command = D,DF,F,D,DF,F,y
time = 30

[Command]
name = "スターロッド"
command = D,DF,F,D,DF,F,z
time = 30
;-----------------------------------------------------------------------------------------

[Command]
name = "コック"
command = x,x,F,y,z
time = 30

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

[Command]
name = "吸い込み"
command = D,B,D,B,x
time = 40

[Command]
name = "吸い込み"
command = D,B,D,B,y
time = 40

[Command]
name = "吸い込み"
command = D,B,D,B,z
time = 40

;-----------------------------------------------------------------------------------------
;必殺技コマンド
[Command]
name = "ファイナルソード弱"
command = F, D, DF, x
time = 30

[Command]
name = "ファイナルソード中"
command = F, D, DF, y
time = 30

[Command]
name = "ファイナルソード強"
command = F, D, DF, z
time = 30

[Command]
name = "ハンマー弱"
command = B, D, F, x
time = 30

[Command]
name = "ハンマー中"
command = B, D, F, y
time = 30

[Command]
name = "ハンマー強"
command = B, D, F, z
time = 30

[Command]
name = "ブレイクスピン弱"
command = ~42$B, F, x
time = 5

[Command]
name = "ブレイクスピン中"
command = ~52$B, F, y
time = 5

[Command]
name = "ブレイクスピン強"
command = ~62$B, F, z
time = 5

[Command]
name = "ストーン"
command = D, D, x
time = 30

[Command]
name = "ストーン"
command = D, D, y
time = 30

[Command]
name = "ストーン"
command = D, D, z
time = 30



[Command]
name = "ストーンＫ"
command = D, D, a
time = 30




[Command]
name = "ストーンＫ"
command = D, D, z
time = 30

[Command]
name = "スクリュー"
command = B,D,F,U,x
time = 30

[Command]
name = "スクリュー"
command = B,D,F,U,y
time = 30

[Command]
name = "スクリュー"
command = B,D,F,U,z
time = 30

[Command]
name = "スクリュー"
command = F,D,B,U,x
time = 30

[Command]
name = "スクリュー"
command = F,D,B,U,y
time = 30

[Command]
name = "スクリュー"
command = F,D,B,U,z
time = 30




[Command]
name = "バルカンジャブ弱"
command = x,x,x
time = 20

[Command]
name = "バルカンジャブ中"
command = y,y,y,y
time = 25

[Command]
name = "バルカンジャブ強"
command = z,z,z,z,z
time = 30

[Command]
name = "スパイラルキック"
command = D,DF,F,x
time = 40

[Command]
name = "スパイラルキック"
command = D,DF,F,x
time = 40

[Command]
name = "スパイラルキック"
command = U,D,x
time = 40

[Command]
name = "スパイラルキック"
command = U,D,y
time = 40

[Command]
name = "スパイラルキック"
command = U,D,z
time = 40

[Command]
name = "波動"
command = D,DF,F,x
time = 40

[Command]
name = "波動"
command = D,DF,F,y
time = 40

[Command]
name = "波動"
command = D,DF,F,z
time = 40

[Command]
name = "竜巻x"
command = D,DB,B,x
time = 40

[Command]
name = "竜巻y"
command = D,DB,B,y
time = 40

[Command]
name = "竜巻z"
command = D,DB,B,z
time = 40
;-----------------------------------------------------------------------------------------

;その他コマンド

[Command]
name = "ガードキャンセル"
command = /F+a
time = 30

[Command]
name = "HIJUMP"
command = D,U
time = 30
;-----------------------------------------------------------------------------------------
;２回入力
[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 = "recovery";Required (do not remove)
command = x+y
time = 1

[command]
name = "douzi"
command = x+y
time = 1

[command]
name = "douzi"
command = y+z
time = 1

[command]
name = "douzi"
command = x+z
time = 1

[Command]
name = "recovery";Required (do not remove)
command = y+z
time = 1

[Command]
name = "recovery";Required (do not remove)
command = x+y
time = 1

[Command]
name = "recovery";Required (do not remove)
command = c
time = 1

[Command]
name = "DB"
command = /DB
time = 1

[Command]
name = "DF"
command = /DF
time = 1

;-----------------------------------------------------------------------------------------
;方向＋ボタン
[Command]
name = "down_a"
command = /$D,a
time = 1

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

[Command]
name = "run_y"
command = F,F,y
time = 10

[Command]
name = "humi"
command = /D+x
time = 10

;-----------------------------------------------------------------------------------------
;ボタン設定
[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 = "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 = "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 = "holda"
command = /a
time = 60

[Command]
name = "holdb"
command = /b
time = 60

[Command]
name = "holdc"
command = /c
time = 60

[Command]
name = "holdx"
command = /x
time = 60

[Command]
name = "holdy"
command = /y
time = 60

[Command]
name = "holdz"
command = /z
time = 60

[Command]
name = "holdstart"
command = /s
time = 60

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

[Command]
name = "xyz"
command = x+y+z

;-----------------------------------------------------------------------------------------
;コマンド設定が完了したら-1ステートとChangeState使って
;どのコマンドでどの技が出せるかを設定する。

;立ってる時に使える技は
;「Triggerall = Statetype = S」で調べる。

;屈んでいる（しゃがんでる）時に使える技は
;「Triggerall = Statetype = C」で調べる。

;空中で使える技は
;「Triggerall = StateType = A」で調べる。

;コマンドは上記に書いた通り
「Triggerall = Command = "使うコマンドの名前"」で調べる。

;技から技に繋げたかったら
;最初の技を当てたときに繋げれるようにしたい技のステートにいき、
;「Trigger○ = MoveContact」、「Trigger○ = StateNo = 最初の技のステート番号」
;を追加。

;Triggerは必ず○の部分に「1」を入れないとバグるので注意。
;１つの技を多数の方法で出させようとしたいなら、
;「Trigger1」のほかに「Trigger2」と、○の部分に数字の順番に
;Triggerを追加していく。

;平成㌢様のＡＩ記述を加えた場合は、
;以下のChangeStateに
;
;TriggerAll = (AIﾌﾗｸﾞOFF)
;
;を
;加えたほうがいいと思う。

;次の行を消すと使えなくなってしまうので要注意。


[Statedef -1]

;１　バーニング
;２　アイス
;３　スパーク
;４　ハンマー
;５　ファイター
;６　ニンジャ
;７　ソード
;８　スロウ

[State -3, AIフラグセット]
type = VarSet
triggerall = !var(59)
trigger1 = Command = "AI0"
trigger2 = Command = "AI1"
trigger3 = Command = "AI2"
trigger4 = Command = "AI3"
trigger5 = Command = "AI4"
trigger6 = Command = "AI5"
trigger7 = Command = "AI6"
trigger8 = Command = "AI7"
trigger9 = Command = "AI8"
trigger10 = Command = "AI9"
trigger11 = Command = "AI10"
trigger12 = Command = "AI11"
trigger13 = Command = "AI12"
trigger14 = Command = "AI13"
trigger15 = Command = "AI14"
trigger16 = Command = "AI15"
trigger17 = Command = "AI16"
trigger18 = Command = "AI17"
trigger19 = Command = "AI18"
trigger20 = Command = "AI19"
trigger21 = Command = "AI20"
trigger22 = Command = "AI21"
trigger23 = Command = "AI22"
trigger24 = Command = "AI23"
trigger25 = Command = "AI24"
trigger26 = Command = "AI25"
trigger27 = Command = "AI26"
trigger28 = Command = "AI27"
trigger29 = Command = "AI28"
trigger30 = Command = "AI29"
trigger31 = Command = "AI30"
trigger32 = Command = "AI31"
trigger33 = Command = "AI32"
trigger34 = Command = "AI33"
trigger35 = Command = "AI34"
trigger36 = Command = "AI35"
trigger37 = Command = "AI36"
trigger38 = Command = "AI37"
trigger39 = Command = "AI38"
trigger40 = Command = "AI39"
trigger41 = Command = "AI40"
trigger42 = Command = "AI41"
trigger43 = Command = "AI42"
trigger44 = Command = "AI43"
trigger45 = Command = "AI44"
trigger46 = Command = "AI45"
trigger47 = Command = "AI46"
trigger48 = Command = "AI47"
trigger49 = Command = "AI48"
trigger50 = Command = "AI49"
trigger51 = Command = "AI50"
var(59) = Helper(10001),var(3)

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

[State -1,どこキャンリセット]
Type = VarSet
Trigger1 = 1
var(7) = 0

[State -1,どこキャンフラグ]
Type = VarSet
Trigger1 = Ctrl
Trigger2 = StateNo = [100,115]
Trigger3 = StateNo = [200,799]
Trigger4 = StateNo = 40
Trigger4 = Ctrl
Trigger5 = StateNo = 52
Trigger5 = Ctrl
var(7) = 1

;---------------------------------------------------------------------------
;コック
[State -1,体力回復主義]
Type = ChangeState
value= 4000
TriggerAll = var(59) = 0
TriggerAll = RoundState = 2
triggerAll = Power >= 3000
TriggerAll = StateType != A
TriggerAll = Command = "コック"
Trigger1 = var(7)

;---------------------------------------------------------------------------
;スロウ
[State -1,敵をまっすぐ投げてみる！]
Type = ChangeState
value = 13000
TriggerAll = var(59) = 0
TriggerAll = var(57) = 8
TriggerAll = RoundState = 2
triggerAll = Power >= 1000
triggerAll = Statetype != A
TriggerAll = Command = "スクリュー"
Trigger1 = var(7) || StateNo = 40

;---------------------------------------------------------------------------
;アタックコピー
[State -1,いたマミます]
Type = ChangeState
value= 3100
TriggerAll = var(59) = 0
TriggerAll = var(57) = 0
TriggerAll = RoundState = 2
triggerAll = Power >= 1000
triggerAll = Statetype != A
TriggerAll = Command = "吸い込み"
Trigger1 = var(7)

;---------------------------------------------------------------------------
;スターロッド
[State -1,摩訶不思議な飛ばし方をする打撃]
Type = ChangeState
value= 3000
TriggerAll = var(59) = 0
TriggerAll = RoundState = 2
triggerAll = Power >= 1000
TriggerAll = Command = "スターロッド"
Trigger1 = var(7)

;---------------------------------------------------------------------------
;ガードキャンセル
[State -1, Light Kung Fu Palm]
type = ChangeState
value = 1700
TriggerAll = var(59) = 0
TriggerAll = RoundState = 2
triggerall = Power >= 1000
triggerall = Statetype != A
triggerall = stateno >= 150 && stateno <= 153
trigger1 = command = "holdfwd"
Trigger1 = Command = "recovery"
trigger2 = Command = "b"
;---------------------------------------------------------------------------
;バルカンジャブ弱
[State -1,スパーク！]
Type = ChangeState
value = IfElse(var(57)=3,1600,1400)
TriggerAll = var(59) = 0
TriggerAll = var(57) = 3 || var(57) = 5
TriggerAll = RoundState = 2
TriggerAll = Command = "バルカンジャブ弱"
TriggerAll = Command != "holddown"
TriggerAll = StateType != A
Trigger1 = var(7)

;---------------------------------------------------------------------------
;バルカンジャブ中
[State -1,スパークリング！]
Type = ChangeState
value = IfElse(var(57)=3,1600,1410)
TriggerAll = var(59) = 0
TriggerAll = var(57) = 3 || var(57) = 5
TriggerAll = RoundState = 2
TriggerAll = fvar(38) = 0
TriggerAll = Command = "バルカンジャブ中"
TriggerAll = Command != "holddown"
TriggerAll = StateType != A
Trigger1 = var(7)

;---------------------------------------------------------------------------
;バルカンジャブ強
[State -1,スパーキング！]
Type = ChangeState
value = IfElse(var(57)=3,1600,1420)
TriggerAll = var(59) = 0
TriggerAll = var(57) = 3 || var(57) = 5
TriggerAll = RoundState = 2
TriggerAll = Command = "バルカンジャブ強"
TriggerAll = Command != "holddown"
TriggerAll = StateType != A
Trigger1 = var(7)
;---------------------------------------------------------------------------
;ファイナルソード弱
[State -1,トランポリン連撃]
Type = ChangeState
value = 1000
TriggerAll = var(59) = 0
TriggerAll = var(57) = 7
TriggerAll = RoundState = 2
TriggerAll = Command = "ファイナルソード弱"
Trigger1 = var(7)

;---------------------------------------------------------------------------
;ファイナルソード中
[State -1,トランポリン連撃]
Type = ChangeState
value = 1010
TriggerAll = var(59) = 0
TriggerAll = var(57) = 7
TriggerAll = RoundState = 2
TriggerAll = fvar(38) = 0
TriggerAll = Command = "ファイナルソード中"
Trigger1 = var(7)

;---------------------------------------------------------------------------
;ファイナルソード強
[State -1,トランポリン連撃]
Type = ChangeState
value = 1020
TriggerAll = var(59) = 0
TriggerAll = var(57) = 7
TriggerAll = RoundState = 2
TriggerAll = fvar(38) = 0 && Command = "ファイナルソード強"
Trigger1 = var(7)

;---------------------------------------------------------------------------
;ハンマー弱
[State -1,滅殺鬼殺し！]
Type = ChangeState
value = IfElse(StateType!=A,1100,1105)
TriggerAll = var(59) = 0
TriggerAll = var(57) = 4
TriggerAll = RoundState = 2
TriggerAll = Command = "ハンマー弱"
Trigger1 = var(7)

;---------------------------------------------------------------------------
;ハンマー中
[State -1,滅殺鬼殺し！]
Type = ChangeState
value = IfElse(StateType!=A,1110,1115)
TriggerAll = var(59) = 0
TriggerAll = var(57) = 4
TriggerAll = RoundState = 2
TriggerAll = fvar(38) = 0
TriggerAll = Command = "ハンマー中"
Trigger1 = var(7)

;---------------------------------------------------------------------------
;ハンマー強
[State -1,滅殺鬼殺し！]
Type = ChangeState
value = IfElse(StateType!=A,1120,1125)
TriggerAll = var(59) = 0
TriggerAll = var(57) = 4
TriggerAll = fvar(38) = 0
TriggerAll = RoundState = 2
TriggerAll = Command = "ハンマー強"
Trigger1 = var(7)

;---------------------------------------------------------------------------
;ブレイクスピン弱
[State -1,炎をまとって体当たり！止まらない！止まらないったら！]
Type = ChangeState
value = IfElse(var(57)=1,1800,1200)
TriggerAll = var(59) = 0
TriggerAll = RoundState = 2
TriggerAll = StateType != A || var(57) = 1
TriggerAll = Command = "ブレイクスピン弱"
Trigger1 = var(7)

;---------------------------------------------------------------------------
;ブレイクスピン中
[State -1,炎をまとって体当たり！止まらない！止まらないったら！]
Type = ChangeState
value = IfElse(var(57)=1,1810,1210)
TriggerAll = var(59) = 0
TriggerAll = fvar(38) = 0
TriggerAll = RoundState = 2
TriggerAll = StateType != A || var(57) = 1
TriggerAll = Command = "ブレイクスピン中"
Trigger1 = var(7)

;---------------------------------------------------------------------------
;ブレイクスピン強
[State -1,炎をまとって体当たり！止まらない！止まらないったら！]
Type = ChangeState
value = IfElse(var(57)=1,1820,1220)
TriggerAll = var(59) = 0
TriggerAll = RoundState = 2
TriggerAll = StateType != A || var(57) = 1
TriggerAll = Command = "ブレイクスピン強"
Trigger1 = var(7)

;---------------------------------------------------------------------------
;ストーン
[State -1,現在使用不可能]
Type = Null ;ChangeState
value = 1300
TriggerAll = var(59) = 0
TriggerAll = RoundState = 2
TriggerAll = Command = "ストーン"
Trigger1 = Ctrl
Trigger2 = HitDefAttr = SCA,NA

;---------------------------------------------------------------------------
;アイス弱
[State -1,敵を凍らせて相方に渡せ！おぉ、寒ッ]
Type = ChangeState
value = 1500
TriggerAll = var(59) = 0
TriggerAll = var(57) = 2
TriggerAll = RoundState = 2
TriggerAll = Command = "竜巻x"
TriggerAll = StateType != A
Trigger1 = var(7)

;---------------------------------------------------------------------------
;アイス中
[State -1,敵を凍らせて相方に渡せ！おぉ、寒ッ]
Type = ChangeState
value = 1510
TriggerAll = var(59) = 0
TriggerAll = var(57) = 2
TriggerAll = RoundState = 2
TriggerAll = Command = "竜巻y"
TriggerAll = StateType != A
Trigger1 = var(7)

;---------------------------------------------------------------------------
;アイス強
[State -1,敵を凍らせて相方に渡せ！おぉ、寒ッ]
Type = ChangeState
value = 1520
TriggerAll = var(59) = 0
TriggerAll = var(57) = 2
TriggerAll = RoundState = 2
TriggerAll = Command = "竜巻z"
TriggerAll = StateType != A
Trigger1 = var(7)

;---------------------------------------------------------------------------
;手裏剣
[State -1,ｼｭﾘｹﾝ]
Type = ChangeState
value = IfElse(var(57)=6,11000,12000)
TriggerAll = var(59) = 0
TriggerAll = var(57) = [6,7]
TriggerAll = var(57)=6 || ((var(57)=7)&&(StateType!=A))
TriggerAll = RoundState = 2
TriggerAll = Command = "波動"
Trigger1 = var(7)

;---------------------------------------------------------------------------
;エリアルアタック
[State -1, Stand Light Punch]
type = ChangeState
value = 700
TriggerAll = fvar(38) = 0
TriggerAll = var(59) = 0
TriggerAll = RoundState = 2
triggerAll = command = "z"
TriggerAll = Command = "holddown"
TriggerAll = Command = "holdfwd"
triggerAll = statetype != A
trigger1 = ctrl
Trigger2 = (StateNo = [200,210]) || (StateNo = [400,410])
trigger2 = MoveContact

;---------------------------------------------------------------------------
;アッパー
[State -1,アッパー]
type = ChangeState
value = 215
TriggerAll = var(59) = 0
TriggerAll = RoundState = 2
TriggerAll = command = "y"
Triggerall = command = "holdfwd"
Triggerall = command != "holddown"
TriggerAll = statetype != A
Trigger1 = ctrl
Trigger2 = StateNo = 200
Trigger2 = MoveContact
Trigger3 = StateNo = 400
Trigger3 = MoveContact
Trigger4 = StateNo = 210
Trigger4 = MoveContact
Trigger5 = StateNo = 410
Trigger5 = MoveContact

;===========================================================================
;---------------------------------------------------------------------------
;Run Fwd
;ステップ
[State -1, Run Fwd]
type = ChangeState
value = 110
TriggerAll = var(59) = 0
TriggerAll = StateNo != [110,115]
trigger1 = command = "FF" || (Command="holdfwd"&&Command="c")
trigger1 = statetype = S
trigger1 = ctrl
Trigger2 = var(52) = 1
Trigger2 = MoveContact

;---------------------------------------------------------------------------
;Run Back
;後退ステップ
[State -1, Run Back]
type = ChangeState
value = 115
TriggerAll = var(59) = 0
TriggerAll = StateNo != [110,115]
trigger1 = command = "BB" || (Command="holdback"&&Command="c")
trigger1 = statetype = S
trigger1 = ctrl
Trigger2 = var(52) = 1
Trigger2 = MoveContact

;---------------------------------------------------------------------------
;エアダッシュ
[State -1, エアダッシュ]
type = ChangeState
value = 110
TriggerAll = var(59) = 0
triggerall = command = "FF"
triggerall = Statetype = A
TriggerAll = Pos Y <= -42
Triggerall = var(16) < 6
trigger1 = ctrl

;---------------------------------------------------------------------------
;エアバック
[State -1, エアバック]
type = ChangeState
value = 115
TriggerAll = var(59) = 0
triggerall = command = "BB"
triggerall = Statetype = A
TriggerAll = Pos Y <= -42
Triggerall = var(16) < 6
Trigger1 = Ctrl

;---------------------------------------------------------------------------
;Stand Light Punch
;立ち弱
[State -1, Stand Light Punch]
type = ChangeState
value = 200
TriggerAll = fvar(38) = 0
TriggerAll = var(59) = 0
TriggerAll = RoundState = 2
TriggerAll = command = "x"
Triggerall = command != "holddown"
Triggerall = statetype != A
Trigger1 = ctrl
Trigger2 = Stateno = 200
Trigger2 = MoveContact
Trigger3 = StateNo = 200
Trigger3 = AnimElemTime(5) >= 0 

;---------------------------------------------------------------------------
;Stand Strong Punch
;立ち中
[State -1, Stand Strong Punch]
type = ChangeState
value = 210
TriggerAll = fvar(38) = 0
TriggerAll = var(59) = 0
TriggerAll = RoundState = 2
TriggerAll = command = "y"
Triggerall = command != "holddown"
TriggerAll = statetype != A
Trigger1 = ctrl
Trigger2 = StateNo = 200
Trigger2 = MoveContact
Trigger3 = StateNo = 400
Trigger3 = MoveContact

;---------------------------------------------------------------------------
;Stand Light Kick
;立ち強
[State -1, Stand Light Kick]
type = ChangeState
value = IfElse(Command="holdfwd",800+(var(57)=6)*50,IfElse(Command="holdback",900-(var(57)=6)*50,220))
TriggerAll = fvar(38) = 0
TriggerAll = var(59) = 0
TriggerAll = RoundState = 2
TriggerAll = command != "holddown"
TriggerAll = statetype != A
TriggerAll = command = "z"
Trigger1 = ctrl
Trigger2 = StateNo = 200
Trigger2 = MoveContact
Trigger3 = stateno = 210
Trigger3 = MoveContact
Trigger4 = stateno = 400
Trigger4 = Movecontact
Trigger5 = stateno = 410
Trigger5 = Movecontact
Trigger6 = StateNo = 420 || StateNo = 220
Trigger6 = MoveContact
Trigger6 = Command = "holdfwd"

;---------------------------------------------------------------------------
;Taunt
;挑発
[State -1, Taunt]
type = ChangeState
value = 195
TriggerAll = var(59) = 0
TriggerAll = RoundState = 2
triggerall = command = "start"
trigger1 = statetype != A
trigger1 = ctrl

;---------------------------------------------------------------------------
;Crouching Light Kick
;屈み弱
[State -1, Crouching Light Kick]
type = ChangeState
value = 400
TriggerAll = fvar(38) = 0
TriggerAll = var(59) = 0
TriggerAll = RoundState = 2
TriggerAll = command = "x"
Triggerall = command = "holddown"
Triggerall = statetype != A
Trigger1 = ctrl
Trigger2 = stateno = 400
Trigger2 = Movecontact
Trigger3 = Stateno = 200
Trigger3 = MoveContact
Trigger4 = StateNo = 400
Trigger4 = AnimElemTime(5) >= 0

;---------------------------------------------------------------------------
;Standing Strong Kick
;屈み中
[State -1, Standing Strong Kick]
type = ChangeState
value = 410
TriggerAll = fvar(38) = 0
TriggerAll = var(59) = 0
TriggerAll = RoundState = 2
TriggerAll = command = "y"
Triggerall = command = "holddown"
TriggerAll = statetype != A
Trigger1 = ctrl
Trigger2 = stateno = 200
Trigger2 = MoveContact
Trigger3 = Stateno = 210
Trigger3 = Movecontact
Trigger4 = StateNo = 400
Trigger4 = MoveContact

;---------------------------------------------------------------------------
;Crouching Strong Kick
;屈み強
[State -1, Crouching Strong Kick]
type = ChangeState
value = 420
TriggerAll = fvar(38) = 0
TriggerAll = var(59) = 0
TriggerAll = RoundState = 2
TriggerAll = command = "z"
Triggerall = command = "holddown"
TriggerAll = statetype != A
Trigger1 = ctrl
Trigger2 = stateno = 200
Trigger2 = MoveContact
Trigger3 = stateno = 210
Trigger3 = MoveContact
Trigger4 = stateno = 400
Trigger4 = MoveContact
Trigger5 = stateno = 410
Trigger5 = MoveContact

;---------------------------------------------------------------------------
;スパイラルキック
[State -1, Jump Light Kick]
type = ChangeState
value = 640
TriggerAll = fvar(38) = 0
TriggerAll = var(59) = 0
TriggerAll = RoundState = 2
triggerAll = statetype = A
TriggerAll = Command = "スパイラルキック"
trigger1 = var(7)

;---------------------------------------------------------------------------
;Jump Light Punch
;空中弱
[State -1, Jump Light Punch]
type = ChangeState
value = 600
TriggerAll = fvar(38) = 0
TriggerAll = var(59) = 0
TriggerAll = RoundState = 2
triggerall = statetype = A
triggerAll = command = "x"
trigger1 = ctrl
Trigger1 = var(20) = 0
Trigger2 = StateNo = 600
Trigger2 = MoveContact
Trigger2 = PrevStateNo != 600

;---------------------------------------------------------------------------
;Jump Light Kick
;空中中
[State -1, Jump Light Kick]
type = ChangeState
value = 610
TriggerAll = fvar(38) = 0
TriggerAll = var(59) = 0
TriggerAll = RoundState = 2
triggerAll = statetype = A
triggerAll = command = "y"
trigger1 = ctrl || StateNo = 45
trigger2 = stateno = 610
trigger2 = MoveContact
Trigger2 = PrevStateNo != 610
trigger3 = stateno = 600
trigger3 = MoveContact
trigger4 = stateno = 601
trigger4 = MoveContact
;---------------------------------------------------------------------------
;Jump Strong Punch
;空中強
[State -1, Jump Strong Punch]
type = ChangeState
value = IfElse((Command="holdfwd")||(Command="holdback"),850,620)
TriggerAll = fvar(38) = 0
TriggerAll = var(59) = 0
TriggerAll = RoundState = 2
triggerAll = statetype = A
triggerAll = command = "z"
trigger1 = ctrl
trigger2 = stateno = 610
trigger2 = MoveContact
trigger3 = StateNo = 600
trigger3 = MoveContact
trigger4 = stateno = 601
trigger4 = MoveContact
trigger5 = stateno = 650
trigger5 = MoveContact
trigger6 = stateno = 215
trigger6 = MoveContact

;---------------------------------------------------------------------------
;Taunt
;挑発
[State -1, Taunt]
type = ChangeState
value = 195
TriggerAll = var(59) = 0
TriggerAll = RoundState = 2
triggerall = command = "start"
trigger1 = statetype != A
trigger1 = ctrl

;---------------------------------------------------------------------------
[State -1, Var]
type = Varset
trigger1 = StateNo = 45
var(20) = 0

[State -1, Var]
type = Varset
trigger1 = StateNo = 45
var(21) = 0
