; サンプルキャラクター『カンフーマン』のコマンドファイルです。
; コマンドに関する設定は４部構成になっています。
;==============================================================================
; Win版専用パート
;==============================================================================
;------------------------------------------------------------------------------
; ここはWin版から（正確にはLinux版から）追加された要素の二つ。
; コマンド関連の初期設定を任意に指定出来るようになった(`・ω・´)
;
;『ボタンリマップ』はボタン配置変更用の項目。
; 定義パートでいちいち変更しなくても良いようになっちゃった。
; 面倒臭い人用かな！（ﾏﾃｺﾗ
;
;『デフォルト設定』では各[Command]で省略した場合の
; 入力受付時間と入力記憶時間を予め決めておく項目。
;
;
; この２項目は省略可能。
;------------------------------------------------------------------------------
;-| ボタンリマップ（ボタンコンフィグ）|---------------------------------------- 第１部

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

;------------------------------------------------------------------------------
; 例えば「本来Ｘボタンで出す弱パンチをＢボタンに変えたい場合」なら、
;
; x = b
;
; で簡単に出来る。使わないボタンを使っているボタンに割り当てる事も可能。
;------------------------------------------------------------------------------
;-| デフォルト設定 |----------------------------------------------------------- 第２部

[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 = "Stern_Brecher_S"
command = D, DF, F, x
time = 25

[Command]
name = "Stern_Brecher_S"
command = D, DF, F, ~x
time = 25

;特攻グレイプニル
[Command]
name = "Gleipnir_S"
command = D, D, x
time = 25

[Command]
name = "Gleipnir_S"
command = D, D, ~x
time = 25

特攻ラーンスネッツ
[Command]
name = "Rans_netz_S"
command = D, DB, B, x
time = 25

[Command]
name = "Rans_netz_S"
command = D, DB, B, ~x
time = 25

;特攻フラクシュヴァート
[Command]
name = "Frac_Schwert_S"
command = ~45$D, $U, x
time = 12

[Command]
name = "Frac_Schwert_S"
command = ~45$D, x, $U
time = 12

[Command]
name = "Frac_Schwert_S"
command = ~45$D, /$U, x
time = 12

[Command]
name = "Frac_Schwert_S"
command = ~45$D, /x, $U
time = 12


;------------------------------------------------------------------------------
;-|　　必殺技　　|-------------------------------------------------------------------
;------------------------------------------------------------------------------
;Ａシュテルンブレッヒャー改
[Command]
name = "Stern_Brecher_A"
command = D, DF, F, a
time = 25

;Ｂシュテルンブレッヒャー改
[Command]
name = "Stern_Brecher_B"
command = D, DF, F, b
time = 25

;Ｃシュテルンブレッヒャー改
[Command]
name = "Stern_Brecher_C"
command = D, DF, F, c
time = 25

;Ａスツーカ改
[Command]
name = "stuka_A"
command = D, DB, B, a
time = 25

;Ｂスツーカ改
[Command]
name = "stuka_B"
command = D, DB, B, b
time = 25

;Ｃスツーカ改
[Command]
name = "stuka_C"
command = D, DB, B, c
time = 25

;Ａグレイプニル
[Command]
name = "Gleipnir_A"
command = D, D, a
time = 25

;Ｂグレイプニル
[Command]
name = "Gleipnir_B"
command = D, D, b
time = 25

;Ｃグレイプニル
[Command]
name = "Gleipnir_C"
command = D, D, c
time = 25

;Ａラーンスネッツ改
[Command]
name = "Rans_netz_A"
command = D, DB, B, a
time = 25

;Ｂラーンスネッツ改
[Command]
name = "Rans_netz_B"
command = D, DB, B, b
time = 25

;Ｃラーンスネッツ改
[Command]
name = "Rans_netz_C"
command = D, DB, B, c
time = 25

;Ａフラクシュヴァート
[Command]
name = "Frac_Schwert_A"
command = ~45$D, $U, a
time = 12

[Command]
name = "Frac_Schwert_A"
command = ~45$D, a, $U
time = 12

[Command]
name = "Frac_Schwert_A"
command = ~45$D, /$U, a
time = 12

[Command]
name = "Frac_Schwert_A"
command = ~45$D, /a, $U
time = 12

;Ｂフラクシュヴァート
[Command]
name = "Frac_Schwert_B"
command = ~45$D, $U, b
time = 12

[Command]
name = "Frac_Schwert_B"
command = ~45$D, b, $U
time = 12

[Command]
name = "Frac_Schwert_B"
command = ~45$D, /$U, b
time = 12

[Command]
name = "Frac_Schwert_B"
command = ~45$D, /b, $U
time = 12

;Ｃフラクシュヴァート
[Command]
name = "Frac_Schwert_C"
command = ~60$D, $U, c
time = 12

[Command]
name = "Frac_Schwert_C"
command = ~60$D, c, $U
time = 12

[Command]
name = "Frac_Schwert_C"
command = ~60$D, /$U,c
time = 12

[Command]
name = "Frac_Schwert_C"
command = ~60$D, /c, $U
time = 12

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

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

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

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

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

[Command]
name = "a+b"
command = a+b
time = 5

[Command]
name = "b+c"
command = b+c
time = 5

[Command]
name = "b+c"
command = x
time = 5

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

[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 = "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

;============================================================================== 第４部
; ステートエントリーパート（技などを出せるようにするための条件を設定）
;==============================================================================
;------------------------------------------------------------------------------
; コマンド名と入力するコマンドを設定しただけじゃ意味が無いので、ここから
;「実際に入力したコマンドでどの番号のステートをどういう条件で出せるか」
; を決めなければならない。
;
; ステートコントローラ「ChangeState」しか使わないけど、
; そんなに難しくないのでトリガーを覚えてたらすぐ出来る。
;
; ここさえ押さえておけば簡単なトリガー設定の流れは覚えられるかと。
;
; エントリーの順番にはある程度の法則があるけど、
; おまけフォルダの「小ネタ.txt」を参照。（波動拳が暴発ﾅﾝﾀﾗｶﾝﾀﾗ）
;
; ChangeStateなどステートコントローラの基本的な設置例は
; おまけフォルダの「テンプレート.txt」を参照。
;------------------------------------------------------------------------------
; ■準常時監視ステート（−１）■
; コマンドファイル（のステートエントリーパート）に必要な項目です。
; 絶対に消してはいけないので要注意。
;
; 通常の食らい状態以外の「P2StateNo」や「TargetState」等で制御された、
; 作成者が任意に指定した相手側の食らいステートに限り、
; 登録したステートコントローラが有効にはなりません。
;------------------------------------------------------------------------------

[Statedef -1] ;←この行は絶対に消さないでね。必須項目です。
;==============================================================================
; 最終特別攻撃
;==============================================================================
;[State -1, ギャラルホルン]
;type = ChangeState
;value = xxxx
;triggerall = command = "xxxx"
;triggerall = command != "holddown"
;triggerall = Power >= 3000
;trigger1 = statetype = A
;trigger1 = ctrl
;trigger2 = stateno = 600 || stateno = 610 || stateno = 620 || stateno = 1500 || stateno = 1510 || stateno = 1520

;==============================================================================
; 特別攻撃
;==============================================================================
[State -1, 特攻シュテルンブレッヒャー]
type = ChangeState
value = 1150
triggerall = command = "Stern_Brecher_S"
triggerall = command != "holddown"
triggerall = Power >= 1000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200 || stateno = 201 || stateno = 202 || stateno = 210 || stateno = 215 || stateno = 220 || stateno = 225 || stateno = 400 || stateno = 401 || stateno = 402 || stateno = 410 || stateno = 3006 || stateno = 3016
trigger3 = stateno = 3005 || stateno = 3015
trigger3 = time >= 0 && time <= 8

[State -1, 特攻シュテルンブレッヒャー（空中）]
type = ChangeState
value = 1160
triggerall = command = "Stern_Brecher_S"
triggerall = command != "holddown"
triggerall = Power >= 1000
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600 || stateno = 610 || stateno = 620 || stateno = 3026
trigger3 = stateno = 3025
trigger3 = time >= 0 && time <= 8

[State -1, 特攻グレイプニル]
type = ChangeState
value = 1350
triggerall = command = "Gleipnir_S"
triggerall = command != "holddown"
triggerall = Power >= 1000
triggerall = var(2) = 0
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200 || stateno = 201 || stateno = 202 || stateno = 210 || stateno = 215 || stateno = 220 || stateno = 225 || stateno = 400 || stateno = 401 || stateno = 402 || stateno = 410 || stateno = 3006 || stateno = 3016
trigger3 = stateno = 3005 || stateno = 3015
trigger3 = time >= 0 && time <= 8

[State -1, 特攻ラーンスネッツ]
type = ChangeState
value = 1450
triggerall = command = "Rans_netz_S"
triggerall = command != "holddown"
triggerall = Power >= 1000
triggerall = var(3) = 0
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200 || stateno = 201 || stateno = 202 || stateno = 210 || stateno = 215 || stateno = 225 || stateno = 400 || stateno = 401 || stateno = 402 || stateno = 410 || stateno = 3006 || stateno = 3016
trigger3 = stateno = 3005 || stateno = 3015
trigger3 = time >= 0 && time <= 8

[State -1, 特攻フラクシュヴァート]
type = ChangeState
value = 1550
triggerall = command = "Frac_Schwert_S"
triggerall = command = "holdup"
triggerall = Power >= 1000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 40 || stateno = 200 || stateno = 201 || stateno = 202 || stateno = 210 || stateno = 215 || stateno = 220 || stateno = 225 || stateno = 400 || stateno = 401 || stateno = 402 || stateno = 410 || stateno = 3006 || stateno = 3016
trigger3 = stateno = 3005 || stateno = 3015
trigger3 = time >= 0 && time <= 8

;==============================================================================
; 攻性防禦
;==============================================================================


;立ち・しゃがみは着地硬直に入れ込めるようにする
[State -1, 空中攻性防禦]
type = ChangeState
value = 3020
triggerall = statetype = A
triggerall = command = "b+c"
trigger1 = ctrl
trigger2 = stateno = 3025
trigger2 = time >= 0 && time <= 8
trigger3 = stateno = 3026

[State -1, しゃがみ攻性防禦]
type = ChangeState
value = 3010
triggerall = command = "holddown"
triggerall = command = "b+c"
trigger1 = ctrl
trigger2 = stateno = 3005 || stateno = 3015
trigger2 = time >= 0 && time <= 8
trigger3 = stateno = 52 || stateno = 3006 || stateno = 3016

[State -1, 立ち攻性防禦]
type = ChangeState
value = 3000
triggerall = command != "holddown"
triggerall = command = "b+c"
trigger1 = ctrl
trigger2 = stateno = 3005 || stateno = 3015
trigger2 = time >= 0 && time <= 8
trigger3 = stateno = 52 || stateno = 3006 || stateno = 3016




;==============================================================================
; 必殺技
;==============================================================================
[State -1, Ａシュテルンブレッヒャー改]
type = ChangeState
value = 1100
triggerall = command != "holddown"
trigger1 = command = "Stern_Brecher_A"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = command = "Stern_Brecher_A"
trigger2 = stateno = 200 || stateno = 201 || stateno = 202 || stateno = 210 || stateno = 215 || stateno = 225 || stateno = 400 || stateno = 401 || stateno = 402 || stateno = 410 || stateno = 3006 || stateno = 3016
trigger3 = command = "c"
trigger3 = stateno = 220
trigger3 = movecontact
trigger4 = command = "Stern_Brecher_A"
trigger4 = stateno = 3005 || stateno = 3015
trigger4 = time >= 0 && time <= 8

[State -1, Ｂシュテルンブレッヒャー改]
type = ChangeState
value = 1110
triggerall = command = "Stern_Brecher_B"
triggerall = command != "holddown"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200 || stateno = 201 || stateno = 202 || stateno = 210 || stateno = 215 || stateno = 225 || stateno = 400 || stateno = 401 || stateno = 402 || stateno = 410 || stateno = 3006 || stateno = 3016
trigger3 = stateno = 3005 || stateno = 3015
trigger3 = time >= 0 && time <= 8

[State -1, Ｃシュテルンブレッヒャー改]
type = ChangeState
value = 1120
triggerall = command = "Stern_Brecher_C"
triggerall = command != "holddown"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200 || stateno = 201 || stateno = 202 || stateno = 210 || stateno = 215 || stateno = 225 || stateno = 400 || stateno = 401 || stateno = 402 || stateno = 410 || stateno = 3006 || stateno = 3016
trigger3 = stateno = 3005 || stateno = 3015
trigger3 = time >= 0 && time <= 8

[State -1, 空中シュテルンブレッヒャー改]
type = ChangeState
value = 1130
triggerall = command = "Stern_Brecher_A" || command = "Stern_Brecher_B" || command = "Stern_Brecher_C"
triggerall = command != "holddown"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600 || stateno = 610 || stateno = 620 || stateno = 3026
trigger3 = stateno = 3025
trigger3 = time >= 0 && time <= 8

[State -1, Ａスツーカ改]
type = ChangeState
value = 1200
triggerall = command = "stuka_A"
triggerall = command != "holddown"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600 || stateno = 610 || stateno = 620 || stateno = 3026
trigger3 = stateno = 3025
trigger3 = time >= 0 && time <= 8

[State -1, Ｂスツーカ改]
type = ChangeState
value = 1210
triggerall = command = "stuka_B"
triggerall = command != "holddown"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600 || stateno = 610 || stateno = 620 || stateno = 3026
trigger3 = stateno = 3025
trigger3 = time >= 0 && time <= 8

[State -1, Ｃスツーカ改]
type = ChangeState
value = 1220
triggerall = command = "stuka_C"
triggerall = command != "holddown"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600 || stateno = 610 || stateno = 620 || stateno = 3026
trigger3 = stateno = 3025
trigger3 = time >= 0 && time <= 8

[State -1, Ａグレイプニル]
type = ChangeState
value = 1300
triggerall = command = "Gleipnir_A"
triggerall = command != "holddown"
triggerall = var(2) = 0
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200 || stateno = 201 || stateno = 202 || stateno = 210 || stateno = 215 || stateno = 225 || stateno = 400 || stateno = 401 || stateno = 402 || stateno = 410 || stateno = 3006 || stateno = 3016
trigger3 = stateno = 3005 || stateno = 3015
trigger3 = time >= 0 && time <= 8

[State -1, Ｂグレイプニル]
type = ChangeState
value = 1310
triggerall = command = "Gleipnir_B"
triggerall = command != "holddown"
triggerall = var(2) = 0
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200 || stateno = 201 || stateno = 202 || stateno = 210 || stateno = 215 || stateno = 225 || stateno = 400 || stateno = 401 || stateno = 402 || stateno = 410 || stateno = 3006 || stateno = 3016
trigger3 = stateno = 3005 || stateno = 3015
trigger3 = time >= 0 && time <= 8

[State -1, Ｃグレイプニル]
type = ChangeState
value = 1320
triggerall = command = "Gleipnir_C"
triggerall = command != "holddown"
triggerall = var(2) = 0
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200 || stateno = 201 || stateno = 202 || stateno = 210 || stateno = 215 || stateno = 225 || stateno = 400 || stateno = 401 || stateno = 402 || stateno = 410 || stateno = 3006 || stateno = 3016
trigger3 = stateno = 3005 || stateno = 3015
trigger3 = time >= 0 && time <= 8

[State -1, Ａラーンスネッツ]
type = ChangeState
value = 1400
triggerall = command = "Rans_netz_A"
triggerall = command != "holddown"
triggerall = var(3) = 0
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200 || stateno = 201 || stateno = 202 || stateno = 210 || stateno = 215 || stateno = 225 || stateno = 400 || stateno = 401 || stateno = 402 || stateno = 410 || stateno = 3006 || stateno = 3016
trigger3 = stateno = 3005 || stateno = 3015
trigger3 = time >= 0 && time <= 8

[State -1, Ｂラーンスネッツ]
type = ChangeState
value = 1410
triggerall = command = "Rans_netz_B"
triggerall = command != "holddown"
triggerall = var(3) = 0
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200 || stateno = 201 || stateno = 202 || stateno = 210 || stateno = 215 || stateno = 225 || stateno = 400 || stateno = 401 || stateno = 402 || stateno = 410 || stateno = 3006 || stateno = 3016
trigger3 = stateno = 3005 || stateno = 3015
trigger3 = time >= 0 && time <= 8

[State -1, Ｃラーンスネッツ]
type = ChangeState
value = 1420
triggerall = command = "Rans_netz_C"
triggerall = command != "holddown"
triggerall = var(3) = 0
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200 || stateno = 201 || stateno = 202 || stateno = 210 || stateno = 215 || stateno = 225 || stateno = 400 || stateno = 401 || stateno = 402 || stateno = 410 || stateno = 3006 || stateno = 3016
trigger3 = stateno = 3005 || stateno = 3015
trigger3 = time >= 0 && time <= 8

[State -1, Ａフラクシュヴァート]
type = ChangeState
value = 1500
triggerall = command = "Frac_Schwert_A"
triggerall = command = "holdup"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 40 || stateno = 200 || stateno = 201 || stateno = 202 || stateno = 210 || stateno = 215 || stateno = 225 || stateno = 400 || stateno = 401 || stateno = 402 || stateno = 410 || stateno = 3006 || stateno = 3016
trigger3 = stateno = 3005 || stateno = 3015
trigger3 = time >= 0 && time <= 8

[State -1, Ｂフラクシュヴァート]
type = ChangeState
value = 1510
triggerall = command = "Frac_Schwert_B"
triggerall = command = "holdup"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 40 || stateno = 200 || stateno = 201 || stateno = 202 || stateno = 210 || stateno = 215 || stateno = 225 || stateno = 400 || stateno = 401 || stateno = 402 || stateno = 410 || stateno = 3006 || stateno = 3016
trigger3 = stateno = 3005 || stateno = 3015
trigger3 = time >= 0 && time <= 8

[State -1, Ｃフラクシュヴァート]
type = ChangeState
value = 1520
triggerall = command = "Frac_Schwert_C"
triggerall = command = "holdup"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 40 || stateno = 200 || stateno = 201 || stateno = 202 || stateno = 210 || stateno = 215 || stateno = 225 || stateno = 400 || stateno = 401 || stateno = 402 || stateno = 410 || stateno = 3006 || stateno = 3016
trigger3 = stateno = 3005 || stateno = 3015
trigger3 = time >= 0 && time <= 8

;==============================================================================
; 投げ
;==============================================================================
[State -1, 地上投げ]
type = ChangeState
value = 800
triggerall = command = "y"
triggerall = StateType != A
trigger1 = Ctrl
trigger1 = command != "holddown"
trigger2 = stateno = 3005 || stateno = 3015
trigger2 = time >= 0 && time <= 8
trigger3 = stateno = 3006 || stateno = 3016

[State -1, 空中投げ]
type = ChangeState
value = 850
triggerall = command = "y"
triggerall = StateType = A
trigger1 = Ctrl
trigger2 = stateno = 3025
trigger2 = time >= 0 && time <= 8
trigger3 = stateno = 3026

;==============================================================================
; 通常攻撃
;==============================================================================
[State -1, 立ちＡ攻撃]
type = ChangeState
value = 200
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

[State -1, 立ちＡ煉鎖１]
type = ChangeState
value = 201
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = stateno = 200
trigger1 = statetype = S
trigger1 = movecontact
trigger2 = stateno = 400
trigger2 = statetype = C
trigger2 = movecontact

[State -1, 立ちＡ煉鎖２]
type = ChangeState
value = 202
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = stateno = 201
trigger1 = statetype = S
trigger1 = movecontact
trigger2 = stateno = 401
trigger2 = statetype = C
trigger2 = movecontact

[State -1, 立ちＡ煉鎖３]
type = ChangeState
value = 203
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = stateno = 202
trigger1 = statetype = S
trigger1 = movecontact
trigger2 = stateno = 402
trigger2 = statetype = C
trigger2 = movecontact

[State -1, 立ち近Ｂ攻撃]
type = ChangeState
value = 215
triggerall = command = "b"
triggerall = command != "holddown"
trigger1 = p2bodydist x <= 25
trigger1 = statetype = S
trigger1 = ctrl

[State -1, 立ち遠Ｂ攻撃]
type = ChangeState
value = 210
triggerall = command = "b"
triggerall = command != "holddown"
trigger1 = p2bodydist x > 25
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 200 || stateno = 201
trigger2 = statetype = S
trigger2 = movecontact
trigger3 = stateno = 400 || stateno = 401
trigger3 = statetype = C
trigger3 = movecontact

[State -1, 立ちＢ煉鎖]
type = ChangeState
value = 216
triggerall = command = "b"
triggerall = command != "holddown"
trigger1 = stateno = 202 || stateno = 210 || stateno = 215
trigger1 = statetype = S
trigger1 = movecontact 
trigger2 = stateno = 402 || stateno = 410
trigger2 = statetype = C
trigger2 = movecontact

[State -1, 立ち近Ｃ攻撃]
type = ChangeState
value = 225
triggerall = command = "c"
triggerall = command != "holddown"
trigger1 = p2bodydist x <= 25
trigger1 = statetype = S
trigger1 = ctrl

[State -1, 立ち遠Ｃ攻撃]
type = ChangeState
value = 220
triggerall = command = "c"
triggerall = command != "holddown"
trigger1 = p2bodydist x > 25
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 200 || stateno = 201 || stateno = 202 || stateno = 210 || stateno = 215
trigger2 = statetype = S
trigger2 = movecontact
trigger3 = stateno = 400 || stateno = 401 || stateno = 402 || stateno = 410
trigger3 = statetype = C
trigger3 = movecontact

[State -1, しゃがみＡ攻撃]
type = ChangeState
value = 400
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl

[State -1, しゃがみＡ煉鎖１]
type = ChangeState
value = 401
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = stateno = 400
trigger1 = movecontact
trigger2 = statetype = S
trigger2 = stateno = 200
trigger2 = movecontact

[State -1, しゃがみＡ煉鎖２]
type = ChangeState
value = 402
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = stateno = 401
trigger1 = movecontact
trigger2 = statetype = S
trigger2 = stateno = 201
trigger2 = movecontact

[State -1, しゃがみＡ煉鎖３]
type = ChangeState
value = 403
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = stateno = 402
trigger1 = movecontact
trigger2 = statetype = S
trigger2 = stateno = 202
trigger2 = movecontact

[State -1, しゃがみＢ攻撃]
type = ChangeState
value = 410
triggerall = command = "b"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = stateno = 400 || stateno = 401
trigger2 = statetype = C
trigger2 = movecontact
trigger3 = stateno = 200 || stateno = 201
trigger3 = statetype = S
trigger3 = movecontact

[State -1, しゃがみＣ攻撃]
type = ChangeState
value = 420
triggerall = command = "c"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = stateno = 400 || stateno = 401 || stateno = 410
trigger2 = statetype = C
trigger2 = movecontact
trigger3 = stateno = 200 || stateno = 201 || stateno = 202 || stateno = 210 || stateno = 215
trigger3 = statetype = S
trigger3 = movecontact

[State -1, ジャンプＡ攻撃]
type = ChangeState
value = 600
triggerall = command = "a"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600
trigger2 = movecontact

[State -1, ジャンプＢ攻撃]
type = ChangeState
value = 610
triggerall = command = "b"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600
trigger2 = movecontact

[State -1, ジャンプＣ攻撃]
type = ChangeState
value = 620
triggerall = command = "c"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600 || stateno = 610
trigger2 = movecontact

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

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

[State -1, バックステップ]
type = ChangeState
value = 105
trigger1 = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl

