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

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

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

[Defaults]
command.time = 20  ;標準のコマンド入力受付時間。
                   ;各コマンドで省略している場合に有効。
                   ;このパラメータを消した場合、デフォルトは１フレームになる。
                   ;（　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 = "spell_1"
command = ~D, DF, F, y

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

[Command]
name = "spell_2b"
command = ~D, D, y

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

[Command]
name = "spell_3a"
command = ~D, D, z

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

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

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

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

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

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

[Command]
name = "spell_0b"
command = ~D, D, x

[Command]
name = "rolling_b"
command = ~48$B, F, b
time = 15

[Command]
name = "rolling_c"
command = ~48$B, F, c
time = 15

;---------------------------
;コマンド技
[Command]
name = "623b"
command = ~F, D, DF, b

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

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

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

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

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

[Command]
name = "22b"
command = ~D, D, b

[Command]
name = "22c"
command = ~D, D, c

[Command]
name = "card_change"
command = a+b

[Command]
name = "card_change"
command = y

[Command]
name = "card_use"
command = b+c

[Command]
name = "card_use"
command = z

[Command]
name = "test"
command = /$D,s

[Command]
name = "test2"
command = /$F,s

[Command]
name = "test3"
command = /$B,s
;------------------------------------------------------------------------------
;-| キー２回連続入力 |---------------------------------------------------------

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

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

[Command]
name = "DUF"
command = D, UF
time = 10

[Command]
name = "DUB"
command = D, UB
time = 10

[Command]
name = "DU"
command = D, U
time = 10


;------------------------------------------------------------------------------
;-| 受身 |-----------------------------------------------------------------

[Command]
name = "recovery" ;必須コマンド名
command = /$F,a
time = 1

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

[Command]
name = "recovery" 
command = /$F,c
time = 1

[Command]
name = "recovery" 
command = /$F,x
time = 1

[Command]
name = "recovery" 
command = /$B,a
time = 1

[Command]
name = "recovery" 
command = /$B,b
time = 1

[Command]
name = "recovery" 
command = /$B,c
time = 1

[Command]
name = "recovery" 
command = /$B,x
time = 1

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

[Command]
name = "down_a"
command = /$D,a
time = 1

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

[Command]
name = "up_x"
command = /$x,U
time = 1

[Command]
name = "upf_x"
command = /$x,UF
time = 1

[Command]
name = "upb_x"
command = /$x,UB
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_a"
command = /a

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

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

[Command];飛翔ボタン
name = "fly"
command = /x

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

[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 = null;ChangeState
value = 3050
triggerall = command = "x"  ;「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 = null;ChangeState
value = 3000
triggerall = command = "a"
triggerall = power >= 1000
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = statetype != A
trigger2 = hitdefattr = SC, NA, SA, HA
trigger2 = stateno != [3000,3050)
trigger2 = movecontact
trigger3 = (StateNo = 1300) && (Time = [12,38]) ;ちょっとこ丸が追加

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

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

;------------------------------------------------------------------------------
;==============================================================================
; コマンド技モード時
;==============================================================================
[State -1, 式弾「アルティメットブディスト」]
type = ChangeState
value = 1410
triggerall = PalNo = [var(40),11]
triggerall = command = "start"
triggerall = NumHelper(1411) = 0
triggerall = power >= 5000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact
trigger4 = stateno = 250
trigger5 = stateno = 400
trigger5 = movecontact
trigger6 = stateno = 440
trigger6 = movecontact
trigger7 = (stateno = 300) && (Time >= 16);b
trigger8 = (stateno = 330) && (Time >= 20);→b
trigger9 = (stateno = 310) && (Time >= 18);c
trigger10 = (stateno = 430) && (Time >= 20);↓c
trigger11 = (stateno = 1100) && (Time >= 44) ;赤鬼
trigger12 = (stateno = 1105) && (Time >= 70) ;これも
trigger13 =  stateno = 1152                  ;ひっかいて着地
trigger14 = (stateno = 1157) && (Time >= 10) ;蹴ったあと
trigger15 = stateno = 1071;疾風
trigger16 = stateno = 100

[State -1, 鬼神「飛翔毘沙門天」]
type = ChangeState
value = 1400
triggerall = PalNo = [var(40),11]
triggerall = command = "spell_5b"
triggerall = power >= 5000
triggerall = NumHelper(1411) = 0
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact
trigger4 = stateno = 250
trigger5 = stateno = 400
trigger5 = movecontact
trigger6 = stateno = 440
trigger6 = movecontact
trigger7 = (stateno = 300) && (Time >= 16);b
trigger8 = (stateno = 330) && (Time >= 20);→b
trigger9 = (stateno = 310) && (Time >= 18);c
trigger10 = (stateno = 430) && (Time >= 20);↓c
trigger11 = (stateno = 700) && (Time >= 20);空中b
trigger12 = (stateno = 730) && (Time >= 20);→b
trigger13 = (stateno = 710) && (Time >= 24);c
trigger14 = (stateno = 720) && (Time >= 50);↓c
trigger15 = (stateno = 1024) && (Time >= 5);韋駄天ヒット後
trigger16 = (stateno = 1051) && (Time >= 5);ソニック
trigger17 = (stateno = 1100) && (Time >= 44) ;赤鬼
trigger18 = (stateno = 1105) && (Time >= 70) ;これも
trigger19 =  stateno = 1152                  ;ひっかいて着地
trigger20 = (stateno = 1157) && (Time >= 10) ;蹴ったあと
trigger21 = (stateno = 600) && (Time >= 6)
trigger22 = (stateno = 630) && (Time >= 14)
trigger23 = stateno = 241
trigger23 = movecontact
trigger24 = stateno = 242
trigger25 = stateno = 271
trigger25 = movecontact
trigger26 = stateno = 272
trigger27 = (stateno = 1161) && (Time >= 14);飛び跳ね
trigger28 = (stateno = 1166) && (Time >= 20)
trigger29 = stateno = 1071;疾風
trigger30 = stateno = 1073;疾風
trigger31 = (stateno = 1012) && (Time >= 5);ブランカヒット後
trigger32 = stateno = 100
trigger33 = stateno = 110
trigger34 = stateno = 115

[State -1, 鬼符「青鬼赤鬼」]
type = ChangeState
value = 1390
triggerall = PalNo = [var(40),11]
triggerall = command = "spell_5a"
triggerall = power >= 5000
triggerall = NumHelper(11100) = 0
triggerall = NumHelper(11110) = 0
triggerall = NumHelper(1411) = 0
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact
trigger4 = stateno = 250
trigger5 = stateno = 400
trigger5 = movecontact
trigger6 = stateno = 440
trigger6 = movecontact
trigger7 = (stateno = 300) && (Time >= 16);b
trigger8 = (stateno = 330) && (Time >= 20);→b
trigger9 = (stateno = 310) && (Time >= 18);c
trigger10 = (stateno = 430) && (Time >= 20);↓c
trigger11 = (stateno = 1100) && (Time >= 44) ;赤鬼
trigger12 = (stateno = 1105) && (Time >= 70) ;これも
trigger13 =  stateno = 1152                  ;ひっかいて着地
trigger14 = (stateno = 1157) && (Time >= 10) ;蹴ったあと
trigger15 = stateno = 1071;疾風
trigger16 = stateno = 100

[State -1, 化猫「橙」]
type = ChangeState
value = 1380
triggerall = PalNo = [var(40),11]
triggerall = command = "spell_4b"
triggerall = power >= 4000
triggerall = NumHelper(1411) = 0
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact
trigger4 = stateno = 250
trigger5 = stateno = 400
trigger5 = movecontact
trigger6 = stateno = 440
trigger6 = movecontact
trigger7 = (stateno = 300) && (Time >= 16);b
trigger8 = (stateno = 330) && (Time >= 20);→b
trigger9 = (stateno = 310) && (Time >= 18);c
trigger10 = (stateno = 430) && (Time >= 20);↓c
trigger11 = (stateno = 1100) && (Time >= 44) ;赤鬼
trigger12 = (stateno = 1105) && (Time >= 70) ;これも
trigger13 =  stateno = 1152                  ;ひっかいて着地
trigger14 = (stateno = 1157) && (Time >= 10) ;蹴ったあと
trigger15 = stateno = 1071;疾風
trigger16 = stateno = 100

[State -1, 方符「奇門遁甲」]
type = ChangeState
value = 1370
triggerall = PalNo = [var(40),11]
triggerall = command = "spell_4a"
triggerall = power >= 4000
triggerall = NumHelper(1411) = 0
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact
trigger4 = stateno = 250
trigger5 = stateno = 400
trigger5 = movecontact
trigger6 = stateno = 440
trigger6 = movecontact
trigger7 = (stateno = 300) && (Time >= 16);b
trigger8 = (stateno = 330) && (Time >= 20);→b
trigger9 = (stateno = 310) && (Time >= 18);c
trigger10 = (stateno = 430) && (Time >= 20);↓c
trigger11 = (stateno = 1100) && (Time >= 44) ;赤鬼
trigger12 = (stateno = 1105) && (Time >= 70) ;これも
trigger13 =  stateno = 1152                  ;ひっかいて着地
trigger14 = (stateno = 1157) && (Time >= 10) ;蹴ったあと
trigger15 = stateno = 1071;疾風
trigger16 = stateno = 100


[State -1, 星符「飛び重ね鱗」]
type = ChangeState
value = 1360
triggerall = PalNo = [var(40),11]
triggerall = command = "spell_3b"
triggerall = power >= 3000
triggerall = NumHelper(1411) = 0
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact
trigger4 = stateno = 250
trigger5 = stateno = 400
trigger5 = movecontact
trigger6 = stateno = 440
trigger6 = movecontact
trigger7 = (stateno = 300) && (Time >= 16);b
trigger8 = (stateno = 330) && (Time >= 20);→b
trigger9 = (stateno = 310) && (Time >= 18);c
trigger10 = (stateno = 430) && (Time >= 20);↓c
trigger11 = (stateno = 1100) && (Time >= 44) ;赤鬼
trigger12 = (stateno = 1105) && (Time >= 70) ;これも
trigger13 =  stateno = 1152                  ;ひっかいて着地
trigger14 = (stateno = 1157) && (Time >= 10) ;蹴ったあと
trigger15 = stateno = 1071;疾風
trigger16 = stateno = 100

[State -1, 赤鬼「抜山蓋世」]
type = ChangeState
value = 1350
triggerall = PalNo = [var(40),11]
triggerall = command = "spell_3a"
triggerall = power >= 3000
triggerall = NumHelper(11100) = 0
triggerall = NumHelper(1411) = 0
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact
trigger4 = stateno = 250
trigger5 = stateno = 400
trigger5 = movecontact
trigger6 = stateno = 440
trigger6 = movecontact
trigger7 = (stateno = 300) && (Time >= 16);b
trigger8 = (stateno = 330) && (Time >= 20);→b
trigger9 = (stateno = 310) && (Time >= 18);c
trigger10 = (stateno = 430) && (Time >= 20);↓c
trigger11 = (stateno = 1100) && (Time >= 44) ;赤鬼
trigger12 = (stateno = 1105) && (Time >= 70) ;これも
trigger13 =  stateno = 1152                  ;ひっかいて着地
trigger14 = (stateno = 1157) && (Time >= 10) ;蹴ったあと
trigger15 = stateno = 1071;疾風
trigger16 = (stateno = 1110) && (Time >= 24) ;青鬼から連携
trigger17 = (stateno = 1115) && (Time >= 24) ;青鬼から連携
trigger18 = stateno = 100

[State -1, 青鬼「鬼哭啾啾」]
type = ChangeState
value = 1340
triggerall = PalNo = [var(40),11]
triggerall = command = "spell_2b"
triggerall = power >= 2000
triggerall = NumHelper(11110) = 0
triggerall = NumHelper(1411) = 0
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact
trigger4 = stateno = 250
trigger5 = stateno = 400
trigger5 = movecontact
trigger6 = stateno = 440
trigger6 = movecontact
trigger7 = (stateno = 300) && (Time >= 16);b
trigger8 = (stateno = 330) && (Time >= 20);→b
trigger9 = (stateno = 310) && (Time >= 18);c
trigger10 = (stateno = 430) && (Time >= 20);↓c
trigger11 = (stateno = 1100) && (Time >= 44) ;赤鬼
trigger12 = (stateno = 1105) && (Time >= 70) ;これも
trigger13 =  stateno = 1152                  ;ひっかいて着地
trigger14 = (stateno = 1157) && (Time >= 10) ;蹴ったあと
trigger15 = stateno = 1071;疾風
trigger16 = (stateno = 1100) && (Time >= 24) ;赤鬼から連携
trigger17 = (stateno = 1105) && (Time >= 24) ;赤鬼から連携
trigger18 = stateno = 100

[State -1, 眷属「猫まっしぐら」]
type = ChangeState
value = 1330
triggerall = PalNo = [var(40),11]
triggerall = command = "spell_2c"
triggerall = power >= 2000
triggerall = NumHelper(1411) = 0
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact
trigger4 = stateno = 250
trigger5 = stateno = 400
trigger5 = movecontact
trigger6 = stateno = 440
trigger6 = movecontact
trigger7 = (stateno = 300) && (Time >= 16);b
trigger8 = (stateno = 330) && (Time >= 20);→b
trigger9 = (stateno = 310) && (Time >= 18);c
trigger10 = (stateno = 430) && (Time >= 20);↓c
trigger11 = (stateno = 1100) && (Time >= 44) ;赤鬼
trigger12 = (stateno = 1105) && (Time >= 70) ;これも
trigger13 =  stateno = 1152                  ;ひっかいて着地
trigger14 = (stateno = 1157) && (Time >= 10) ;蹴ったあと
trigger15 = stateno = 1071;疾風
trigger16 = stateno = 100

[State -1, 墜符「地落し九曜」]
type = ChangeState
value = 1320
triggerall = PalNo = [var(40),11]
triggerall = command = "spell_2a"
triggerall = power >= 2000
triggerall = NumHelper(1411) = 0
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact
trigger4 = stateno = 250
trigger5 = stateno = 400
trigger5 = movecontact
trigger6 = stateno = 440
trigger6 = movecontact
trigger7 = (stateno = 300) && (Time >= 16);b
trigger8 = (stateno = 330) && (Time >= 20);→b
trigger9 = (stateno = 310) && (Time >= 18);c
trigger10 = (stateno = 430) && (Time >= 20);↓c
trigger11 = (stateno = 700) && (Time >= 20);空中b
trigger12 = (stateno = 730) && (Time >= 20);→b
trigger13 = (stateno = 710) && (Time >= 24);c
trigger14 = (stateno = 720) && (Time >= 50);↓c
trigger15 = (stateno = 1024) && (Time >= 5);韋駄天ヒット後
trigger16 = (stateno = 1051) && (Time >= 5);ソニック
trigger17 = (stateno = 1100) && (Time >= 44) ;赤鬼
trigger18 = (stateno = 1105) && (Time >= 70) ;これも
trigger19 =  stateno = 1152                  ;ひっかいて着地
trigger20 = (stateno = 1157) && (Time >= 10) ;蹴ったあと
trigger21 = (stateno = 600) && (Time >= 6)
trigger22 = (stateno = 630) && (Time >= 14)
trigger23 = stateno = 241
trigger23 = movecontact
trigger24 = stateno = 242
trigger25 = stateno = 271
trigger25 = movecontact
trigger26 = stateno = 272
trigger27 = (stateno = 1161) && (Time >= 14);飛び跳ね
trigger28 = (stateno = 1166) && (Time >= 20)
trigger29 = stateno = 1071;疾風
trigger30 = stateno = 1073;疾風
trigger31 = (stateno = 1012) && (Time >= 5);ブランカヒット後
trigger32 = stateno = 100
trigger33 = stateno = 110
trigger34 = stateno = 115


[State -1, 仙符「鳳凰卵」]
type = ChangeState
value = 1300
triggerall = PalNo = [var(40),11]
triggerall = command = "spell_1"
triggerall = power >= 1000
triggerall = NumHelper(1411) = 0
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact
trigger4 = stateno = 250
trigger5 = stateno = 400
trigger5 = movecontact
trigger6 = stateno = 440
trigger6 = movecontact
trigger7 = (stateno = 300) && (Time >= 16);b
trigger8 = (stateno = 330) && (Time >= 20);→b
trigger9 = (stateno = 310) && (Time >= 18);c
trigger10 = (stateno = 430) && (Time >= 20);↓c
trigger11 = (stateno = 1100) && (Time >= 44) ;赤鬼
trigger12 = (stateno = 1105) && (Time >= 70) ;これも
trigger13 =  stateno = 1152                  ;ひっかいて着地
trigger14 = (stateno = 1157) && (Time >= 10) ;蹴ったあと
trigger15 = stateno = 1071;疾風
trigger16 = stateno = 100

[State -1, 霊撃]
type = ChangeState
value = 1210
triggerall = PalNo = [var(40),11]
triggerall = command = "spell_0a"
triggerall = power >= 1000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact
trigger4 = stateno = 250
trigger5 = stateno = 400
trigger5 = movecontact
trigger6 = stateno = 440
trigger6 = movecontact
trigger7 = (stateno = 300) && (Time >= 16);b
trigger8 = (stateno = 330) && (Time >= 20);→b
trigger9 = (stateno = 310) && (Time >= 18);c
trigger10 = (stateno = 430) && (Time >= 20);↓c
trigger11 = (stateno = 1100) && (Time >= 44) ;赤鬼
trigger12 = (stateno = 1105) && (Time >= 70) ;これも
trigger13 =  stateno = 1152                  ;ひっかいて着地
trigger14 = (stateno = 1157) && (Time >= 10) ;蹴ったあと

[State -1, 気質発現]
type = ChangeState
value = 1220
triggerall = PalNo = [var(40),11]
triggerall = command = "spell_0b"
triggerall = power >= 1000
trigger1 = statetype != A
trigger1 = ctrl

[State -1, ローリング]
type = ChangeState
value = 1010
triggerall = PalNo = [var(40),11]
triggerall = var(2) >= 25
triggerall = command = "rolling_b"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact
trigger4 = stateno = 250
trigger5 = stateno = 400
trigger5 = movecontact
trigger6 = stateno = 440
trigger6 = movecontact
trigger7 = (stateno = 300) && (Time >= 16);b
trigger8 = (stateno = 330) && (Time >= 20);→b
trigger9 = (stateno = 310) && (Time >= 18);c
trigger10 = (stateno = 430) && (Time >= 20);↓c

[State -1, ローリング]
type = ChangeState
value = 1015
triggerall = PalNo = [var(40),11]
triggerall = var(2) >= 25
triggerall = command = "rolling_c"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact
trigger4 = stateno = 250
trigger5 = stateno = 400
trigger5 = movecontact
trigger6 = stateno = 440
trigger6 = movecontact
trigger7 = (stateno = 300) && (Time >= 20);b
trigger8 = (stateno = 330) && (Time >= 24);→b
trigger9 = (stateno = 310) && (Time >= 22);c
trigger10 = (stateno = 430) && (Time >= 20);↓c


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

[State -1, 八雲特殊発動]
type = ChangeState
value = 1410
triggerall = Palno = 12
triggerall = command = "test3"
triggerall = NumHelper(1411) = 0
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact
trigger4 = stateno = 250
trigger5 = stateno = 400
trigger5 = movecontact
trigger6 = stateno = 440
trigger6 = movecontact
trigger7 = (stateno = 300) && (Time >= 16);b
trigger8 = (stateno = 330) && (Time >= 20);→b
trigger9 = (stateno = 310) && (Time >= 18);c
trigger10 = (stateno = 430) && (Time >= 20);↓c
trigger11 = (stateno = 1100) && (Time >= 44) ;赤鬼
trigger12 = (stateno = 1105) && (Time >= 70) ;これも
trigger13 =  stateno = 1152                  ;ひっかいて着地
trigger14 = (stateno = 1157) && (Time >= 10) ;蹴ったあと
trigger15 = stateno = 1071;疾風
trigger16 = stateno = 100

[State -1, 毘沙門特殊発動]
type = ChangeState
value = 1400
triggerall = Palno = 12
triggerall = command = "test2"
triggerall = NumHelper(1411) = 0
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact
trigger4 = stateno = 250
trigger5 = stateno = 400
trigger5 = movecontact
trigger6 = stateno = 440
trigger6 = movecontact
trigger7 = (stateno = 300) && (Time >= 16);b
trigger8 = (stateno = 330) && (Time >= 20);→b
trigger9 = (stateno = 310) && (Time >= 18);c
trigger10 = (stateno = 430) && (Time >= 20);↓c
trigger11 = (stateno = 700) && (Time >= 20);空中b
trigger12 = (stateno = 730) && (Time >= 20);→b
trigger13 = (stateno = 710) && (Time >= 24);c
trigger14 = (stateno = 720) && (Time >= 50);↓c
trigger15 = (stateno = 1024) && (Time >= 5);韋駄天ヒット後
trigger16 = (stateno = 1051) && (Time >= 5);ソニック
trigger17 = (stateno = 1100) && (Time >= 44) ;赤鬼
trigger18 = (stateno = 1105) && (Time >= 70) ;これも
trigger19 =  stateno = 1152                  ;ひっかいて着地
trigger20 = (stateno = 1157) && (Time >= 10) ;蹴ったあと
trigger21 = (stateno = 600) && (Time >= 6)
trigger22 = (stateno = 630) && (Time >= 14)
trigger23 = stateno = 241
trigger23 = movecontact
trigger24 = stateno = 242
trigger25 = stateno = 271
trigger25 = movecontact
trigger26 = stateno = 272
trigger27 = (stateno = 1161) && (Time >= 14);飛び跳ね
trigger28 = (stateno = 1166) && (Time >= 20)
trigger29 = stateno = 1071;疾風
trigger30 = stateno = 1073;疾風
trigger31 = (stateno = 1012) && (Time >= 5);ブランカヒット後
trigger32 = stateno = 100
trigger33 = stateno = 110
trigger34 = stateno = 115


[State -1, 青鬼赤鬼特殊発動]
type = ChangeState
value = 1390
triggerall = Palno = 12
triggerall = command = "test"
triggerall = NumHelper(11100) = 0
triggerall = NumHelper(11110) = 0
triggerall = NumHelper(1411) = 0
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact
trigger4 = stateno = 250
trigger5 = stateno = 400
trigger5 = movecontact
trigger6 = stateno = 440
trigger6 = movecontact
trigger7 = (stateno = 300) && (Time >= 16);b
trigger8 = (stateno = 330) && (Time >= 20);→b
trigger9 = (stateno = 310) && (Time >= 18);c
trigger10 = (stateno = 430) && (Time >= 20);↓c
trigger11 = (stateno = 1100) && (Time >= 44) ;赤鬼
trigger12 = (stateno = 1105) && (Time >= 70) ;これも
trigger13 =  stateno = 1152                  ;ひっかいて着地
trigger14 = (stateno = 1157) && (Time >= 10) ;蹴ったあと
trigger15 = stateno = 1071;疾風
trigger16 = stateno = 100

[State -1, 式弾「アルティメットブディスト」]
type = ChangeState
value = 1410
triggerall = PalNo != [var(40),11]
triggerall = command = "card_use"
triggerall = NumHelper(1411) = 0
triggerall = power >= 5000
triggerall = var(54) = 27
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact
trigger4 = stateno = 250
trigger5 = stateno = 400
trigger5 = movecontact
trigger6 = stateno = 440
trigger6 = movecontact
trigger7 = (stateno = 300) && (Time >= 16);b
trigger8 = (stateno = 330) && (Time >= 20);→b
trigger9 = (stateno = 310) && (Time >= 18);c
trigger10 = (stateno = 430) && (Time >= 20);↓c
trigger11 = (stateno = 1100) && (Time >= 44) ;赤鬼
trigger12 = (stateno = 1105) && (Time >= 70) ;これも
trigger13 =  stateno = 1152                  ;ひっかいて着地
trigger14 = (stateno = 1157) && (Time >= 10) ;蹴ったあと
trigger15 = stateno = 1071;疾風
trigger16 = stateno = 100

[State -1, 鬼神「飛翔毘沙門天」]
type = ChangeState
value = 1400
triggerall = PalNo != [var(40),11]
triggerall = command = "card_use"
triggerall = power >= 5000
triggerall = var(54) = 29
triggerall = NumHelper(1411) = 0
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact
trigger4 = stateno = 250
trigger5 = stateno = 400
trigger5 = movecontact
trigger6 = stateno = 440
trigger6 = movecontact
trigger7 = (stateno = 300) && (Time >= 16);b
trigger8 = (stateno = 330) && (Time >= 20);→b
trigger9 = (stateno = 310) && (Time >= 18);c
trigger10 = (stateno = 430) && (Time >= 20);↓c
trigger11 = (stateno = 700) && (Time >= 20);空中b
trigger12 = (stateno = 730) && (Time >= 20);→b
trigger13 = (stateno = 710) && (Time >= 24);c
trigger14 = (stateno = 720) && (Time >= 50);↓c
trigger15 = (stateno = 1024) && (Time >= 5);韋駄天ヒット後
trigger16 = (stateno = 1051) && (Time >= 5);ソニック
trigger17 = (stateno = 1100) && (Time >= 44) ;赤鬼
trigger18 = (stateno = 1105) && (Time >= 70) ;これも
trigger19 =  stateno = 1152                  ;ひっかいて着地
trigger20 = (stateno = 1157) && (Time >= 10) ;蹴ったあと
trigger21 = (stateno = 600) && (Time >= 6)
trigger22 = (stateno = 630) && (Time >= 14)
trigger23 = stateno = 241
trigger23 = movecontact
trigger24 = stateno = 242
trigger25 = stateno = 271
trigger25 = movecontact
trigger26 = stateno = 272
trigger27 = (stateno = 1161) && (Time >= 14);飛び跳ね
trigger28 = (stateno = 1166) && (Time >= 20)
trigger29 = stateno = 1071;疾風
trigger30 = stateno = 1073;疾風
trigger31 = (stateno = 1012) && (Time >= 5);ブランカヒット後
trigger32 = stateno = 100
trigger33 = stateno = 110
trigger34 = stateno = 115

[State -1, 鬼符「青鬼赤鬼」]
type = ChangeState
value = 1390
triggerall = PalNo != [var(40),11]
triggerall = command = "card_use"
triggerall = power >= 5000
triggerall = var(54) = 28
triggerall = NumHelper(11100) = 0
triggerall = NumHelper(11110) = 0
triggerall = NumHelper(1411) = 0
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact
trigger4 = stateno = 250
trigger5 = stateno = 400
trigger5 = movecontact
trigger6 = stateno = 440
trigger6 = movecontact
trigger7 = (stateno = 300) && (Time >= 16);b
trigger8 = (stateno = 330) && (Time >= 20);→b
trigger9 = (stateno = 310) && (Time >= 18);c
trigger10 = (stateno = 430) && (Time >= 20);↓c
trigger11 = (stateno = 1100) && (Time >= 44) ;赤鬼
trigger12 = (stateno = 1105) && (Time >= 70) ;これも
trigger13 =  stateno = 1152                  ;ひっかいて着地
trigger14 = (stateno = 1157) && (Time >= 10) ;蹴ったあと
trigger15 = stateno = 1071;疾風
trigger16 = stateno = 100

[State -1, 化猫「橙」]
type = ChangeState
value = 1380
triggerall = PalNo != [var(40),11]
triggerall = command = "card_use"
triggerall = power >= 4000
triggerall = var(54) = 26
triggerall = NumHelper(1411) = 0
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact
trigger4 = stateno = 250
trigger5 = stateno = 400
trigger5 = movecontact
trigger6 = stateno = 440
trigger6 = movecontact
trigger7 = (stateno = 300) && (Time >= 16);b
trigger8 = (stateno = 330) && (Time >= 20);→b
trigger9 = (stateno = 310) && (Time >= 18);c
trigger10 = (stateno = 430) && (Time >= 20);↓c
trigger11 = (stateno = 1100) && (Time >= 44) ;赤鬼
trigger12 = (stateno = 1105) && (Time >= 70) ;これも
trigger13 =  stateno = 1152                  ;ひっかいて着地
trigger14 = (stateno = 1157) && (Time >= 10) ;蹴ったあと
trigger15 = stateno = 1071;疾風
trigger16 = stateno = 100

[State -1, 方符「奇門遁甲」]
type = ChangeState
value = 1370
triggerall = PalNo != [var(40),11]
triggerall = command = "card_use"
triggerall = power >= 4000
triggerall = var(54) = 25
triggerall = NumHelper(1411) = 0
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact
trigger4 = stateno = 250
trigger5 = stateno = 400
trigger5 = movecontact
trigger6 = stateno = 440
trigger6 = movecontact
trigger7 = (stateno = 300) && (Time >= 16);b
trigger8 = (stateno = 330) && (Time >= 20);→b
trigger9 = (stateno = 310) && (Time >= 18);c
trigger10 = (stateno = 430) && (Time >= 20);↓c
trigger11 = (stateno = 1100) && (Time >= 44) ;赤鬼
trigger12 = (stateno = 1105) && (Time >= 70) ;これも
trigger13 =  stateno = 1152                  ;ひっかいて着地
trigger14 = (stateno = 1157) && (Time >= 10) ;蹴ったあと
trigger15 = stateno = 1071;疾風
trigger16 = stateno = 100


[State -1, 星符「飛び重ね鱗」]
type = ChangeState
value = 1360
triggerall = PalNo != [var(40),11]
triggerall = command = "card_use"
triggerall = power >= 3000
triggerall = var(54) = 23
triggerall = NumHelper(1411) = 0
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact
trigger4 = stateno = 250
trigger5 = stateno = 400
trigger5 = movecontact
trigger6 = stateno = 440
trigger6 = movecontact
trigger7 = (stateno = 300) && (Time >= 16);b
trigger8 = (stateno = 330) && (Time >= 20);→b
trigger9 = (stateno = 310) && (Time >= 18);c
trigger10 = (stateno = 430) && (Time >= 20);↓c
trigger11 = (stateno = 1100) && (Time >= 44) ;赤鬼
trigger12 = (stateno = 1105) && (Time >= 70) ;これも
trigger13 =  stateno = 1152                  ;ひっかいて着地
trigger14 = (stateno = 1157) && (Time >= 10) ;蹴ったあと
trigger15 = stateno = 1071;疾風
trigger16 = stateno = 100

[State -1, 赤鬼「抜山蓋世」]
type = ChangeState
value = 1350
triggerall = PalNo != [var(40),11]
triggerall = command = "card_use"
triggerall = power >= 3000
triggerall = NumHelper(11100) = 0
triggerall = var(54) = 24
triggerall = NumHelper(1411) = 0
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact
trigger4 = stateno = 250
trigger5 = stateno = 400
trigger5 = movecontact
trigger6 = stateno = 440
trigger6 = movecontact
trigger7 = (stateno = 300) && (Time >= 16);b
trigger8 = (stateno = 330) && (Time >= 20);→b
trigger9 = (stateno = 310) && (Time >= 18);c
trigger10 = (stateno = 430) && (Time >= 20);↓c
trigger11 = (stateno = 1100) && (Time >= 44) ;赤鬼
trigger12 = (stateno = 1105) && (Time >= 70) ;これも
trigger13 =  stateno = 1152                  ;ひっかいて着地
trigger14 = (stateno = 1157) && (Time >= 10) ;蹴ったあと
trigger15 = stateno = 1071;疾風
trigger16 = (stateno = 1110) && (Time >= 24) ;青鬼から連携
trigger17 = (stateno = 1115) && (Time >= 24) ;青鬼から連携
trigger18 = stateno = 100

[State -1, 青鬼「鬼哭啾啾」]
type = ChangeState
value = 1340
triggerall = PalNo != [var(40),11]
triggerall = command = "card_use"
triggerall = power >= 2000
triggerall = NumHelper(11110) = 0
triggerall = var(54) = 22
triggerall = NumHelper(1411) = 0
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact
trigger4 = stateno = 250
trigger5 = stateno = 400
trigger5 = movecontact
trigger6 = stateno = 440
trigger6 = movecontact
trigger7 = (stateno = 300) && (Time >= 16);b
trigger8 = (stateno = 330) && (Time >= 20);→b
trigger9 = (stateno = 310) && (Time >= 18);c
trigger10 = (stateno = 430) && (Time >= 20);↓c
trigger11 = (stateno = 1100) && (Time >= 44) ;赤鬼
trigger12 = (stateno = 1105) && (Time >= 70) ;これも
trigger13 =  stateno = 1152                  ;ひっかいて着地
trigger14 = (stateno = 1157) && (Time >= 10) ;蹴ったあと
trigger15 = stateno = 1071;疾風
trigger16 = (stateno = 1100) && (Time >= 24) ;赤鬼から連携
trigger17 = (stateno = 1105) && (Time >= 24) ;赤鬼から連携
trigger18 = stateno = 100

[State -1, 眷属「猫まっしぐら」]
type = ChangeState
value = 1330
triggerall = PalNo != [var(40),11]
triggerall = command = "card_use"
triggerall = power >= 2000
triggerall = var(54) = 21
triggerall = NumHelper(1411) = 0
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact
trigger4 = stateno = 250
trigger5 = stateno = 400
trigger5 = movecontact
trigger6 = stateno = 440
trigger6 = movecontact
trigger7 = (stateno = 300) && (Time >= 16);b
trigger8 = (stateno = 330) && (Time >= 20);→b
trigger9 = (stateno = 310) && (Time >= 18);c
trigger10 = (stateno = 430) && (Time >= 20);↓c
trigger11 = (stateno = 1100) && (Time >= 44) ;赤鬼
trigger12 = (stateno = 1105) && (Time >= 70) ;これも
trigger13 =  stateno = 1152                  ;ひっかいて着地
trigger14 = (stateno = 1157) && (Time >= 10) ;蹴ったあと
trigger15 = stateno = 1071;疾風
trigger16 = stateno = 100

[State -1, 墜符「地落し九曜」]
type = ChangeState
value = 1320
triggerall = PalNo != [var(40),11]
triggerall = command = "card_use"
triggerall = power >= 2000
triggerall = var(54) = 20
triggerall = NumHelper(1411) = 0
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact
trigger4 = stateno = 250
trigger5 = stateno = 400
trigger5 = movecontact
trigger6 = stateno = 440
trigger6 = movecontact
trigger7 = (stateno = 300) && (Time >= 16);b
trigger8 = (stateno = 330) && (Time >= 20);→b
trigger9 = (stateno = 310) && (Time >= 18);c
trigger10 = (stateno = 430) && (Time >= 20);↓c
trigger11 = (stateno = 700) && (Time >= 20);空中b
trigger12 = (stateno = 730) && (Time >= 20);→b
trigger13 = (stateno = 710) && (Time >= 24);c
trigger14 = (stateno = 720) && (Time >= 50);↓c
trigger15 = (stateno = 1024) && (Time >= 5);韋駄天ヒット後
trigger16 = (stateno = 1051) && (Time >= 5);ソニック
trigger17 = (stateno = 1100) && (Time >= 44) ;赤鬼
trigger18 = (stateno = 1105) && (Time >= 70) ;これも
trigger19 =  stateno = 1152                  ;ひっかいて着地
trigger20 = (stateno = 1157) && (Time >= 10) ;蹴ったあと
trigger21 = (stateno = 600) && (Time >= 6)
trigger22 = (stateno = 630) && (Time >= 14)
trigger23 = stateno = 241
trigger23 = movecontact
trigger24 = stateno = 242
trigger25 = stateno = 271
trigger25 = movecontact
trigger26 = stateno = 272
trigger27 = (stateno = 1161) && (Time >= 14);飛び跳ね
trigger28 = (stateno = 1166) && (Time >= 20)
trigger29 = stateno = 1071;疾風
trigger30 = stateno = 1073;疾風
trigger31 = (stateno = 1012) && (Time >= 5);ブランカヒット後
trigger32 = stateno = 100
trigger33 = stateno = 110
trigger34 = stateno = 115


[State -1, 仙符「鳳凰卵」]
type = ChangeState
value = 1300
triggerall = PalNo != [var(40),11]
triggerall = command = "card_use"
triggerall = power >= 1000
triggerall = var(54) = 18
triggerall = NumHelper(1411) = 0
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact
trigger4 = stateno = 250
trigger5 = stateno = 400
trigger5 = movecontact
trigger6 = stateno = 440
trigger6 = movecontact
trigger7 = (stateno = 300) && (Time >= 16);b
trigger8 = (stateno = 330) && (Time >= 20);→b
trigger9 = (stateno = 310) && (Time >= 18);c
trigger10 = (stateno = 430) && (Time >= 20);↓c
trigger11 = (stateno = 1100) && (Time >= 44) ;赤鬼
trigger12 = (stateno = 1105) && (Time >= 70) ;これも
trigger13 =  stateno = 1152                  ;ひっかいて着地
trigger14 = (stateno = 1157) && (Time >= 10) ;蹴ったあと
trigger15 = stateno = 1071;疾風
trigger16 = stateno = 100


[State -1, スキルカード使用]
type = ChangeState
value = 1200
triggerall = PalNo != [var(40),11]
triggerall = command = "card_use"
triggerall = power >= 1000
triggerall = var(54) >= 6
triggerall = var(54) <= 17
trigger1 = statetype != A
trigger1 = ctrl

[State -1, 霊撃]
type = ChangeState
value = 1210
triggerall = PalNo != [var(40),11]
triggerall = command = "card_use"
triggerall = power >= 1000
triggerall = var(54) = 0
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact
trigger4 = stateno = 250
trigger5 = stateno = 400
trigger5 = movecontact
trigger6 = stateno = 440
trigger6 = movecontact
trigger7 = (stateno = 300) && (Time >= 16);b
trigger8 = (stateno = 330) && (Time >= 20);→b
trigger9 = (stateno = 310) && (Time >= 18);c
trigger10 = (stateno = 430) && (Time >= 20);↓c
trigger11 = (stateno = 1100) && (Time >= 44) ;赤鬼
trigger12 = (stateno = 1105) && (Time >= 70) ;これも
trigger13 =  stateno = 1152                  ;ひっかいて着地
trigger14 = (stateno = 1157) && (Time >= 10) ;蹴ったあと

[State -1, 気質発現]
type = ChangeState
value = 1220
triggerall = PalNo != [var(40),11]
triggerall = command = "card_use"
triggerall = power >= 1000
triggerall = var(54) = 1
trigger1 = statetype != A
trigger1 = ctrl


;------------------------------------------------------------------------------
;------------------------------------------------------------------------------
;コマンド技
;214:1000-1049
;236:1050-1099
;22 :1100-1149
;623:1150-1199

[State -1, ひっかき]
type = ChangeState
value = 1150
triggerall = var(2) >= 25
triggerall = command = "623b"
triggerall = var(53) = 15
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact
trigger4 = stateno = 250
trigger5 = stateno = 400
trigger5 = movecontact
trigger6 = stateno = 440
trigger6 = movecontact
trigger7 = (stateno = 300) && (Time >= 16);b
trigger8 = (stateno = 330) && (Time >= 20);→b
trigger9 = (stateno = 310) && (Time >= 18);c
trigger10 = (stateno = 430) && (Time >= 20);↓c

[State -1, ひっかき]
type = ChangeState
value = 1155
triggerall = var(2) >= 25
triggerall = command = "623c"
triggerall = var(53) = 15
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact
trigger4 = stateno = 250
trigger5 = stateno = 400
trigger5 = movecontact
trigger6 = stateno = 440
trigger6 = movecontact
trigger7 = (stateno = 300) && (Time >= 16);b
trigger8 = (stateno = 330) && (Time >= 20);→b
trigger9 = (stateno = 310) && (Time >= 18);c
trigger10 = (stateno = 430) && (Time >= 20);↓c

[State -1, うろこ]
type = ChangeState
value = 1160
triggerall = var(2) >= 25
triggerall = command = "623b"
triggerall = var(53) = 16
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact
trigger4 = stateno = 250
trigger5 = stateno = 400
trigger5 = movecontact
trigger6 = stateno = 440
trigger6 = movecontact
trigger7 = (stateno = 300) && (Time >= 16);b
trigger8 = (stateno = 330) && (Time >= 20);→b
trigger9 = (stateno = 310) && (Time >= 18);c
trigger10 = (stateno = 430) && (Time >= 20);↓c

[State -1, うろこ]
type = ChangeState
value = 1165
triggerall = var(2) >= 25
triggerall = command = "623c"
triggerall = var(53) = 16
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact
trigger4 = stateno = 250
trigger5 = stateno = 400
trigger5 = movecontact
trigger6 = stateno = 440
trigger6 = movecontact
trigger7 = (stateno = 300) && (Time >= 16);b
trigger8 = (stateno = 330) && (Time >= 20);→b
trigger9 = (stateno = 310) && (Time >= 18);c
trigger10 = (stateno = 430) && (Time >= 20);↓c

[State -1, 韋駄天]
type = ChangeState
value = 1020
triggerall = var(2) >= 25
triggerall = (command = "214b") || (command = "214c")
triggerall = var(50) = 8
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact
trigger4 = stateno = 250
trigger5 = stateno = 400
trigger5 = movecontact
trigger6 = stateno = 440
trigger6 = movecontact
trigger7 = (stateno = 300) && (Time >= 16);b
trigger8 = (stateno = 330) && (Time >= 20);→b
trigger9 = (stateno = 310) && (Time >= 18);c
trigger10 = (stateno = 430) && (Time >= 20);↓c
trigger11 = (stateno = 700) && (Time >= 20);空中b
trigger12 = (stateno = 730) && (Time >= 20);→b
trigger13 = (stateno = 710) && (Time >= 24);c
trigger14 = (stateno = 720) && (Time >= 50);↓c
trigger15 = (stateno = 600) && (Time >= 6)
trigger16 = (stateno = 630) && (Time >= 14)
trigger17 = stateno = 241
trigger17 = movecontact
trigger18 = stateno = 242
trigger19 = stateno = 271
trigger19 = movecontact
trigger20 = stateno = 272


[State -1, ローリング]
type = ChangeState
value = 1010
triggerall = var(2) >= 25
triggerall = command = "214b"
triggerall = var(50) = 7
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact
trigger4 = stateno = 250
trigger5 = stateno = 400
trigger5 = movecontact
trigger6 = stateno = 440
trigger6 = movecontact
trigger7 = (stateno = 300) && (Time >= 16);b
trigger8 = (stateno = 330) && (Time >= 20);→b
trigger9 = (stateno = 310) && (Time >= 18);c
trigger10 = (stateno = 430) && (Time >= 20);↓c

[State -1, ローリング]
type = ChangeState
value = 1015
triggerall = var(2) >= 25
triggerall = command = "214c"
triggerall = var(50) = 7
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact
trigger4 = stateno = 250
trigger5 = stateno = 400
trigger5 = movecontact
trigger6 = stateno = 440
trigger6 = movecontact
trigger7 = (stateno = 300) && (Time >= 20);b
trigger8 = (stateno = 330) && (Time >= 24);→b
trigger9 = (stateno = 310) && (Time >= 22);c
trigger10 = (stateno = 430) && (Time >= 20);↓c

[State -1, 疾風]
type = ChangeState
value = 1070
triggerall = var(2) >= 25
triggerall = (command = "236b") || (command = "236c")
triggerall = var(51) = 11
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact
trigger4 = stateno = 250
trigger5 = stateno = 400
trigger5 = movecontact
trigger6 = stateno = 440
trigger6 = movecontact
trigger7 = (stateno = 300) && (Time >= 16);b
trigger8 = (stateno = 330) && (Time >= 20);→b
trigger9 = (stateno = 310) && (Time >= 18);c
trigger10 = (stateno = 430) && (Time >= 20);↓c

[State -1, 疾風空]
type = ChangeState
value = 1072
triggerall = var(2) >= 25
triggerall = (command = "236b") || (command = "236c")
triggerall = var(51) = 11
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact
trigger4 = stateno = 250
trigger5 = stateno = 400
trigger5 = movecontact
trigger6 = stateno = 440
trigger6 = movecontact
trigger7 = (stateno = 300) && (Time >= 16);b
trigger8 = (stateno = 330) && (Time >= 20);→b
trigger9 = (stateno = 310) && (Time >= 18);c
trigger10 = (stateno = 430) && (Time >= 20);↓c
trigger11 = (stateno = 700) && (Time >= 20);空中b
trigger12 = (stateno = 730) && (Time >= 20);→b
trigger13 = (stateno = 710) && (Time >= 24);c
trigger14 = (stateno = 720) && (Time >= 50);↓c
trigger15 = (stateno = 600) && (Time >= 6)
trigger16 = (stateno = 630) && (Time >= 14)
trigger17 = stateno = 241
trigger17 = movecontact
trigger18 = stateno = 242
trigger19 = stateno = 271
trigger19 = movecontact
trigger20 = stateno = 272

[State -1, 波]
type = ChangeState
value = 1050
triggerall = var(2) >= 25
triggerall = (command = "236b") || (command = "236c")
triggerall = var(51) = 10
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact
trigger4 = stateno = 250
trigger5 = stateno = 400
trigger5 = movecontact
trigger6 = stateno = 440
trigger6 = movecontact
trigger7 = (stateno = 300) && (Time >= 16);b
trigger8 = (stateno = 330) && (Time >= 20);→b
trigger9 = (stateno = 310) && (Time >= 18);c
trigger10 = (stateno = 430) && (Time >= 20);↓c

[State -1, 赤鬼]
type = ChangeState
value = 1100
triggerall = var(2) >= 25
triggerall = command = "22b"
triggerall = var(52) = 12
triggerall = NumHelper(11100) = 0
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact
trigger4 = stateno = 250
trigger5 = stateno = 400
trigger5 = movecontact
trigger6 = stateno = 440
trigger6 = movecontact
trigger7 = (stateno = 300) && (Time >= 16);b
trigger8 = (stateno = 330) && (Time >= 20);→b
trigger9 = (stateno = 310) && (Time >= 18);c
trigger10 = (stateno = 430) && (Time >= 20);↓c

[State -1, 赤鬼]
type = ChangeState
value = 1105
triggerall = var(2) >= 25
triggerall = command = "22c"
triggerall = var(52) = 12
triggerall = NumHelper(11100) = 0
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact
trigger4 = stateno = 250
trigger5 = stateno = 400
trigger5 = movecontact
trigger6 = stateno = 440
trigger6 = movecontact
trigger7 = (stateno = 300) && (Time >= 16);b
trigger8 = (stateno = 330) && (Time >= 20);→b
trigger9 = (stateno = 310) && (Time >= 18);c
trigger10 = (stateno = 430) && (Time >= 20);↓c

[State -1, 青鬼]
type = ChangeState
value = 1110
triggerall = var(2) >= 25
triggerall = command = "22b"
triggerall = var(52) = 13
triggerall = NumHelper(11110) = 0
triggerall = NumHelper(11114) = 0
triggerall = NumHelper(11115) = 0
triggerall = NumHelper(11116) = 0
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact
trigger4 = stateno = 250
trigger5 = stateno = 400
trigger5 = movecontact
trigger6 = stateno = 440
trigger6 = movecontact
trigger7 = (stateno = 300) && (Time >= 16);b
trigger8 = (stateno = 330) && (Time >= 20);→b
trigger9 = (stateno = 310) && (Time >= 18);c
trigger10 = (stateno = 430) && (Time >= 20);↓c

[State -1, 青鬼]
type = ChangeState
value = 1115
triggerall = var(2) >= 25
triggerall = command = "22c"
triggerall = var(52) = 13
triggerall = NumHelper(11110) = 0
triggerall = NumHelper(11114) = 0
triggerall = NumHelper(11115) = 0
triggerall = NumHelper(11116) = 0
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact
trigger4 = stateno = 250
trigger5 = stateno = 400
trigger5 = movecontact
trigger6 = stateno = 440
trigger6 = movecontact
trigger7 = (stateno = 300) && (Time >= 16);b
trigger8 = (stateno = 330) && (Time >= 20);→b
trigger9 = (stateno = 310) && (Time >= 18);c
trigger10 = (stateno = 430) && (Time >= 20);↓c

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

[State -1, 走る]
type = ChangeState
value = 100
triggerall = statetype = S
triggerall = ctrl
trigger1 = command = "FF"
trigger2 = command = "fly"
trigger2 = command = "holdfwd"
trigger2 = command != "holdup"
trigger2 = command != "holddown"
trigger2 = stateno != 100


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

[State -1, 空中前]
type = ChangeState
value = 110
trigger1 = command = "FF"
trigger1 = statetype = A
trigger1 = ctrl
trigger1 = var(0) < 2

[State -1, 空中後]
type = ChangeState
value = 115
trigger1 = command = "BB"
trigger1 = statetype = A
trigger1 = ctrl
trigger1 = var(0) < 2

[State -1, ハイジャンプ前キャンセル]
type = ChangeState
value = 70
triggerall = command = "holdup"
triggerall = command = "holdfwd"
triggerall = command != "holdback"
trigger1 = (stateno = 300) && (Time >= 24);b
trigger2 = (stateno = 330) && (Time >= 28);→b
trigger3 = (stateno = 310) && (Time >= 28);c
trigger4 = (stateno = 440) && (Time >= 26);↓b
trigger5 = (stateno = 430) && (Time >= 22);↓c


[State -1, ハイジャンプ後キャンセル]
type = ChangeState
value = 80
triggerall = command = "holdup"
triggerall = command != "holdfwd"
triggerall = command = "holdback"
trigger1 = (stateno = 300) && (Time >= 24);b
trigger2 = (stateno = 330) && (Time >= 28);→b
trigger3 = (stateno = 310) && (Time >= 28);c
trigger4 = (stateno = 440) && (Time >= 26);↓b
trigger5 = (stateno = 430) && (Time >= 22);↓c


[State -1, ハイジャンプキャンセル]
type = ChangeState
value = 60
triggerall = command = "holdup"
triggerall = command != "holdfwd"
triggerall = command != "holdback"
trigger1 = (stateno = 300) && (Time >= 24);b
trigger2 = (stateno = 330) && (Time >= 28);→b
trigger3 = (stateno = 310) && (Time >= 28);c
trigger4 = (stateno = 440) && (Time >= 26);↓b
trigger5 = (stateno = 430) && (Time >= 22);↓c


[State -1, ハイジャンプ前];ダッシュジャンプとは別
type = ChangeState
value = 70
triggerall = statetype != A
triggerall = ctrl
triggerall = command = "holdfwd"
triggerall = command != "holdback"
trigger1 = command = "DUF"
trigger2 = command = "holdup"
trigger2 = command = "fly"
trigger2 = stateno != 100

[State -1, ハイジャンプ後]
type = ChangeState
value = 80
triggerall = statetype != A
triggerall = ctrl
triggerall = command != "holdfwd"
triggerall = command = "holdback"
trigger1 = command = "DUB"
trigger2 = command = "holdup"
trigger2 = command = "fly"


[State -1, ハイジャンプ]
type = ChangeState
value = 60
triggerall = statetype != A
triggerall = ctrl
triggerall = command != "holdfwd"
triggerall = command != "holdback"
trigger1 = command = "DU"
trigger2 = command = "up_x"

;飛翔わりふり
;statedef117
;始動
;F92, UF93, U94, UB95, B96, DB97, D98, DF99

[State -1, 飛翔F]
type = ChangeState
value = 92
triggerall = statetype = A
triggerall = command = "holdfwd"
triggerall = command = "fly"
triggerall = Pos Y < -30
triggerall = command != "holdup"
triggerall = command != "holddown"
triggerall = var(0) < 2
trigger1 = ctrl
trigger1 = stateno = 50
trigger1 = time > 10
trigger2 = ctrl
trigger2 = stateno != 50

[State -1, 飛翔UF]
type = ChangeState
value = 93
triggerall = statetype = A
triggerall = command = "holdfwd"
triggerall = command = "fly"
triggerall = Pos Y < -30
triggerall = command = "holdup"
triggerall = command != "holddown"
triggerall = var(0) < 2
trigger1 = ctrl
trigger1 = stateno = 50
trigger1 = time > 10
trigger2 = ctrl
trigger2 = stateno != 50

[State -1, 飛翔U]
type = ChangeState
value = 94
triggerall = statetype = A
triggerall = command != "holdfwd"
triggerall = command != "holdback"
triggerall = command = "fly"
triggerall = Pos Y < -30
triggerall = command = "holdup"
triggerall = command != "holddown"
triggerall = var(0) < 2
trigger1 = ctrl
trigger1 = stateno = 50
trigger1 = time > 10
trigger2 = ctrl
trigger2 = stateno != 50

[State -1, 飛翔UB]
type = ChangeState
value = 95
triggerall = statetype = A
triggerall = ctrl
triggerall = command = "holdback"
triggerall = command = "fly"
triggerall = Pos Y < -30
triggerall = command = "holdup"
triggerall = command != "holddown"
trigger1 = var(0) < 2
trigger1 = stateno = 50
trigger1 = time > 10
trigger2 = ctrl
trigger2 = stateno != 50

[State -1, 飛翔B]
type = ChangeState
value = 96
triggerall = command = "holdback"
triggerall = command = "fly"
triggerall = Pos Y < -30
triggerall = command != "holdup"
triggerall = command != "holddown"
triggerall = statetype = A
triggerall = var(0) < 2
trigger1 = ctrl
trigger1 = stateno = 50
trigger1 = time > 10
trigger2 = ctrl
trigger2 = stateno != 50

[State -1, 飛翔DB]
type = ChangeState
value = 97
triggerall = command = "holdback"
triggerall = command = "fly"
triggerall = Pos Y < -30
triggerall = command != "holdup"
triggerall = command = "holddown"
triggerall = statetype = A
triggerall = var(0) < 2
trigger1 = ctrl
trigger1 = stateno = 50
trigger1 = time > 10
trigger2 = ctrl
trigger2 = stateno != 50

[State -1, 飛翔D]
type = ChangeState
value = 98
triggerall = command != "holdfwd"
triggerall = command != "holdback"
triggerall = command = "fly"
triggerall = Pos Y < -30
triggerall = command != "holdup"
triggerall = command = "holddown"
triggerall = statetype = A
triggerall = var(0) < 2
trigger1 = ctrl
trigger1 = stateno = 50
trigger1 = time > 10
trigger2 = ctrl
trigger2 = stateno != 50

[State -1, 飛翔DF]
type = ChangeState
value = 99
triggerall = command = "holdfwd"
triggerall = command = "fly"
triggerall = Pos Y < -30
triggerall = command != "holdup"
triggerall = command = "holddown"
triggerall = statetype = A
triggerall = var(0) < 2
trigger1 = ctrl
trigger1 = stateno = 50
trigger1 = time > 10
trigger2 = ctrl
trigger2 = stateno != 50

;==============================================================================
; 通常攻撃技
;==============================================================================
;------------------------------------------------------------------------------
[State -1, ダッシュa];横まわり
type = ChangeState
value = 270
triggerall = command = "a"
triggerall = command = "holdfwd"
triggerall = StateType != A
trigger1 = stateno = 100

[State -1, ダッシュb];ブランカ１
type = ChangeState
value = 260
triggerall = command = "b"
triggerall = command = "holdfwd"
triggerall = StateType != A
trigger1 = stateno = 100

[State -1, ダッシュc];ブランカ２
type = ChangeState
value = 280
triggerall = command = "c"
triggerall = command = "holdfwd"
triggerall = StateType != A
trigger1 = stateno = 100

[State -1, 前a];押し出し
type = ChangeState
value = 210
triggerall = command = "a"
triggerall = command = "holdfwd"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = stateno != 100

;a四連携：200-201-240(242)-250

;[State -1, ４回目a];押し出し
;type = ChangeState
;value = 250
;triggerall = command = "a"
;triggerall = command != "holddown"
;triggerall = StateType != A
;trigger1 = stateno = 242

[State -1, ３回目a];まわる
type = ChangeState
value = 240
triggerall = command = "a"
triggerall = command != "holddown"
triggerall = StateType != A
trigger1 = (stateno = 201) && movecontact

[State -1, ２回目a];もう一回
type = ChangeState
value = 201
triggerall = command = "a"
triggerall = command != "holddown"
triggerall = StateType != A
trigger1 = (stateno = 200) && movecontact

[State -1, そのままa];猫パンチ
type = ChangeState
value = 200
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

[State -1, →b射]
type = ChangeState
value = 330
triggerall = var(2) >= 25
triggerall = command = "b"
triggerall = command = "holdfwd"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = stateno != 100
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact

[State -1, b射]
type = ChangeState
value = 300
triggerall = var(2) >= 25
triggerall = command = "b"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = stateno != 100
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact

[State -1, c射]
type = ChangeState
value = 310
triggerall = var(2) >= 25
triggerall = command = "c"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = stateno != 100
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 201
trigger3 = movecontact

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

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

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

[State -1, しゃがみa]
type = ChangeState
value = 400
triggerall = command = "a"
triggerall = command = "holddown"
triggerall = command != "holdfwd"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = (stateno = 400) && movecontact ;キャンセル可

[State -1, しゃがみ前a]
type = ChangeState
value = 410
triggerall = command = "a"
triggerall = command = "holddown"
triggerall = command = "holdfwd"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = (stateno = 400) && movecontact ;小足からキャンセル可

[State -1, けり２]
type = ChangeState
value = 440
triggerall = command = "b"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = (stateno = 400) && movecontact ;小足からキャンセル可
trigger3 = stateno = 200
trigger3 = movecontact
trigger4 = stateno = 201
trigger4 = movecontact

[State -1, しゃがみc]
type = ChangeState
value = 430
triggerall = command = "c"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl

;------------------------------------------------------------------------------
[State -1, 空中ブランカ]
type = ChangeState
value = 630
triggerall = command = "a"
triggerall = command = "holdfwd"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600
trigger2 = movecontact
trigger3 = (stateno = 1161) && (Time >= 24 - ifElse(var(49) = 4,10,var(49)*2))
trigger4 = (stateno = 1166) && (Time >= 30 - ifElse(var(49) = 4,10,var(49)*2))

[State -1, ふみつけ]
type = ChangeState
value = 610
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600
trigger2 = movecontact
trigger3 = (stateno = 1161) && (Time >= 24 - ifElse(var(49) = 4,10,var(49)*2))
trigger4 = (stateno = 1166) && (Time >= 30 - ifElse(var(49) = 4,10,var(49)*2))

[State -1, 空中a]
type = ChangeState
value = 600
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = statetype = A
trigger1 = ctrl
;trigger2 = (stateno = 600) && (time >= 6)
;trigger2 = movecontact
trigger2 = (stateno = 1161) && (Time >= 24 - ifElse(var(49) = 4,10,var(49)*2))
trigger3 = (stateno = 1166) && (Time >= 30 - ifElse(var(49) = 4,10,var(49)*2))

[State -1, 空中↓b]
type = ChangeState
value = 730
triggerall = var(2) >= 25
triggerall = command = "b"
triggerall = command = "holddown"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = (stateno = 600) && (Time >= 6)
trigger3 = (stateno = 630) && (Time >= 14)
trigger4 = stateno = 241
trigger4 = movecontact
trigger5 = stateno = 242
trigger6 = stateno = 271
trigger6 = movecontact
trigger7 = stateno = 272

[State -1, 空中b]
type = ChangeState
value = 700
triggerall = var(2) >= 25
triggerall = command = "b"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = (stateno = 600) && (Time >= 6)
trigger3 = (stateno = 630) && (Time >= 14)
trigger4 = stateno = 241
trigger4 = movecontact
trigger5 = stateno = 242
trigger6 = stateno = 271
trigger6 = movecontact
trigger7 = stateno = 272

[State -1, 空中↓c]
type = ChangeState
value = 720
triggerall = var(2) >= 25
triggerall = command = "c"
triggerall = command = "holddown"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = (stateno = 600) && (Time >= 6)
trigger3 = (stateno = 630) && (Time >= 14)
trigger4 = stateno = 241
trigger4 = movecontact
trigger5 = stateno = 242
trigger6 = stateno = 271
trigger6 = movecontact
trigger7 = stateno = 272

[State -1, 空中c]
type = ChangeState
value = 710
triggerall = var(2) >= 25
triggerall = command = "c"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = (stateno = 600) && (Time >= 6)
trigger3 = (stateno = 630) && (Time >= 14)
trigger4 = stateno = 241
trigger4 = movecontact
trigger5 = stateno = 242
trigger6 = stateno = 271
trigger6 = movecontact
trigger7 = stateno = 272

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