; サンプルキャラクター『カンフーマン』のコマンドファイルです。
; コマンドに関する設定は４部構成になっています。

;------------------------------------------------------------------------------
;-| ボタンリマップ（ボタンコンフィグ）|---------------------------------------- 第１部

[Remap]
x = x      ;Ｘボタンの入力判定を実際に押すボタンに割り当てる。
y = y      ;Ｙボタン　　　　　　　　　〃
z = z      ;Ｚボタン　　　　　　　　　〃
a = a      ;Ａボタン　　　　　　　　　〃
b = b      ;Ｂボタン　　　　　　　　　〃
c = c      ;Ｃボタン　　　　　　　　　〃
s = s      ;スタートボタン　　　　　　〃


;------------------------------------------------------------------------------
;-| デフォルト設定 |----------------------------------------------------------- 第２部

[Defaults]
command.time = 15  ;標準のコマンド入力受付時間。
                   ;各コマンドで省略している場合に有効。
                   ;このパラメータを消した場合、デフォルトは１フレームになる。
                   ;（　M.U.G.E.Nでの１フレーム　＝　１／６０秒　）

command.buffer.time = 1  ;標準のコマンド入力記憶時間。
                         ;入力した直後にコマンドを記憶し、
                         ;指を離してもコマンドが成功している状態を
                         ;ここで設定した時間の分維持する。
                         ;１〜３０フレームまでの間で設定可能。
                         ;デフォルトは１フレーム。

;============================================================================== 第３部
; コマンド定義パート（入力キーを設定する）
;==============================================================================
;------------------------------------------------------------------------------
; ここがキーとボタンの組み合わせで格闘ゲームにおける
;『入力コマンド』を直接設定・編集するパート。
;
; 一つずつコマンドに名前を付けて入力キーを組み合わせる単純な作業になるけど、
; 組み合わせが独特だから覚えるのは難易度が少し高い。
;
; 下記で「書式の決まり」と「組み合わせに必要なアルファベットと記号」を
; 全て説明しましょう。
;------------------------------------------------------------------------------
;■書式の決まり■
;
; [Command]         ：入力コマンドを１個定義する。
; name = "***"      ：コマンド名を決める。大文字と小文字も区別される。
; command = ###     ：実際に入力するキーを組み合わせる。詳細は後述。
; time = &&&        ：入力受付時間を設定（オプション）。
; buffer.time = @@@ ：入力記憶時間を設定（オプション）。
;
; 小ネタでも説明している通り、登録が可能な数は最大『１２８個』まで。
;
;
;※『必須コマンド名』と書いてるコマンドは、システム側で処理してます。
;　コマンド名を変えたり、消してはいけません。キーの変更は出来ます。
;------------------------------------------------------------------------------
;■必要なアルファベットと記号■
;
; 上記の「command = ###」の『###』に該当する部分で、
; 組み合わせるキーとボタンを設定しなければならない。
;
; ※設定したキーやボタンはM.U.G.E.Nのオプションモードにある
;  「キーコンフィグ」にて設定したキーなどに対応しています。
;
; ★方向キー★（全て必ず大文字で）
;
; 　B 　：「後方」にキーを入れる（ Backward ）
; 　D 　：「下方」にキーを入れる（ Downward ）
; 　F 　：「前方」にキーを入れる（ Forward ）
; 　U 　：「上方」にキーを入れる（ Upward ）
;
; 　DB　：「後ろ斜め下」にキーを入れる（「D」と「B」が同時に入力された事を認識）
; 　UB　：「後ろ斜め上」にキーを入れる（「U」と「B」が同時に入力された事を認識）
; 　DF　：「前斜め下」にキーを入れる（「D」と「F」が同時に入力された事を認識）
; 　UF　：「前斜め上」にキーを入れる（「U」と「F」が同時に入力された事を認識）
;
; ★ボタン★（全て必ず小文字で）
;
; 　a 　：「Ａボタン」を押す
; 　b 　：「Ｂボタン」を押す
; 　c 　：「Ｃボタン」を押す
; 　x 　：「Ｘボタン」を押す
; 　y 　：「Ｙボタン」を押す
; 　z 　：「Ｚボタン」を押す
; 　s 　：「スタートボタン」を押す
;
; ★記号★（入力効果を変化させる命令）
;
; 　/ 　：（スラッシュ）キーやボタンを「押しっぱなし」にしている事を認識する場合に追加する
;
; 　　（例）：　/b       = Ｂボタンを押したままにする
; 　　　　　　　/F       = 前キーを押したままにする
; 　　　　　　　/U,z     = 上キーを押したままＺボタンを入力する
;
;　　━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
;
; 　~ 　：（チルダ）キーやボタンが「離された時」を認識する場合に追加する
;
; 　　（例）：　~x       = Ｘボタンを離す
; 　　　　　　　~DF      =「前斜め下」のキーを離す
; 　　　　　　　~DB,F,c  =「後ろ斜め下」を離した後に前キー・Ｃボタンの順番に入力する
;
; 　　　　　　※「ボタンを離すまでの時間（溜め時間）」も設定する事が出来る
;
; 　　　　　　　~30x     = Ｘボタンを押したままにして、３０フレーム以上経ったら離す
; 　　　　　　　~50B,F,a = 後ろキーを５０フレームまで溜めて前キー・Ａボタンの順番に入力する
;
;　　━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
;
; 　$ 　：（ドル）方向キーの「複数の内どれかが入力されている事」を認識する場合に追加する
;
; 　　（例）：　$B       =「後方」「後ろ斜め下」「後ろ斜め上」のどれかが入力されている状態
; 　　　　　　　$UF      =「前」「上」「前斜め上」のどれかが入力されている状態
;
; 　　　　　　※この記号は「方向キー」でしか使えません。
;
;　　━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
;
; 　+ 　：（プラス）ボタンを「同時押し」している事を認識する場合に追加する
;
; 　　（例）：　x+y      = ＸボタンとＹボタンを同時押しする
; 　　　　　　　a+b+c    = ＡボタンとＢボタンとＣボタンを同時押しする
;
; 　　　　　　※この記号は「ボタン」でしか使えません。
;
;　　━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
;
; 　> 　：（グレーターザン）大なり（Win版で追加された記号）
; 　　　　　　　　　　　　「他のキーが入力されていない事を確認して、そのキーを押す」場合
;
; 　　（例）：　a,>~a    = Ａボタン以外が入力されていない状態でＡボタンを離す
; 　　　　　　　F,>~F,>F = 前キー以外が入力されていない状態で前キーを離し、
;　　　　　　　　　　　　　もう一度前キーを入力する
;
;-------------------------------------------------------------------------------
; ●これらの記号は全て組み合わせて使う事が出来る●
;
; 　　（例）：　~80$DB,DF,F,/a+y+c
; 　　　　　　　
; 　　　　　　「後方」「下」「後ろ斜め下」のどれかを８０フレームまで溜めて
; 　　　　　　「前斜め下」→「前」を入力した後、ＡとＹとＣを同時押ししたままにする
;
;------------------------------------------------------------------------------
;-| 超必殺技 |-----------------------------------------------------------------

;※名前が同じならば、違うコマンドでも同じステートの技を出す事が可能。

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

[Command]
name = "blade2"
command = /c,y

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

[Command]
name = "finger2"
command = /D,y
time = 30

[Command]
name = "shoot"
command = ~D, DB, B, D, DB, B, y
time = 30

[Command]
name = "shoot2"
command = /U,y
time = 30

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

[Command]
name = "beam2"
command = /F,y
time = 30

[Command]
name = "canbeam"
command = /c+F,y
time = 30

[Command]
name = "nagaoshi"
command = /y

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


;------------------------------------------------------------------------------
;-| 必殺技 |-------------------------------------------------------------------

[Command]
name = "rush1"
command = ~D, DF, F, a

[Command]
name = "bluerush"
command = /c,a

[Command]
name = "bluerushup"
command = /U,/c,a

[Command]
name = "bluerushdown"
command = /D,/c,a

[Command]
name = "rushcharge"
command = /a

[Command]
name = "rushup"
command = /U,a

[Command]
name = "rushdown"
command = /D,a

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

[Command]
name = "heel"
command = ~D, DF, F, b

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

[Command]
name = "assist2"
command = /z,y

[Command]
name = "assist1"
command = /z,a

[Command]
name = "assistNG"
command = /z



;------------------------------------------------------------------------------
;-| キー２回連続入力 |---------------------------------------------------------

[Command]
name = "FF"       ;必須コマンド名
command = F, F
time = 10

[Command]
name = "BB"       ;必須コマンド名
command = B, B
time = 10

;------------------------------------------------------------------------------
;-| 同時押し |-----------------------------------------------------------------

[Command]
name = "recovery" ;必須コマンド名
command = x+y
time = 1

;---------------------------------------------------------------------------
;-| EXはじき |------------------------------------------------------

[Command]
name = "EX"
command = /c,y
time = 15

;------------------------------------------------------------------------------
;-| 方向キー＋ボタン |---------------------------------------------------------

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

[Command]
name = "down_a"
command = /$D,a
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 = "left"
command = B
time = 1

[Command]
name = "right"
command = F
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 = "airjumpfwd"
command = UF
time = 1

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

[Command]
name = "airjumpback"
command = UB
time = 1

[Command]
name = "aircombofwd"
command = /UF
time = 1

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

[Command]
name = "aircomboback"
command = /UB
time = 1


[Statedef -1] ;←この行は絶対に消さないでね。必須項目です。

;==============================================================================
; 超必殺技
;==============================================================================
;------------------------------------------------------------------------------


[State -1, 真・ジェクトシュート];ゲージレベル３
type = ChangeState
value = 3200
triggerall = power >= 3000
trigger1 = command = "shoot"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = Var(45) != 1
trigger2 = command = "shoot2"
trigger2 = stateno = 1400
trigger2 = time = [63,68]
trigger2 = var(12) = 3
trigger2 = Var(13) = 0;ジャスト押し
trigger2 = Var(6) <= 3
trigger3 = Var(45) = 1;フルコンボ
trigger3 = command = "shoot2"
trigger3 = stateno = 1400
trigger3 = time = [63,68]
trigger3 = Var(13) = 0;ジャスト押し
trigger3 = Var(6) <= 3

[State -1, ジェクトビーム地上];ゲージレベル２
type = ChangeState
value = 3300
triggerall = power >= 2000
trigger1 = command = "beam"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = command = "beam"
trigger2 = (stateno = 210) && time > 17
trigger2 = movehit
trigger3 = command = "canbeam"
trigger3 = (stateno = 210) && time > 17
trigger3 = movehit


[State -1, ジェクトビーム空中];ゲージレベル２
type = ChangeState
value = 3310
triggerall = power >= 2000
trigger1 = command = "beam"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = Var(45) != 1
trigger2 = command = "beam2"
trigger2 = stateno = 1300
trigger2 = time = [39,45]
trigger2 = movehit
trigger2 = Var(13) = 0;ジャスト押し
trigger2 = Var(6) <= 3
trigger3 = Var(45) = 1;フルコンボ
trigger3 = command = "beam2"
trigger3 = stateno = 1300
trigger3 = time = [39,45]
trigger3 = Var(13) = 0;ジャスト押し
trigger3 = Var(6) <= 3
trigger4 = command = "canbeam"|| command = "beam"
trigger4 = stateno = 640
trigger4 = movehit
trigger5 = command = "beam"
trigger5 = statetype = A
trigger5 = (stateno = 105) && AnimElemtime(2) >= 0

[State -1, ジェクトサイクロン];ゲージレベル１
type = ChangeState
value = 3500
triggerall = power >= 1000
triggerall = command = "cyclone"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 235
trigger2 = movecontact

[State -1, ジェクトスマッシュ];ゲージレベル１
type = ChangeState
value = 3400
triggerall = power >= 1000
trigger1 = command = "finger"
trigger1 = statetype != A
trigger1 = ctrl

[State -1, ジェクトフィンガー];ゲージレベル１
type = ChangeState
value = 3100
triggerall = power >= 1000
trigger1 = command = "finger"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = Var(45) != 1
trigger2 = command = "finger2"
trigger2 = stateno = 1700
trigger2 = time = [34,39]
trigger2 = movehit
trigger2 = Var(13) = 0;ジャスト押し
trigger2 = Var(6) <= 3
trigger3 = Var(45) = 1;フルコンボ
trigger3 = command = "finger2"
trigger3 = stateno = 1700
trigger3 = time = [34,39]
trigger3 = Var(13) = 0;ジャスト押し
trigger3 = Var(6) <= 3
trigger4 = statetype = A
trigger4 = command = "finger"
trigger4 = (stateno = 105) && AnimElemtime(2) >= 0

[State -1, ジェクトブレイド];ゲージレベル１
type = ChangeState
value = 3000
triggerall = power >= 1000
trigger1 = statetype = A
trigger1 = command = "blade1"
trigger1 = ctrl
trigger2 = statetype = S
trigger2 = command = "blade1"
trigger2 = ctrl
trigger3 = Var(45) != 1
trigger3 = command = "y"
trigger3 = stateno = 1300
trigger3 = time = [39,45]
trigger3 = movehit
trigger3 = Var(13) = 0;ジャスト押し
trigger3 = Var(6) <= 3
trigger4 = Var(45) = 1;フルコンボ
trigger4 = command = "y"
trigger4 = stateno = 1300
trigger4 = time = [39,45]
trigger4 = Var(13) = 0;ジャスト押し
trigger4 = Var(6) <= 3
trigger5 = statetype = A
trigger5 = command = "blade1"
trigger5 = (stateno = 105) && AnimElemtime(2) >= 0


;==============================================================================
; 必殺技
;==============================================================================
;------------------------------------------------------------------------------
; 変数の使い方の例。
;
; カンフーマンの「地上で必殺技が出せる状況」や、
; 通常技から必殺技へ繋ぐ時の「キャンセル」の部分を設定している。
; 地上で成功すれば、『変数の例２』のステートコントローラで設定した
; 変数が実行され、それ以外なら『変数の例１』でリセットする、という処理。
;
; 個人的にはこの方法はオススメしない。kfmcでの方法を推薦します。

[State -1, 変数の例１];必殺技の発生条件リセット
type = VarSet
trigger1 = 1
var(1) = 0 ;変数用パラメータの記述方法その１（その２は「板投げ」のステートにて）

[State -1, 変数の例２];必殺技の発生条件をチェック
type = VarSet
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = stateno != 440 ;[Statedef 440]（足払いのステート）ではない時
trigger2 = movecontact
var(1) = 1

;------------------------------------------------------------------------------
;------------------------------------------------------------------------------
[State -1, ジェクトブロック]
type = ChangeState
value = 1800
triggerall = command = "block"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 1801
trigger2 = AnimElemTime(5) = 6
trigger3 = stateno = 1802
trigger3 = AnimElemTime(5) = 10

[State -1, ジェクトインパクト]
type = ChangeState
value = 2200
triggerall = command = "impact"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600
trigger2 = movecontact
trigger3 = stateno = 630
trigger3 = movecontact

[State -1, ジェクトヒール]
type = ChangeState
value = 1900
triggerall = command = "heel"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = (stateno = 440)
trigger2 = movecontact
trigger3 = stateno = 810
trigger3 = AnimElemtime(8) >= 10

[State -1, 青派生ジェクトストリーム大]
type = ChangeState
value = 1750
trigger1 = command = "bluerushdown"
trigger1 = power >= 1000
trigger1 = stateno = 630
trigger1 = movehit

[State -1, ジェクトストリーム大]
type = ChangeState
value = 1700
triggerall = Var(45) != 1
triggerall = Var(6) <= 2
trigger1 = command = "rushdown"
trigger1 = stateno = 1610
trigger1 = time = [10,13]
trigger1 = var(12) = 2
trigger1 = Var(13) = 0;ジャスト押し
trigger2 = command = "rushdown"
trigger2 = stateno = 1200
trigger2 = time = [35,38]
trigger2 = movehit
trigger2 = Var(13) = 0;ジャスト押し

[State -1, ジェクトストリーム大];フルコンボ発動時
type = ChangeState
value = 1700
triggerall = Var(45) = 1
triggerall = Var(6) <= 2
trigger1 = command = "rushdown"
trigger1 = stateno = 1610
trigger1 = time = [10,13]
trigger1 = Var(13) = 0;ジャスト押し
trigger2 = command = "rushdown"
trigger2 = stateno = 1200
trigger2 = time = [35,38]
trigger2 = Var(13) = 0;ジャスト押し

[State -1, ジェクトラッシュ大B]
type = ChangeState
value = 1400
triggerall = Var(45) != 1
triggerall = Var(6) <= 2
trigger1 = command = "rushup"
trigger1 = stateno = 1100
trigger1 = time = [34,37]
trigger1 = var(12) = 1
trigger1 = Var(13) = 0;ジャスト押し


[State -1, ジェクトラッシュ大B];フルコンボ発動時
type = ChangeState
value = 1400
triggerall = Var(45) = 1
triggerall = Var(6) <= 2
trigger1 = command = "rushup"
trigger1 = stateno = 1100
trigger1 = time = [34,37]
trigger1 = Var(13) = 0;ジャスト押し

[State -1, ジェクトラッシュ中B]
type = ChangeState
value = 1200
triggerall = Var(45) != 1
triggerall = Var(6) <= 2
triggerall = command = "rushup"
trigger1 = stateno = 1010
trigger1 = time = [24,27]
trigger1 = movehit
trigger1 = Var(13) = 0;ジャスト押し
trigger2 = stateno = 1110
trigger2 = time = [0,3]
trigger2 = var(12) = 1
trigger3 = stateno = 1020
trigger3 = time = [24,27]
trigger3 = movehit
trigger3 = Var(13) = 0;ジャスト押し
trigger4 = command = "bluerushup"
trigger4 = power >= 500
trigger4 = stateno = 235
trigger4 = movehit
trigger5 = stateno = 1100
trigger5 = time = [38,39]
trigger5 = var(12) = 1

[State -1, ジェクトラッシュ中B];フルコンボ発動時
type = ChangeState
value = 1200
triggerall = Var(45) = 1
triggerall = Var(6) <= 2
triggerall = command = "rushup"
trigger1 = stateno = 1010
trigger1 = time = [24,27]
trigger1 = Var(13) = 0;ジャスト押し
trigger2 = stateno = 1110
trigger2 = time = [0,3]
trigger3 = stateno = 1020
trigger3 = time = [24,27]
trigger3 = Var(13) = 0;ジャスト押し
trigger4 = command = "bluerushup"
trigger4 = power >= 500
trigger4 = stateno = 235
trigger4 = movehit
trigger5 = stateno = 1100
trigger5 = time = [38,39]

[State -1, ジェクトラッシュ大A]
type = ChangeState
value = 1300
triggerall = Var(45) != 1
triggerall = Var(6) <= 2
trigger1 = command = "a"
trigger1 = stateno = 1100
trigger1 = time = [34,37]
trigger1 = var(12) = 1
trigger1 = Var(13) = 0;ジャスト押し
trigger2 = command = "a"
trigger2 = stateno = 1610
trigger2 = time = [10,13]
trigger2 = var(12) = 2
trigger2 = Var(13) = 0;ジャスト押し
trigger3 = command = "a"
trigger3 = stateno = 1200
trigger3 = time = [35,38]
trigger3 = movehit
trigger3 = Var(13) = 0;ジャスト押し
trigger4 = command = "bluerush"
trigger4 = power >= 1000
trigger4 = stateno = 610
trigger4 = movehit

[State -1, ジェクトラッシュ大A];フルコンボ発動時
type = ChangeState
value = 1300
triggerall = Var(45) = 1
triggerall = Var(6) <= 2
trigger1 = command = "a"
trigger1 = stateno = 1100
trigger1 = time = [34,37]
trigger1 = Var(13) = 0;ジャスト押し
trigger2 = command = "a"
trigger2 = stateno = 1610
trigger2 = time = [10,13]
trigger2 = Var(13) = 0;ジャスト押し
trigger3 = command = "a"
trigger3 = stateno = 1200
trigger3 = time = [35,38]
trigger3 = Var(13) = 0;ジャスト押し
trigger4 = command = "bluerush"
trigger4 = power >= 1000
trigger4 = stateno = 610
trigger4 = movehit

[State -1, ジェクトラッシュ中A]
type = ChangeState
value = 1100
triggerall = Var(45) != 1
triggerall = Var(6) <= 2
trigger1 = command = "a"
trigger1 = stateno = 1010
trigger1 = time = [24,27]
trigger1 = movehit
trigger1 = Var(13) = 0;ジャスト押し
trigger2 = command = "a"
trigger2 = stateno = 1020
trigger2 = time = [24,27]
trigger2 = movehit
trigger2 = Var(13) = 0;ジャスト押し
trigger3 = command = "a"
trigger3 = stateno = 1110
trigger3 = time = [0,3]
trigger3 = var(12) = 1
trigger4 = command = "bluerush"
trigger4 = power >= 500
trigger4 = (stateno = 240) && AnimElemTime (6) >= 0
trigger4 = movehit
trigger5 = command = "a"
trigger5 = stateno = 1110
trigger5 = time = [0,3]
trigger5 = Var(13) != 0;ジャスト押し失敗
trigger5 = movehit
trigger6 = command = "a"
trigger6 = stateno = 1100
trigger6 = time = [38,39]
trigger6 = var(12) = 1

[State -1, ジェクトラッシュ中A];フルコンボ発動時
type = ChangeState
value = 1100
triggerall = Var(45) = 1
triggerall = Var(6) <= 2
trigger1 = command = "a"
trigger1 = stateno = 1010
trigger1 = time = [24,27]
trigger1 = Var(13) = 0;ジャスト押し
trigger2 = command = "a"
trigger2 = stateno = 1020
trigger2 = time = [24,27]
trigger2 = Var(13) = 0;ジャスト押し
trigger3 = command = "a"
trigger3 = stateno = 1110
trigger3 = time = [0,3]
trigger4 = command = "bluerush"
trigger4 = power >= 500
trigger4 = (stateno = 240) && AnimElemTime (6) >= 0
trigger4 = movehit
trigger5 = command = "a"
trigger5 = stateno = 1110
trigger5 = time = [0,3]
trigger5 = Var(13) != 0;ジャスト押し失敗
trigger6 = command = "a"
trigger6 = stateno = 1100
trigger6 = time = [38,39]


[State -1, ジェクトストリーム中]
type = ChangeState
value = 1600
triggerall = Var(45) != 1
triggerall = Var(6) <= 2
triggerall = command = "a"
trigger1 = stateno = 1510
trigger1 = time = [30,33]
trigger1 = movehit
trigger1 = Var(13) = 0;ジャスト押し
trigger2 = stateno = 1610
trigger2 = time = [6,9]
trigger2 = var(12) = 2
trigger3 = stateno = 1610
trigger3 = time = [14,17]
trigger3 = var(12) = 2
trigger4 = stateno = 1200
trigger4 = time = [31,34]
trigger4 = movehit
trigger5 = stateno = 1200
trigger5 = time = [39,42]
trigger5 = movehit
trigger6 = stateno = 1610
trigger6 = time = [10,13]
trigger6 = var(12) = 2
trigger6 = Var(13) != 0;ジャスト押し失敗
trigger7 = stateno = 1200
trigger7 = time = [35,38]
trigger7 = var(12) = 2
trigger7 = Var(13) != 0;ジャスト押し失敗

