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

[Remap]
x = x      ;Ｘボタンの入力判定を実際に押すボタンに割り当てる。
y = y      ;Ｙボタン　　　　　　　　　〃
z = z      ;Ｚボタン　　　　　　　　　〃
a = a      ;Ａボタン　　　　　　　　　〃
b = b      ;Ｂボタン　　　　　　　　　〃
c = c      ;Ｃボタン　　　　　　　　　〃
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 = "seimyaku"
command = ~D, DF, F, D, DF, F, x
time = 30

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

[Command]
name = "Sinken"
command = ~D, DB, B, D, DB, B, x
time = 30

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

[Command]
name = "Tuigekiken"
command = ~D, DB, B, D, DB, B, z
time = 30

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

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

[Command]
name = "Huurin"
command = ~D, DB, B, D, DB, B, a
time = 30

[Command]
name = "Ranbu"
command = ~D, DB, B, D, DB, B, b
time = 30

[Command]
name = "Njiiro"
command = ~D, DB, B, D, DB, B, c
time = 30

;------------------------------------------------------------------------------
;-| 必殺技 |-------------------------------------------------------------------
;xyzボタン
[command]
name = "HCF_x"
command = B, DB, D, DF, F, x

[command]
name = "HCF_y"
command = B, DB, D, DF, F, y

[command]
name = "HCF_z"
command = B, DB, D, DF, F, z

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

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

[Command]
name = "kouhou_z"
command = ~F, D, DF, z

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

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

[Command]
name = "QCF_z"
command = ~D, DF, F, z

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

[Command]
name = "rekkou_y"
command = ~B, D, DB, y

[Command]
name = "rekkou_z"
command = ~B, D, DB, z

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

[Command]
name = "QCB_y"
command = ~D, DB, B, y

[Command]
name = "QCB_z"
command = ~D, DB, B, z

;----------------------------------------------------
;abcボタン
[command]
name = "HCF_a"
command = B, DB, D, DF, F, a

[command]
name = "HCF_b"
command = B, DB, D, DF, F, b

[command]
name = "HCF_c"
command = B, DB, D, DF, F, c

[command]
name = "HCB_a"
command = F, DF, D, DB, B, a

[command]
name = "HCB_b"
command = F, DF, D, DB, B, b

[command]
name = "HCB_c"
command = F, DF, D, DB, B, c

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

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

[Command]
name = "tenryu_c"
command = ~F, D, DF, c

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

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

[command]
name = "QCF_c"
command = ~D, DF, F, c

[Command]
name = "kouka_a"
command = ~B, D, DB, a

[Command]
name = "kouka_b"
command = ~B, D, DB, b

[Command]
name = "kouka_c"
command = ~B, D, DB, c

[command]
name = "QCB_a"
command = ~D, DB, B, a

[command]
name = "QCB_b"
command = ~D, DB, B, b

[command]
name = "QCB_c"
command = ~D, DB, B, c

[command]
name = "DD_a"
command = ~D, D, a

[command]
name = "DD_b"
command = ~D, D, b

[command]
name = "DD_c"
command = ~D, D, c

;---------------------------
;スタートボタン

[command]
name = "kei"
command = D, DF, F, s

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

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

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

[Command]
name = "HJ" ;必須コマンド名
command = $D, $U
time = 10

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

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


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

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


[Command]
name = "z+c" ;必須コマンド名
command = z+c
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 = "hold_x"
command = /x

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

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

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

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

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

;------------------------------------------------------------------------------
;-| 方向キー |-----------------------------------------------------------------

[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 = 3050
;triggerall = command = "SmashKFUpper"  ;「SmashKFUpper」の名前のコマンドが入力されたら
;triggerall = power >= 1000             ;パワーゲージがレベル１以上溜まっている時（※）
;triggerall = statetype != A            ;「空中」ではない時
;trigger1 = ctrl                        ;コントロールが可能な場合
;trigger2 = hitdefattr = SC, NA, SA, HA ;自分の「HitDefの一部の攻撃属性」が出ている時（テンプレート参照）
;trigger2 = stateno != [3050,3100)      ;現在のステートが「3050以上、3100未満」の間のどれかな場合
;trigger2 = movecontact                 ;攻撃が相手に触れている時（ヒット・ガード両方）
;trigger3 = (StateNo = 1300) && (Time = [12,38]) ;ちょっとこ丸が追加

;------------------------------------------------------------------------------
; ここで↑にて実際に使っている「スマッシュカンフーアッパーのChangeState」を例に
; 見て行きましょ！m9っ｀Д´)
;
; まず特定のコマンドを入力したいならば、
; 必ず『呼び出すコマンドのトリガー』は設定しましょう。
; 特殊な条件でない限り、コマンドは通常「triggerall」の方で設定した方が良い。
;
;「triggerall」とは『有効になる状況を限定するための条件』を指定する。
; triggerallの条件が有効にならない限り、trigger1以降の条件も有効にはならない。
; 何個でも増やせる。ステート作成の基本テクニックの一つなので覚えておいてね。
; しかしtriggerallはtrigger1以降が無いと「単体では」使えないので注意。
;（trigger1以降を全てコメント化してM.U.G.E.Nでそのキャラを選んで試してみよう）
;
;
; ※『パワーゲージ』は「スーパーコンボゲージ」や「超必殺技ゲージ」などで
; 　呼ばれてる部分のゲージです。
; 　ゲージが「１０００ポイント」なら『レベル１』と同じ意味になります。
;
; 　まぁパッと見、M.U.G.E.Nのパワーゲージって仕組みが
; 　ストＺＥＲＯシリーズの「スーパーコンボレベルゲージ」まんまだよね（苦笑
;------------------------------------------------------------------------------

[State -1, 星脈弾]
type = ChangeState
value = 3000
triggerall = command = "seimyaku"
triggerall = power >= 1000
triggerall = NumHelper(3000) = 0
triggerall = statetype != A
trigger1 = ctrl
trigger2 = ((stateno = [200,229]) || (stateno = [230,259]))
trigger3 = ((stateno = [400,429]) || (stateno = [430,459]))
trigger4 = ((stateno = [600,629]) || (stateno = [630,659]))
trigger5 = (StateNo = [1000,1099])
trigger6 = (StateNo = 150) || (StateNo = 152) || (StateNo = 154)
trigger7 = ((StateNo = 151) || (StateNo = 154) || (StateNo = 155)) && (Time <= 3)

[State -1, 星脈弾地転弾]
type = ChangeState
value = 3100
triggerall = command = "titen"
triggerall = power >= 2000
triggerall = NumHelper(3100) = 0
triggerall = statetype != A
trigger1 = ctrl
trigger2 = ((stateno = [200,229]) || (stateno = [230,259]))
trigger3 = ((stateno = [400,429]) || (stateno = [430,459]))
trigger4 = ((stateno = [600,629]) || (stateno = [630,659]))
trigger5 = (StateNo = [1000,1099])
trigger6 = (StateNo = 150) || (StateNo = 152) || (StateNo = 154)
trigger7 = ((StateNo = 151) || (StateNo = 154) || (StateNo = 155)) && (Time <= 3)

[State -1, 烈虹真拳]
type = ChangeState
value = 3300
triggerall = command = "Sinken"
triggerall = power >= 2000
triggerall = statetype != A
trigger1 = ctrl
trigger2 = ((stateno = [200,229]) || (stateno = [230,259]))
trigger3 = ((stateno = [400,429]) || (stateno = [430,459]))
trigger4 = ((stateno = [600,629]) || (stateno = [630,659]))
trigger5 = (stateno = [1300,1399]) || (stateno = [1200,1299])
;trigger6 = (StateNo = [150,155])
trigger6 = (StateNo = 150) || (StateNo = 152) || (StateNo = 154)
trigger7 = ((StateNo = 151) || (StateNo = 154) || (StateNo = 155)) && (Time <= 3)

[State -1, 大鵬拳]
type = ChangeState
value = 3400
triggerall = command = "Taihouken"
triggerall = power >= 2000
triggerall = statetype != A
trigger1 = ctrl
trigger2 = ((stateno = [200,229]) || (stateno = [230,259]))
trigger3 = ((stateno = [400,429]) || (stateno = [430,459]))
trigger4 = ((stateno = [600,629]) || (stateno = [630,659]))
trigger5 = (stateno = [1100,1199]) || (stateno = [1200,1299])
trigger6 = (StateNo = 150) || (StateNo = 152) || (StateNo = 154)
trigger7 = ((StateNo = 151) || (StateNo = 154) || (StateNo = 155)) && (Time <= 3)

[State -1, 大鵬墜撃拳]
type = ChangeState
value = 3500
triggerall = command = "Tuigekiken"
triggerall = power >= 3000
triggerall = statetype != A
trigger1 = ctrl
trigger2 = ((stateno = [200,229]) || (stateno = [230,259]))
trigger3 = ((stateno = [400,429]) || (stateno = [430,459]))
trigger4 = ((stateno = [600,629]) || (stateno = [630,659]))
trigger5 = (stateno = [1100,1199]) || (stateno = [1200,1299])
trigger6 = (StateNo = 150) || (StateNo = 152) || (StateNo = 154)
trigger7 = ((StateNo = 151) || (StateNo = 154) || (StateNo = 155)) && (Time <= 3)

[State -1, 地龍天龍脚]
type = ChangeState
value = 4100
triggerall = command = "tiryu"
triggerall = power >= 2000
triggerall = statetype != A
trigger1 = ctrl
trigger2 = ((stateno = [200,229]) || (stateno = [230,259]))
trigger3 = ((stateno = [400,429]) || (stateno = [430,459]))
trigger4 = ((stateno = [600,629]) || (stateno = [630,659]))
trigger5 = (stateno = [2400,2499]) || (stateno = [2800,2899])
trigger6 = (StateNo = 150) || (StateNo = 152) || (StateNo = 154)
trigger7 = ((StateNo = 151) || (StateNo = 154) || (StateNo = 155)) && (Time <= 3)

[State -1, 彩光蓮華掌]
type = ChangeState
value = 4200
triggerall = command = "Renka"
triggerall = power >= 3000
triggerall = statetype != A
trigger1 = ctrl
trigger2 = ((stateno = [200,229]) || (stateno = [230,259]))
trigger3 = ((stateno = [300,329]) || (stateno = [330,359]))
trigger4 = ((stateno = [400,429]) || (stateno = [430,459]))
trigger5 = ((stateno = [500,529]) || (stateno = [530,559]))
trigger6 = ((stateno = [600,629]) || (stateno = [630,659]))
trigger7 = (stateno = [2000,2099]) || (stateno = [2200,2299])
trigger8 = (StateNo = 150) || (StateNo = 152) || (StateNo = 154)
trigger9 = ((StateNo = 151) || (StateNo = 154) || (StateNo = 155)) && (Time <= 3)
;trigger5 = (stateno = [2400,2499]) || (stateno = [1200,1299])

[State -1, 彩光風鈴]
type = ChangeState
value = 4300
triggerall = command = "Huurin"
triggerall = power >= 1000
triggerall = statetype != A
trigger1 = ctrl
trigger2 = ((stateno = [200,229]) || (stateno = [230,259]))
trigger3 = ((stateno = [400,429]) || (stateno = [430,459]))
trigger4 = ((stateno = [600,629]) || (stateno = [630,659]))
trigger5 = (stateno = [2200,2299])		; || (stateno = [1200,1299])
trigger6 = (StateNo = 150) || (StateNo = 152) || (StateNo = 154)
trigger7 = ((StateNo = 151) || (StateNo = 154) || (StateNo = 155)) && (Time <= 3)

[State -1, 彩光乱舞]
type = ChangeState
value = 4400
triggerall = command = "Ranbu"
triggerall = power >= 2000
triggerall = statetype != A
trigger1 = ctrl
trigger2 = ((stateno = [200,229]) || (stateno = [230,259]))
trigger3 = ((stateno = [400,429]) || (stateno = [430,459]))
trigger4 = ((stateno = [600,629]) || (stateno = [630,659]))
trigger5 = (stateno = [2200,2299])		; || (stateno = [1200,1299])
trigger6 = (StateNo = 150) || (StateNo = 152) || (StateNo = 154)
trigger7 = ((StateNo = 151) || (StateNo = 154) || (StateNo = 155)) && (Time <= 3)

[State -1, 虹色太極拳]
type = ChangeState
value = 4500
triggerall = command = "Njiiro"
triggerall = power >= 3000
triggerall = statetype != A
triggerall = NumHelper(4510) = 0
trigger1 = ctrl
trigger2 = ((stateno = [200,229]) || (stateno = [230,259]))
trigger3 = ((stateno = [400,429]) || (stateno = [430,459]))
trigger4 = ((stateno = [600,629]) || (stateno = [630,659]))
trigger5 = (stateno = [2500,5299])		; || (stateno = [1200,1299])
trigger6 = (StateNo = 150) || (StateNo = 152) || (StateNo = 154)
trigger7 = ((StateNo = 151) || (StateNo = 154) || (StateNo = 155)) && (Time <= 3)

[State -1, ];避け
type = ChangeState
value = 900
triggerall = command = "x+a"
;triggerall = statetype = S
;triggerall = stateno != 100
trigger1 = ctrl
trigger2 = StateNo = [200,799]
trigger2 = var(0) >= 1
trigger3 = StateNo = [1000,2999]
trigger3 = (power >= 1000)
trigger4 = (StateNo = 150) || (StateNo = 152) || (StateNo = 154)
trigger5 = (StateNo = 151) || (StateNo = 153) || (StateNo = 155)
trigger5 = Power >= 500
;trigger5 = StateNo = [150,155]
;==============================================================================
; 必殺技
;==============================================================================
;------------------------------------------------------------------------------
[State -1, 紅寸剄]
type = ChangeState
value = 1400
triggerall = (command = "HCF_x") || (command = "HCF_y") || (command = "HCF_z")
triggerall = statetype != A
trigger1 = ctrl
trigger2 = ((stateno = [200,229]) || (stateno = [230,259]))
trigger3 = ((stateno = [400,429]) || (stateno = [430,459]))
trigger4 = ((stateno = [600,629]) || (stateno = [630,659]))

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

[State -1, 紅砲]
type = ChangeState
value = 1100
triggerall = (command = "kouhou_x") || (command = "kouhou_y") || (command = "kouhou_z")
triggerall = statetype != A
trigger1 = ctrl
trigger2 = ((stateno = [200,229]) || (stateno = [230,259]))
trigger3 = ((stateno = [400,429]) || (stateno = [430,459]))
trigger4 = ((stateno = [600,629]) || (stateno = [630,659]))

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

[State -1, 芳波]
type = ChangeState
value = 1000
triggerall = (command = "QCF_x") || (command = "QCF_y") || (command = "QCF_z")
triggerall = statetype != A
trigger1 = ctrl
trigger2 = ((stateno = [200,229]) || (stateno = [230,259]))
trigger3 = ((stateno = [400,429]) || (stateno = [430,459]))
trigger4 = ((stateno = [600,629]) || (stateno = [630,659]))

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

[State -1, 烈虹拳]
type = ChangeState
value = 1300
triggerall = (command = "rekkou_x") || (command = "rekkou_y") || (command = "rekkou_z")
triggerall = statetype != A
trigger1 = ctrl
trigger2 = ((stateno = [200,229]) || (stateno = [230,259]))
trigger3 = ((stateno = [400,429]) || (stateno = [430,459]))
trigger4 = ((stateno = [600,629]) || (stateno = [630,659]))

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

[State -1, 螺光歩]
type = ChangeState
value = 1200
triggerall = (command = "QCB_x") || (command = "QCB_y") || (command = "QCB_z")
trigger1 = ctrl
trigger2 = ((stateno = [200,229]) || (stateno = [230,259]))
trigger3 = ((stateno = [400,429]) || (stateno = [430,459]))
trigger4 = ((stateno = [600,629]) || (stateno = [630,659]))
trigger5 = (stateno = [700,799]); && movecontact >= 1
;trigger5 = (stateno = [1300,1399]) && var(0) >= 5

;------------------------------------------------------------------------------
;ａｂｃボタン
;------------------------------------------------------------------------------