[State -1, ジェクトストリーム中];フルコンボ発動時
type = ChangeState
value = 1600
triggerall = Var(45) = 1
triggerall = Var(6) <= 2
triggerall = command = "a"
trigger1 = stateno = 1510
trigger1 = time = [30,33]
trigger1 = Var(13) = 0;ジャスト押し
trigger2 = stateno = 1610
trigger2 = time = [6,9]
trigger3 = stateno = 1610
trigger3 = time = [14,17]
trigger4 = stateno = 1200
trigger4 = time = [31,34]
trigger5 = stateno = 1200
trigger5 = time = [39,42]
trigger6 = stateno = 1610
trigger6 = time = [10,13]
trigger6 = Var(13) != 0;ジャスト押し失敗
trigger7 = stateno = 1200
trigger7 = time = [35,38]
trigger7 = Var(13) != 0;ジャスト押し失敗

[State -1, ジェクトラッシュ溜め]
type = ChangeState
value = 1000
trigger1 = Var(11) = 0
trigger1 = command = "rush1"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = Palno = 12
trigger2 = command = "rush1"
trigger2 = statetype = S
trigger2 = ctrl
trigger3 = command = "rush1"
trigger3 = statetype = S
trigger3 = stateno = 3404
trigger3 = time >= 46



[State -1, ジェクトストリーム溜め]
type = ChangeState
value = 1500
trigger1 = Var(11) = 0
trigger1 = command = "rush1"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = Palno = 12
trigger2 = command = "rush1"
trigger2 = statetype = A
trigger2 = ctrl
trigger3 = Var(11) = 0
trigger3 = command = "rush1"
trigger3 = statetype = A
trigger3 = (stateno = 105) && AnimElemtime(2) >= 0


[State -1, ジェクトラッシュ弱A]
type = ChangeState
value = 1010
triggerall = command = "a"
triggerall = Var(6) <= 2
trigger1 = stateno = 1020
trigger1 = time = [20,23]
trigger2 = stateno = 1020
trigger2 = time = [28,31]
trigger3 = stateno = 1020
trigger3 = time = [24,27]
trigger3 = movehit = 0
trigger4 = stateno = 1020
trigger4 = time = [24,27]
trigger4 = Var(13) != 0;ジャスト押し失敗


[State -1, ジェクトラッシュ弱B]
type = ChangeState
value = 1020
triggerall = command = "a"
triggerall = stateno = 1010
triggerall = Var(6) <= 2
trigger1 = time = [20,23]
trigger2 = time = [28,31]
trigger3 = time = [24,27]
trigger3 = movehit = 0
trigger4 = time = [24,27]
trigger4 = Var(13) != 0;ジャスト押し失敗


[State -1, ジェクトストリーム弱]
type = ChangeState
value = 1510
triggerall = Var(6) <= 2
triggerall = command = "a"
triggerall = stateno = 1510
trigger1 = time = [26,29]
trigger2 = time = [34,38]
trigger3 = time = [30,33]
trigger3 = movehit = 0
trigger4 = time = [30,33]
trigger4 = Var(13) != 0;ジャスト押し失敗


;==============================================================================
; 移動関連
;==============================================================================
;------------------------------------------------------------------------------

[State -1, 走る]
type = ChangeState
value = 100
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl

[State -1, バックステップ]
type = ChangeState
value = 105
triggerall = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 1010
trigger2 = (AnimElemTime (15) >= 0) && (AnimElemTime (19) < 0)
trigger2 = Movehit = 0
trigger3 = stateno = 1020
trigger3 = (AnimElemTime (17) >= 0) && (AnimElemTime (19) < 0)
trigger3 = Movehit = 0
trigger4 = (stateno = 1802) && AnimElemtime(6) >= 0
trigger5 = (stateno = 1901) && AnimElemtime(4) >= 0
trigger5 = Movehit = 0

;空中前ジャンプ
[State -1, ]
type = ChangeState
value = 510
triggerall = command = "airjumpfwd"
triggerall = ctrl
triggerall = Pos Y <= -20
triggerall = Vel Y >= -5
triggerall = statetype = A
trigger1 = var(8) <= 0

;空中垂直ジャンプ
[State -1, ]
type = ChangeState
value = 515
triggerall = command = "airjump"
triggerall = ctrl
triggerall = Pos Y <= -20
triggerall = Vel Y >= -5
triggerall = statetype = A
trigger1 = var(8) <= 0

;空中後ろジャンプ
[State -1, ]
type = ChangeState
value = 520
triggerall = command = "airjumpback"
triggerall = ctrl
triggerall = Pos Y <= -20
triggerall = Vel Y >= -5
triggerall = statetype = A
trigger1 = var(8) <= 0


;エアダッシュ
[State -1, Dash]
type = ChangeState
value = 110
triggerall = Palno != 12
triggerall = var(8) = 0
triggerall = statetype = A
triggerall = command = "FF"
trigger1 = ctrl && (stateno != [510,520]) || (stateno = [510,520]) && (time >= 10)
trigger1 = Pos Y <= -10 && Vel Y <= 0
trigger2 = ctrl && (stateno != [510,520]) || (stateno = [510,520]) && (time >= 10)
trigger2 = Pos Y <= -10 && Vel Y >= 0
trigger3 = (stateno = 105) && AnimElemtime(2) >= 0
trigger4 = stateno = 1510
trigger4 = (AnimElemTime (14) >= 0) && (AnimElemTime (18) < 0)
trigger4 = Movehit = 0

;エアダッシュ金
[State -1, Dash]
type = ChangeState
value = 110
triggerall = Palno = 12
triggerall = statetype = A
triggerall = command = "FF"
trigger1 = ctrl && (stateno != [510,520]) || (stateno = [510,520]) && (time >= 10)
trigger1 = Pos Y <= -10 && Vel Y <= 0
trigger2 = ctrl && (stateno != [510,520]) || (stateno = [510,520]) && (time >= 10)
trigger2 = Pos Y <= -10 && Vel Y >= 0
trigger3 = (stateno = 105) && AnimElemtime(2) >= 0
trigger4 = stateno = 1510
trigger4 = (AnimElemTime (14) >= 0) && (AnimElemTime (18) < 0)
trigger4 = Movehit = 0

;エアダッシュR
[State -1, Dash]
type = ChangeState
value = 111
triggerall = Palno != 12
triggerall = var(8) = 0
triggerall = statetype = A
triggerall = command = "BB"
trigger1 = ctrl && (stateno != [510,520]) || (stateno = [510,520]) && (time >= 10)
trigger1 = Pos Y <= -10 && Vel Y <= 0
trigger2 = ctrl && (stateno != [510,520]) || (stateno = [510,520]) && (time >= 10)
trigger2 = Pos Y <= -10 && Vel Y >= 0
trigger3 = (stateno = 105) && AnimElemtime(2) >= 0
trigger4 = stateno = 1510
trigger4 = (AnimElemTime (14) >= 0) && (AnimElemTime (18) < 0)
trigger4 = Movehit = 0

;エアダッシュR金
[State -1, Dash]
type = ChangeState
value = 111
triggerall = Palno = 12
triggerall = statetype = A
triggerall = command = "BB"
trigger1 = ctrl && (stateno != [510,520]) || (stateno = [510,520]) && (time >= 10)
trigger1 = Pos Y <= -10 && Vel Y <= 0
trigger2 = ctrl && (stateno != [510,520]) || (stateno = [510,520]) && (time >= 10)
trigger2 = Pos Y <= -10 && Vel Y >= 0
trigger3 = (stateno = 105) && AnimElemtime(2) >= 0
trigger4 = stateno = 1510
trigger4 = (AnimElemTime (14) >= 0) && (AnimElemTime (18) < 0)
trigger4 = Movehit = 0

;追撃ダッシュ
[State -1, Dash]
type = ChangeState
value = 114
triggerall = command = "b"
triggerall = power >= 500
triggerall = NumHelper(8110) = 1
trigger1 = time >= 45
trigger1 = stateno = 1110
trigger1 = movehit

;追撃ダッシュ2
[State -1, Dash]
type = ChangeState
value = 116
triggerall = command = "b"
triggerall = power >= 500
trigger1 = time >= 54
trigger1 = stateno = 1610
trigger1 = movehit

;追撃ダッシュ3
[State -1, Dash]
type = ChangeState
value = 117
triggerall = command = "b"
triggerall = power >= 500
triggerall = NumHelper(8110) = 1
trigger1 = time >= 70
trigger1 = stateno = 1200
trigger2 = var(12) = 4

;==============================================================================
; 特殊技
;==============================================================================
;------------------------------------------------------------------------------

[State -1,投げ]
type = ChangeState
value = 800
triggerall = command = "b"
triggerall = statetype = S
triggerall = ctrl
triggerall = stateno != 100
trigger1 = command = "holdfwd"
trigger1 = p2bodydist X < 10
trigger1 = (p2statetype = S) || (p2statetype = C)
trigger1 = p2movetype != H
trigger2 = command = "holdback"
trigger2 = p2bodydist X < 10
trigger2 = (p2statetype = S) || (p2statetype = C)
trigger2 = p2movetype != H