[State -1, 地龍波]
type = ChangeState
value = 2400
triggerall = (command = "HCF_a") || (command = "HCF_b") || (command = "HCF_c")
triggerall = statetype != A
triggerall = NumHelper(2410) = 0
trigger1 = ctrl
trigger2 = ((stateno = [200,229]) || (stateno = [230,259]))
trigger3 = ((stateno = [400,429]) || (stateno = [430,459]))
trigger4 = ((stateno = [600,629]) || (stateno = [630,659]))

[State -1, 水形太極拳]
type = ChangeState
value = 2500
triggerall = (command = "HCB_a") || (command = "HCB_b") || (command = "HCB_c")
triggerall = statetype != A
trigger1 = ctrl

[State -1, 天龍脚]
type = ChangeState
value = 2100
triggerall = (command = "tenryu_a") || (command = "tenryu_b") || (command = "tenryu_c")
trigger1 = ctrl
trigger2 = ((stateno = [200,229]) || (stateno = [230,259]))
trigger3 = ((stateno = [400,429]) || (stateno = [430,459]))
trigger4 = ((stateno = [600,629]) || (stateno = [630,659]))
trigger5 = (stateno = [700,799]); && movecontact >= 1

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

[State -1, 空中イカリング]
type = ChangeState
value = 2050
triggerall = (command = "QCF_a") || (command = "QCF_b") || (command = "QCF_c")
triggerall = statetype = A
trigger1 = ctrl
trigger2 = (stateno = [600,699])
trigger3 = (stateno = [700,799]); && movecontact >= 1

[State -1, イカリング]
type = ChangeState
value = 2000
triggerall = NumHelper(2020) = 0
triggerall = (command = "QCF_a") || (command = "QCF_b") || (command = "QCF_c")
triggerall = statetype != A
trigger1 = ctrl
trigger2 = ((stateno = [200,229]) || (stateno = [230,259]))
trigger3 = ((stateno = [400,429]) || (stateno = [430,459]))
trigger4 = ((stateno = [300,329]) || (stateno = [330,359]))

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

[State -1, 降華蹴]
type = ChangeState
value = 2300
triggerall = (command = "kouka_a") || (command = "kouka_b") || (command = "kouka_c")
trigger1 = ctrl
trigger2 = ((stateno = [200,229]) || (stateno = [230,259]))
trigger3 = ((stateno = [400,429]) || (stateno = [430,459]))
trigger4 = ((stateno = [600,629]) || (stateno = [630,659]))
trigger5 = (stateno = [700,799]); && movecontact >= 1

[State -1, 彩雨]
type = ChangeState
value = ifelse(Pos Y = 0, 2200, 2260)
triggerall = (command = "QCB_a") || (command = "QCB_b") || (command = "QCB_c")
trigger1 = ctrl
trigger2 = ((stateno = [200,229]) || (stateno = [230,259]))
trigger3 = ((stateno = [400,429]) || (stateno = [430,459]))
trigger4 = ((stateno = [600,629]) || (stateno = [630,659]))
trigger5 = (stateno = [700,799]); && movecontact >= 1

[State -1, 黄震脚]
type = ChangeState
value = 2800
triggerall = (command = "DD_a") || (command = "DD_b") || (command = "DD_c")
triggerall = statetype != A
trigger1 = ctrl
trigger2 = ((stateno = [200,229]) || (stateno = [230,259]))
trigger3 = ((stateno = [400,429]) || (stateno = [430,459]))
trigger4 = ((stateno = [600,629]) || (stateno = [630,659]))

[State -1, 虎勁]
type = ChangeState
value = 2900
triggerall = command = "kei"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = ((stateno = [200,229]) || (stateno = [230,259]))
trigger3 = ((stateno = [400,429]) || (stateno = [430,459]))
trigger4 = ((stateno = [600,629]) || (stateno = [630,659]))

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

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

[State -1, ハイジャンプ]
type = ChangeState
value = 41
triggerall = command = "HJ"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = ((stateno = [200,229]) || (stateno = [230,259])) && movecontact >= 1
trigger2 = var(0) >= 1
trigger3 = ((stateno = [400,429]) || (stateno = [430,459])) && movecontact >= 1
trigger3 = var(0) >= 1

[State -1, ダッシュ]
type = ChangeState
value = 100
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl

[State -1, 空中ダッシュ]
type = ChangeState
value = 102
triggerall = command = "FF"
trigger1 = statetype = A
trigger1 = var(0) >= 2
trigger1 = ctrl

[State -1, バックステップ]
type = ChangeState
value = 105
triggerall = command = "BB"
triggerall = ctrl
trigger1 = statetype = S
trigger2 = statetype = A
trigger2 = var(0) >= 2

;==============================================================================
; 特殊技
;==============================================================================
;------------------------------------------------------------------------------
;
[State -1, ];投げ技
type = ChangeState
value = 800
triggerall = command = "y+b"
triggerall = statetype != A
trigger1 = ctrl
;trigger1 = command = "holdfwd"
;trigger1 = p2bodydist X < 3
;trigger2 = command = "holdback"
;trigger2 = p2bodydist X < 5
;trigger2 = (p2statetype = S) || (p2statetype = C)

;==============================================================================
; レバー入れ通常
;==============================================================================
;------------------------------------------------------------------------------

;[State -1, DF中パンチ]
;type = ChangeState
;value = 510
;triggerall = command = "y"
;triggerall = command = "holddown" && Command = "holdfwd"
;triggerall = statetype != A
;trigger1 = ctrl
;trigger2 = ((stateno = [200,230]) || (stateno = [230,260])) && (movecontact >= 1 || time >= 6)

[State -1, DF強パンチ]
type = ChangeState
value = 520
triggerall = command = "z"
triggerall = command = "holddown" && Command = "holdfwd"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = ((stateno = [200,229]) || (stateno = [230,259])) && (movecontact >= 1 || time >= 6)
trigger3 = ((stateno = [400,429]) || (stateno = [430,459])) && (movecontact >= 1 || time >= 6)
trigger4 = (StateNo = [320,329]) && movecontact = 0
trigger4 = var(0) >= 1
trigger5 = ((StateNo = [300,309]) || (stateno = [330,339]))&& (movecontact >= 1 || time >= 7)
trigger6 = (StateNo = 910) && (AnimTime <= 1)

[State -1, DF強キック]
type = ChangeState
value = 550
triggerall = command = "c"
triggerall = command = "holddown" && command = "holdfwd"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = ((stateno = [200,229]) || (stateno = [230,259])) && (movecontact >= 1 || time >= 6)
trigger3 = ((stateno = [400,429]) || (stateno = [430,459])) && (movecontact >= 1 || time >= 6)
trigger4 = ((StateNo = [300,309]) || (stateno = [330,339])) && (movecontact >= 1 || time >= 4)


[State -1, F弱パンチ]
type = ChangeState
value = 300
triggerall = command = "x"
triggerall = command != "holddown" && Command = "holdfwd"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = ((stateno = [200,209]) || (stateno = [230,239])) && movecontact >= 1
trigger3 = ((stateno = [400,409]) || (stateno = [430,439])) && movecontact >= 1

[State -1, F中パンチ]
type = ChangeState
value = 310
triggerall = command = "y"
triggerall = command != "holddown" && Command = "holdfwd"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = ((stateno = [200,229]) || (stateno = [230,259])) && (movecontact >= 1 || time >= 6)
trigger3 = ((stateno = [400,429]) || (stateno = [430,459])) && (movecontact >= 1 || time >= 6)
trigger4 = ((stateno = [300,309]) || (stateno = [330,339])) && (movecontact >= 1 || time >= 6)
trigger5 = ((stateno = [500,509]) || (stateno = [530,539])) && (movecontact >= 1 || time >= 6)

[State -1, F強パンチ]
type = ChangeState
value = 320
triggerall = command = "z"
triggerall = command != "holddown" && Command = "holdfwd"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = ((stateno = [200,229]) || (stateno = [230,259])) && movecontact >= 1
trigger3 = ((stateno = [400,429]) || (stateno = [430,459])) && movecontact >= 1
trigger4 = (StateNo = [520,529])  && movecontact = 0
trigger4 = var(0) >= 1
trigger5 = ((StateNo = [300,309]) || (stateno = [330,339]))&& (movecontact >= 1 || time >= 7)
trigger6 = (StateNo = 910) && (AnimTime <= 1)