[State -3];アシストチェンジ2(喰らい抜け)
type = ChangeState
value = 4101
triggerall = statetype != L
triggerall = time >= 1
trigger1 = var(50) >= 1000;アシストゲージ2本使用
trigger1 = command = "assist2"
trigger1 = Numhelper(4000) = 0
trigger1 = RoundState = 2
trigger1 = movetype = H
trigger1 = var(40) != 1
trigger1 = Var(23) != 1

[State -3];アシストチェンジ(喰らい抜け)
type = ChangeState
value = 4100
triggerall = statetype != L
triggerall = time >= 1
trigger1 = var(50) >= 500;アシストゲージ1本使用
trigger1 = command = "assist1"
trigger1 = Numhelper(4000) = 0
trigger1 = RoundState = 2
trigger1 = movetype = H
trigger1 = var(40) != 1
trigger1 = Var(23) != 1

;------------------------------------------------------------------------------
[State -1,EX開始]
type = ChangeState
value = 700
triggerall = Command = "EX"
triggerall = statetype != L
triggerall = statetype != A
triggerall = stateno != 105
triggerall = Var(45) = 0
triggerall = Var(51) >= 1000
trigger1 = stateno = 150
trigger2 = stateno = 151
trigger3 = stateno = 152
trigger4 = stateno = 153
trigger5 = (stateno = 1901) && time >= 30
trigger6 = ctrl

[State -1,EX開始空中]
type = ChangeState
value = 750
triggerall = Command = "EX"
triggerall = statetype != L
triggerall = statetype = A
triggerall = stateno != 105
triggerall = alive != 0
triggerall = Var(45) = 0
triggerall = Var(51) >= 1000
trigger1 = stateno = 154
trigger2 = stateno = 155
trigger3 = ctrl

;==============================================================================
; 通常攻撃技
;==============================================================================
;------------------------------------------------------------------------------

[State -1, 立ち弱パンチ]
type = ChangeState
value = 200
triggerall = command = "x"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl


[State -1, 立ち強パンチ]
type = ChangeState
value = 210
triggerall = command = "y"
triggerall = command != "holddown"
triggerall = command != "assistNG"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 200 || stateno = 400
trigger2 = movecontact

[State -1, 立ち弱キック]
type = ChangeState
value = 230
triggerall = command = "a"
triggerall = command != "holddown"
triggerall = command != "assistNG"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = (stateno = 210) && time > 17
trigger2 = movecontact

[State -1, 立ち弱キック上段]
type = ChangeState
value = 235
triggerall = command = "a"
triggerall = command != "holddown"
triggerall = command != "assistNG"
trigger1 = (stateno = 230) && time > 9
trigger1 = movecontact

;------------------------------------------------------------------------------
;前強攻撃
[State -1,]
type = ChangeState
value = 250
triggerall = command = "F_b"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = (stateno = 3300) && time >= 82


[State -1, 立ち強キック]
type = ChangeState
value = 240
triggerall = command = "b"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 230
trigger2 = movecontact
trigger3 = (stateno = 1901) && time > 39

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

[State -1, 挑発]
type = ChangeState
value = 195
triggerall = command = "start"
trigger1 = statetype != A
trigger1 = ctrl

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

[State -1, しゃがみ弱パンチ]
type = ChangeState
value = 400
triggerall = command = "x"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl

[State -1, しゃがみ強パンチ]
type = ChangeState
value = 410
triggerall = command = "y"
triggerall = command = "holddown"
triggerall = command != "assistNG"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = (stateno = 200) || (stateno = 430)
trigger2 = movecontact

[State -1, しゃがみ弱キック]
type = ChangeState
value = 430
triggerall = command = "a"
triggerall = command = "holddown"
triggerall = command != "assistNG"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = stateno = 430
trigger2 = movecontact

[State -1, しゃがみ強キック]
type = ChangeState
value = 440
triggerall = command = "b"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = stateno = 410
trigger2 = movecontact

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

[State -1, ジャンプ弱パンチ]
type = ChangeState
value = 600
triggerall = command = "x"
trigger1 = statetype = A
trigger1 = ctrl



[State -1, ジャンプ強パンチ]
type = ChangeState
value = 610
triggerall = command = "y"
triggerall = command != "assistNG"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600
trigger2 = movecontact


[State -1, ジャンプ弱キック]
type = ChangeState
value = 630
triggerall = command = "a"
triggerall = command != "assistNG"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600
trigger2 = movecontact

[State -1, ジャンプ強キック]
type = ChangeState
value = 640
triggerall = command = "b"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600
trigger2 = movecontact


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