[State -1, F弱キック]
type = ChangeState
value = 330
triggerall = command = "a"
triggerall = command != "holddown" && command = "holdfwd"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = ((stateno = 200) || (stateno = 230)) && movecontact >= 1
trigger3 = ((stateno = 400) || (stateno = 430)) && movecontact >= 1
trigger4 = (stateno = [300,309]) && (movecontact >= 1 || time >= 7)


[State -1, F中キック]
type = ChangeState
value = 340
triggerall = command = "b"
triggerall = command != "holddown" && command = "holdfwd"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = ((stateno = [200,229]) || (stateno = [230,259])) && (movecontact >= 1 || time >= 6)
trigger3 = ((stateno = [400,429]) || (stateno = [430,459])) && (movecontact >= 1 || time >= 6)
;trigger4 = ((stateno = [300,329]) || (stateno = [330,359])) && (movecontact >= 1 || time >= 6)
;trigger5 = ((stateno = [500,529]) || (stateno = [530,559])) && (movecontact >= 1 || time >= 6)

[State -1, F強キック]
type = ChangeState
value = 350
triggerall = command = "c"
triggerall = command != "holddown" && command = "holdfwd"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = ((stateno = [200,229]) || (stateno = [230,259])) && (movecontact >= 1 || time >= 6)
trigger3 = ((stateno = [400,429]) || (stateno = [430,459])) && (movecontact >= 1 || time >= 6)
trigger4 = (stateno = [340,349])

[State -1, Ｊ中強キック]
type = ChangeState
value = 740
triggerall = command = "b"
triggerall = command = "holddown" && Command = "holdfwd"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = ((stateno = [600,629]) || (stateno = [630,659])) && MoveHit >= 1
trigger2 = var(0) >= 1

[State -1, Ｊ上強キック]
type = ChangeState
value = 750
triggerall = command = "c"
triggerall = command = "holddown" && Command = "holdfwd"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = ((stateno = [600,629]) || (stateno = [630,659])) && MoveHit >= 1
trigger2 = var(0) >= 1
trigger3 = (StateNo = [740,749]) && (movehit >= 1)
trigger3 = var(0) >= 1

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

[State -1, 立ち弱パンチ]
type = ChangeState
value = 200
triggerall = command = "x"
triggerall = command != "holddown"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = ((stateno = [200,209]) || (stateno = [230,239])) && movecontact >= 1
trigger3 = ((stateno = [400,409]) || (stateno = [430,439])) && movecontact >= 1
trigger4 = (stateno = [200,209]) && (movecontact >= 1 || time >= 5)

[State -1, 立ち中パンチ]
type = ChangeState
value = 210
triggerall = command = "y"
triggerall = command != "holddown"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = ((stateno = [200,209]) || (stateno = [230,240])) && movecontact >= 1
trigger2 = var(0) >= 1
trigger3 = ((stateno = [400,419]) || (stateno = [430,449])) && movecontact >= 1
trigger3 = var(0) >= 1

[State -1, 立ち強パンチ]
type = ChangeState
value = 220
triggerall = command = "z"
triggerall = command != "holddown"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = ((stateno = [200,219]) || (stateno = [230,259])) && movecontact >= 1
trigger2 = var(0) >= 2
trigger3 = ((stateno = [400,429]) || (stateno = [430,459])) && movecontact >= 1
trigger3 = var(0) >= 2

[State -1, 立ち弱キック]
type = ChangeState
value = 230
triggerall = command = "a"
triggerall = command != "holddown"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = ((stateno = [200,209]) || (stateno = [230,239])) && movecontact >= 1
trigger3 = ((stateno = [400,409]) || (stateno = [430,439])) && movecontact >= 1

[State -1, 立ち中キック]
type = ChangeState
value = 240
triggerall = command = "b"
triggerall = command != "holddown"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = ((stateno = [200,219]) || (stateno = [230,239])) && movecontact >= 1
trigger2 = var(0) >= 1
trigger3 = ((stateno = [400,419]) || (stateno = [430,449])) && movecontact >= 1
trigger3 = var(0) >= 1
trigger4 = stateno = 300 && movecontact >= 1

[State -1, 立ち中キック追加]
type = ChangeState
value = 241
triggerall = command = "b"
triggerall = command != "holddown"
triggerall = statetype != A
trigger1 = stateno = 240 && (movecontact >= 1 || time >= 6)
;trigger1 = movecontact >= 1 || time >= 6
trigger2 = stateno = 331 && (movecontact >= 1 || time >= 6)

[State -1, 立ち強キック]
type = ChangeState
value = 250
triggerall = command = "c"
triggerall = command != "holddown"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = ((stateno = [200,229]) || (stateno = [230,249])) && movecontact >= 1
trigger2 = var(0) >= 2
trigger3 = ((stateno = [400,429]) || (stateno = [430,459])) && movecontact >= 1
trigger3 = var(0) >= 2
trigger6 = (StateNo = 910) && (AnimTime <= 1)

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

[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"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = ((stateno = [200,209]) || (stateno = [230,239])) && movecontact >= 1
trigger3 = ((stateno = [400,409]) || (stateno = [430,439])) && movecontact >= 1
trigger4 = ((stateno = [400,409]) || (stateno = [430,439])) && (movecontact >= 1 || time >= 5)


[State -1, しゃがみ中パンチ]
type = ChangeState
value = 410
triggerall = command = "y"
triggerall = command = "holddown"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = ((stateno = [200,210]) || (stateno = [230,240])) && movecontact >= 1
trigger2 = var(0) >= 1
trigger3 = ((stateno = [400,409]) || (stateno = [430,449])) && movecontact >= 1
trigger3 = var(0) >= 1

[State -1, しゃがみ強パンチ]
type = ChangeState
value = 420
triggerall = command = "z"
triggerall = command = "holddown"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = ((stateno = [200,229]) || (stateno = [230,259])) && movecontact >= 1
trigger2 = var(0) >= 2
trigger3 = ((stateno = [400,419]) || (stateno = [430,459])) && movecontact >= 1
trigger3 = var(0) >= 2

[State -1, しゃがみ弱キック]
type = ChangeState
value = 430
triggerall = command = "a"
triggerall = command = "holddown"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = ((stateno = [200,209]) || (stateno = [230,239])) && movecontact >= 1
trigger3 = ((stateno = [400,409]) || (stateno = [430,439])) && movecontact >= 1

[State -1, しゃがみ中キック]
type = ChangeState
value = 440
triggerall = command = "b"
triggerall = command = "holddown"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = ((stateno = [200,210]) || (stateno = [230,240])) && movecontact >= 1
trigger2 = var(0) >= 1
trigger3 = ((stateno = [400,419]) || (stateno = [430,439])) && movecontact >= 1
trigger3 = var(0) >= 1

[State -1, しゃがみ強キック]
type = ChangeState
value = 450
triggerall = command = "c"
triggerall = command = "holddown"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = ((stateno = [200,229]) || (stateno = [230,259])) && movecontact >= 1
trigger2 = var(0) >= 2
trigger3 = ((stateno = [400,429]) || (stateno = [430,449])) && movecontact >= 1
trigger3 = var(0) >= 2

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

[State -1, JLP]
type = ChangeState
value = 600
triggerall = command = "x"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = (stateno = 600 || stateno = 630) && MoveHit >= 1

[State -1, JMP]
type = ChangeState
value = 610
triggerall = command = "y"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = ((stateno = [600,609]) || (stateno = [630,649])) && MoveHit >= 1
trigger2 = var(0) >= 1

[State -1, JHP]
type = ChangeState
value = 620
triggerall = command = "z"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = ((stateno = [600,619]) || (stateno = [630,659])) && movehit >= 1
trigger2 = var(0) >= 2

[State -1, JLK]
type = ChangeState
value = 630
triggerall = command = "a"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = (stateno = 600 || stateno = 630) && MoveHit >= 1

[State -1, JMK]
type = ChangeState
value = 640
triggerall = command = "b"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = ((stateno = [600,619]) || (stateno = [630,639])) && MoveHit >= 1
trigger2 = var(0) >= 1

[State -1, JHK]
type = ChangeState
value = 650
triggerall = command = "c"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = ((stateno = [600,629]) || (stateno = [630,649])) && MoveHit >= 1
trigger2 = var(0) >= 2

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