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

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

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

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

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

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

[Command]
name = "The･World!!"
command = ~c

[Command]
name = "The･World?"
command = ~s

[Command]
name = "ChronosBreaker"
command = ~D, DB, x+y
time = 30

[Command]
name = "ChronosBreaker.b"
command = ~D, DB, b
time = 30

[Command]
name = "空裂眼刺驚!!"
command = ~F, B, c
time = 30

[Command]
name = "Checkmate1"
command = ~D, DF, x+y
time = 30

[Command]
name = "Checkmate2"
command = ~D, DF, y+z
time = 30

[Command]
name = "Checkmate3"
command = ~D, DF, z+x
time = 30

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

[Command]
name = "Annihilator"
command = ~D, D, b
time = 30

[Command]
name = "WRYYYYYYYYYAAAAAAAAAAA!!!"
command = ~D, DB, c
time = 30

[Command]
name = "B･Install"
command = ~D, DB, B, D, DB, B, y
time = 40

[Command]
name = "B･Uninstall"
command = ~D, DB, B, D, DB, B, z
time = 40

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

[Command]
name = "Catastrophe1"
command = ~B, D, BD, x
time = 12

[Command]
name = "Catastrophe2"
command = ~B, D, BD, y
time = 12

[Command]
name = "Catastrophe3"
command = ~B, D, BD, z
time = 12

[Command]
name = "バウンス1"
command = ~F, D, FD, y
time = 15

[Command]
name = "バウンス2"
command = ~F, D, FD, z
time = 15

[Command]
name = "ムダァッ！弱"
command = ~D, DB, B, x
time = 15

[Command]
name = "ムダァッ！中"
command = ~D, DB, B, y
time = 15

[Command]
name = "ムダァッ！強"
command = ~D, DB, B, z
time = 15

[Command]
name = "無駄無駄ッ！弱"
command = ~D, DF, F, x
time = 12

[Command]
name = "無駄無駄ッ！弱"
command = ~D, DF, F, ~x
time = 12

[Command]
name = "無駄無駄ッ！中"
command = ~D, DF, F, ~y
time = 12

[Command]
name = "無駄無駄ッ！中"
command = ~D, DF, F, y
time = 12

[Command]
name = "無駄無駄ッ！強"
command = ~D, DF, F, z
time = 12

[Command]
name = "無駄無駄ッ！強"
command = ~D, DF, F, ~z
time = 12

[Command]
name = "You are iDIOt!!1"
command = ~D, D, x
time = 20

[Command]
name = "You are iDIOt!!2"
command = ~D, D, y
time = 20

[Command]
name = "You are iDIOt!!3"
command = ~D, D, z
time = 20

[Command]
name = "回り込み"
command = x+y+z

[Command]
name = "回り込み"
command = b

[Command]
name = "空裂眼刺驚"
command = ~F, B, x
time = 15

[Command]
name = "Redemption"
command = ~F, D, FD, x
time = 15

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

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

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

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

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

[Command]
name = "ｱﾄﾞﾊﾞﾝｼﾝｸﾞｶﾞｰﾄﾞ"
command = x+y+z
time = 5

[Command]
name = "ｱﾄﾞﾊﾞﾝｼﾝｸﾞｶﾞｰﾄﾞ"
command = b
time = 5

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

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

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

;------------------------------------------------------------------------------
;-| ボタン単発 |---------------------------------------------------------------

[Command]
name = "a"
command = a
time = 1

[Command]
name = "b"
command = b
time = 1

[Command]
name = "c"
command = c
time = 1

[Command]
name = "x"
command = x
time = 1

[Command]
name = "y"
command = y
time = 1

[Command]
name = "z"
command = z
time = 1

[Command]
name = "start"
command = s
time = 1

;------------------------------------------------------------------------------
;-| 方向キー |-----------------------------------------------------------------
[Command]
name = "holdfwd"   ;必須コマンド名
command = /$F
time = 1

[Command]
name = "holdback"  ;必須コマンド名
command = /$B
time = 1

[Command]
name = "holdup"    ;必須コマンド名
command = /$U
time = 1

[Command]
name = "holddown"  ;必須コマンド名
command = /$D
time = 1

[Command]
name = "holda"
command = /a
time = 1

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

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

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

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

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

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

[Command]
name = "fwd"
command = F
time = 1

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

[Command]
name = "down"
command = $D
time = 1

;-----------------------------------------------------------
;ハイジャンポ他

[Command]
Name    = "hijump"
Command = $D, $U
Time    = 10

[Command]
Name    = "hijump"
Command = /x, $U
Time    = 1

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

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

;==============================================================================
; 超必殺技
;==============================================================================
;------------------------------------------------------------------------------
;The･World!!
[State -1, DIOの世界]
type = ChangeState
value = 16878
triggerall = numhelper(10000) = 0
triggerall = numhelper(20000) = 0
triggerall = var(19) = 0
triggerall = roundstate = 2
triggerall = command = "The･World!!"
triggerall = statetype != A
triggerall = power >= 3000
trigger1 = ctrl
trigger2   = stateno = [100,101]
trigger2   = StateNo = 1120 && time > 4
trigger3   = stateno = 52
trigger4   = stateno = 200
trigger4   = MoveContact > 1
trigger5   = stateno = 200 && AnimElem = 4,>= 0
trigger6   = stateno = 210
trigger6   = MoveContact > 1
trigger6   = stateno = 210 && AnimElem = 5,>= 0
trigger7   = stateno = 220
trigger7   = MoveContact > 1
trigger7   = stateno = 220 && AnimElem = 5,>= 0
trigger8   = stateno = 400
trigger8   = MoveContact > 1
trigger8   = stateno = 400 && AnimElem = 7,>= 0
trigger9   = stateno = 410
trigger9   = MoveContact > 1
trigger9   = stateno = 410 && AnimElem = 5,>= 0
ignorehitpause = 0

;The･World?
[State -1,DIOの世界解除]
type = ChangeState
value = 4
triggerall = stateno = 16878 
triggerall = var(19) = 0
triggerall = roundstate = 2
triggerall = command = "The･World?"
triggerall = statetype != A
trigger1 = ctrl
trigger2   = stateno = [100,101]
trigger2   = StateNo = 1120 && time > 4
trigger3   = stateno = 52
trigger4   = stateno = 16878 

;ChronosBreaker
[State -1]
type       = ChangeState
value      = 11693
triggerall = roundstate = 2
triggerall = command = "ChronosBreaker" || command = "ChronosBreaker.b" 
triggerall = power >= 1000
;triggerall = var(19) = 0
triggerall = Numhelper < 32
triggerall = command != "holddown"
triggerall = numhelper(10000) = 0
triggerall = numhelper(20000) = 0
triggerall = statetype = S 
Trigger1   = Ctrl
trigger2   = stateno = [100,101]
trigger2   = StateNo = 1120 && time > 4
trigger3   = stateno = 52
trigger4   = stateno = 200
trigger4   = MoveContact > 1
trigger5   = stateno = 200 && AnimElem = 4,>= 0
trigger6   = stateno = 210
trigger6   = MoveContact > 1
trigger6   = stateno = 210 && AnimElem = 5,>= 0
trigger7   = stateno = 220
trigger7   = MoveContact > 1
trigger7   = stateno = 220 && AnimElem = 5,>= 0
trigger8   = stateno = 400
trigger8   = MoveContact > 1
trigger8   = stateno = 400 && AnimElem = 7,>= 0
trigger9   = stateno = 410
trigger9   = MoveContact > 1
trigger9   = stateno = 410 && AnimElem = 5,>= 0

;Annihilator
[State -1]
type = ChangeState
value = 8729
triggerall = enemy,life <= 300
triggerall = power >= 2000
triggerall = numhelper(10000) = 0
triggerall = numhelper(20000) = 0
triggerall = command != "holddown"
triggerall = command = "Annihilator"
trigger1 = statetype = S
trigger1 = statetype != A
trigger1 = ctrl
trigger2   = stateno = [100,101]
trigger2   = StateNo = 1120 && time > 4
trigger3   = stateno = 52
trigger4   = stateno = 200
trigger4   = MoveContact > 1
trigger5   = stateno = 200 && AnimElem = 4,>= 0
trigger6   = stateno = 210
trigger6   = MoveContact > 1
trigger6   = stateno = 210 && AnimElem = 5,>= 0
trigger7   = stateno = 220
trigger7   = MoveContact > 1
trigger7   = stateno = 220 && AnimElem = 5,>= 0
trigger8   = stateno = 400
trigger8   = MoveContact > 1
trigger8   = stateno = 400 && AnimElem = 7,>= 0
trigger9   = stateno = 410
trigger9   = MoveContact > 1
trigger9   = stateno = 410 && AnimElem = 5,>= 0

;空裂眼刺驚！！
[State -1]
type       = ChangeState
value      = 11694
triggerall = roundstate = 2
triggerall = command = "空裂眼刺驚!!" 
triggerall = power >= 1000
triggerall = var(19) = 0
triggerall = command != "holddown"
triggerall = numhelper(10000) = 0
triggerall = statetype = S 
Trigger1   = Ctrl
trigger2   = stateno = [100,101]
trigger2   = StateNo = 1120 && time > 4
trigger3   = stateno = 52
trigger4   = stateno = 200
trigger4   = MoveContact > 1
trigger5   = stateno = 200 && AnimElem = 4,>= 0
trigger6   = stateno = 210
trigger6   = MoveContact > 1
trigger6   = stateno = 210 && AnimElem = 5,>= 0
trigger7   = stateno = 220
trigger7   = MoveContact > 1
trigger7   = stateno = 220 && AnimElem = 5,>= 0
trigger8   = stateno = 400
trigger8   = MoveContact > 1
trigger8   = stateno = 400 && AnimElem = 7,>= 0
trigger9   = stateno = 410
trigger9   = MoveContact > 1
trigger9   = stateno = 410 && AnimElem = 5,>= 0

;時止専用空裂眼刺驚！！
[State -1]
type       = ChangeState
value      = 11794
triggerall = roundstate = 2
triggerall = command = "空裂眼刺驚!!" 
triggerall = power >= 1000
triggerall = var(19) = 1
triggerall = command != "holddown"
triggerall = numhelper(10000) = 0
triggerall = statetype = S 
Trigger1   = Ctrl
trigger2   = stateno = [100,101]
trigger2   = StateNo = 1120 && time > 4
trigger3   = stateno = 52
trigger4   = stateno = 200
trigger4   = MoveContact > 1
trigger5   = stateno = 200 && AnimElem = 4,>= 0
trigger6   = stateno = 210
trigger6   = MoveContact > 1
trigger6   = stateno = 210 && AnimElem = 5,>= 0
trigger7   = stateno = 220
trigger7   = MoveContact > 1
trigger7   = stateno = 220 && AnimElem = 5,>= 0
trigger8   = stateno = 400
trigger8   = MoveContact > 1
trigger8   = stateno = 400 && AnimElem = 7,>= 0
trigger9   = stateno = 410
trigger9   = MoveContact > 1
trigger9   = stateno = 410 && AnimElem = 5,>= 0

;Checkmate!!
[State -1]
type       = ChangeState
value      = 39830
triggerall = var(19) = 0
triggerall = numhelper(20000) = 1
triggerall = roundstate = 2
triggerall = power >= 1000
triggerall = command != "a"
triggerall = command = "Checkmate1" || command = "Checkmate2" || command = "Checkmate3"|| command = "Checkmate4"
triggerall = command != "holddown"
triggerall = Numhelper < 32
triggerall = statetype != A
Trigger1   = Ctrl
trigger2   = stateno = [100, 106]
trigger3   = stateno = 52
trigger4  = StateNo = 8200 && helper(20000),stateno = 10200 && helper(20000),AnimElem = 4,>= 0
trigger4  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger5  = StateNo = 8210 && helper(20000),stateno = 10210 && helper(20000),AnimElem = 5,>= 0
trigger5  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger6  = StateNo = 8220 && helper(20000),stateno = 10220 && helper(20000),AnimElem = 5,>= 0
trigger6  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger7  = StateNo = 8400 && helper(20000),stateno = 10400 && helper(20000),AnimElem = 2,>= 0
trigger7  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger8  = StateNo = 8410 && helper(20000),stateno = 10410 && helper(20000),AnimElem = 3,>= 0
trigger8  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger9  = StateNo = 9230 && helper(20000),stateno = 11230 && helper(20000),AnimElem = 4,>= 0
trigger9  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger10  = StateNo = 8300 && helper(20000),stateno = 10300 && helper(20000),AnimElem = 4,>= 0
trigger10  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger11  = StateNo = 8310 && helper(20000),stateno = 10310 && helper(20000),AnimElem = 5,>= 0
trigger11  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger12  = StateNo = 8320 && helper(20000),stateno = 10320 && helper(20000),AnimElem = 5,>= 0
trigger12  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0

;空中Checkmate!!
[State -1]
type       = ChangeState
value      = 39850
triggerall = var(19) = 0
triggerall = numhelper(20000) = 1
triggerall = roundstate = 2
triggerall = power >= 1000
triggerall = command != "a"
triggerall = command = "Checkmate1" || command = "Checkmate2" || command = "Checkmate3"|| command = "Checkmate4"
triggerall = command != "holddown"
triggerall = Numhelper < 32
triggerall = statetype = A
triggerall = Pos Y < -8
Trigger1   = Ctrl
trigger2   = stateno = 168 || stateno = 169
trigger2  = StateNo = 8600 && helper(20000),stateno = 11600 && helper(20000),AnimElem = 2,>= 0
trigger2  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger3  = StateNo = 8610 && helper(20000),stateno = 11610 && helper(20000),AnimElem = 2,>= 0
trigger3  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger4  = StateNo = 8620 && helper(20000),stateno = 11620 && helper(20000),AnimElem = 3,>= 0
trigger4  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0

;時止専用Checkmate!!
[State -1]
type       = ChangeState
value      = 39831
triggerall = var(19) = 1
triggerall = numhelper(20000) = 1
triggerall = roundstate = 2
triggerall = power >= 1000
triggerall = command != "a"
triggerall = command = "Checkmate1" || command = "Checkmate2" || command = "Checkmate3"|| command = "Checkmate4"
triggerall = command != "holddown"
triggerall = Numhelper < 32
triggerall = statetype != A
Trigger1   = Ctrl
trigger2   = stateno = [100, 106]
trigger3   = stateno = 52
trigger4  = StateNo = 8200 && helper(20000),stateno = 10200 && helper(20000),AnimElem = 4,>= 0
trigger4  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger5  = StateNo = 8210 && helper(20000),stateno = 10210 && helper(20000),AnimElem = 5,>= 0
trigger5  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger6  = StateNo = 8220 && helper(20000),stateno = 10220 && helper(20000),AnimElem = 5,>= 0
trigger6  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger7  = StateNo = 8400 && helper(20000),stateno = 10400 && helper(20000),AnimElem = 2,>= 0
trigger7  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger8  = StateNo = 8410 && helper(20000),stateno = 10410 && helper(20000),AnimElem = 3,>= 0
trigger8  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger9  = StateNo = 9230 && helper(20000),stateno = 11230 && helper(20000),AnimElem = 4,>= 0
trigger9  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger10  = StateNo = 8300 && helper(20000),stateno = 10300 && helper(20000),AnimElem = 4,>= 0
trigger10  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger11  = StateNo = 8310 && helper(20000),stateno = 10310 && helper(20000),AnimElem = 5,>= 0
trigger11  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger12  = StateNo = 8320 && helper(20000),stateno = 10320 && helper(20000),AnimElem = 5,>= 0
trigger12  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0

;空中時止専用Checkmate!!
[State -1]
type       = ChangeState
value      = 39851
triggerall = var(19) = 1
triggerall = numhelper(20000) = 1
triggerall = roundstate = 2
triggerall = power >= 1000
triggerall = command != "a"
triggerall = command = "Checkmate1" || command = "Checkmate2" || command = "Checkmate3"|| command = "Checkmate4"
triggerall = command != "holddown"
triggerall = Numhelper < 32
triggerall = statetype = A
triggerall = Pos Y < -8
Trigger1   = Ctrl
trigger2   = stateno = 168 || stateno = 169
trigger2  = StateNo = 8600 && helper(20000),stateno = 11600 && helper(20000),AnimElem = 2,>= 0
trigger2  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger3  = StateNo = 8610 && helper(20000),stateno = 11610 && helper(20000),AnimElem = 2,>= 0
trigger3  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger4  = StateNo = 8620 && helper(20000),stateno = 11620 && helper(20000),AnimElem = 3,>= 0
trigger4  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0

;本体Checkmate!!
[State -1]
type       = ChangeState
value      = 29839
triggerall = power >= 1000
triggerall = var(19) = 0
triggerall = command = "Checkmate1" || command = "Checkmate2" || command = "Checkmate3"|| command = "Checkmate4"
triggerall = roundstate = 2
triggerall = command != "holddown"
triggerall = Numhelper < 32
triggerall = statetype != A
Trigger1   = Ctrl
trigger2   = stateno = [100, 106]
trigger3   = stateno = 52
trigger4  = StateNo = 8200 && helper(20000),stateno = 10200 && helper(20000),AnimElem = 4,>= 0
trigger4  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger5  = StateNo = 8210 && helper(20000),stateno = 10210 && helper(20000),AnimElem = 5,>= 0
trigger5  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger6  = StateNo = 8220 && helper(20000),stateno = 10220 && helper(20000),AnimElem = 5,>= 0
trigger6  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger7  = StateNo = 8400 && helper(20000),stateno = 10400 && helper(20000),AnimElem = 2,>= 0
trigger7  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger8  = StateNo = 8410 && helper(20000),stateno = 10410 && helper(20000),AnimElem = 3,>= 0
trigger8  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger9  = StateNo = 9230 && helper(20000),stateno = 11230 && helper(20000),AnimElem = 4,>= 0
trigger9  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger10  = StateNo = 8300 && helper(20000),stateno = 10300 && helper(20000),AnimElem = 4,>= 0
trigger10  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger11  = StateNo = 8310 && helper(20000),stateno = 10310 && helper(20000),AnimElem = 5,>= 0
trigger11  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger12  = StateNo = 8320 && helper(20000),stateno = 10320 && helper(20000),AnimElem = 5,>= 0
trigger12  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0

;時止専用本体Checkmate!!
[State -1]
type       = ChangeState
value      = 29840
triggerall = power >= 1000
triggerall = var(19) = 1
triggerall = command = "Checkmate1" || command = "Checkmate2" || command = "Checkmate3"|| command = "Checkmate4"
triggerall = roundstate = 2
triggerall = command != "holddown"
triggerall = Numhelper < 32
triggerall = statetype != A
Trigger1   = Ctrl
trigger2   = stateno = [100, 106]
trigger3   = stateno = 52
trigger4  = StateNo = 8200 && helper(20000),stateno = 10200 && helper(20000),AnimElem = 4,>= 0
trigger4  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger5  = StateNo = 8210 && helper(20000),stateno = 10210 && helper(20000),AnimElem = 5,>= 0
trigger5  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger6  = StateNo = 8220 && helper(20000),stateno = 10220 && helper(20000),AnimElem = 5,>= 0
trigger6  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger7  = StateNo = 8400 && helper(20000),stateno = 10400 && helper(20000),AnimElem = 2,>= 0
trigger7  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger8  = StateNo = 8410 && helper(20000),stateno = 10410 && helper(20000),AnimElem = 3,>= 0
trigger8  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger9  = StateNo = 9230 && helper(20000),stateno = 11230 && helper(20000),AnimElem = 4,>= 0
trigger9  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger10  = StateNo = 8300 && helper(20000),stateno = 10300 && helper(20000),AnimElem = 4,>= 0
trigger10  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger11  = StateNo = 8310 && helper(20000),stateno = 10310 && helper(20000),AnimElem = 5,>= 0
trigger11  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger12  = StateNo = 8320 && helper(20000),stateno = 10320 && helper(20000),AnimElem = 5,>= 0
trigger12  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0

;==============================================================================
; 必殺技&特殊技
;==============================================================================
;B･Install
[State -1, ﾌﾞﾗﾝﾄﾞｰｲﾝｽﾄｰﾙ]
type = ChangeState
value = 33333
triggerall = var(19) = 0
triggerall = var(29) = 0
triggerall = var(33) = 0
triggerall = power >= 2000
triggerall = roundstate = 2
triggerall = command = "B･Install"
triggerall = statetype != A
trigger1 = ctrl
trigger2   = stateno = [100,101]
trigger2   = StateNo = 1120 && time > 4
trigger3   = stateno = 52
trigger4   = stateno = 200
trigger4   = MoveContact > 1
trigger5   = stateno = 200 && AnimElem = 4,>= 0
trigger6   = stateno = 210
trigger6   = MoveContact > 1
trigger6   = stateno = 210 && AnimElem = 5,>= 0
trigger7   = stateno = 220
trigger7   = MoveContact > 1
trigger7   = stateno = 220 && AnimElem = 5,>= 0
trigger8   = stateno = 400
trigger8   = MoveContact > 1
trigger8   = stateno = 400 && AnimElem = 7,>= 0
trigger9   = stateno = 410
trigger9   = MoveContact > 1
trigger9   = stateno = 410 && AnimElem = 5,>= 0
ignorehitpause = 0

;B･Uninstall
[State -1, ﾌﾞﾗﾝﾄﾞｰｱﾝｲﾝｽﾄｰﾙ]
type = ChangeState
value = 33334
triggerall = var(12) = 0
triggerall = var(19) = 0
triggerall = var(29) = 1
triggerall = var(33) = 1
triggerall = roundstate = 2
triggerall = command = "B･Uninstall"
triggerall = statetype != A
trigger1 = ctrl
trigger2   = stateno = [100,101]
trigger2   = StateNo = 1120 && time > 4
trigger3   = stateno = 52
trigger4   = stateno = 200
trigger4   = MoveContact > 1
trigger5   = stateno = 200 && AnimElem = 4,>= 0
trigger6   = stateno = 210
trigger6   = MoveContact > 1
trigger6   = stateno = 210 && AnimElem = 5,>= 0
trigger7   = stateno = 220
trigger7   = MoveContact > 1
trigger7   = stateno = 220 && AnimElem = 5,>= 0
trigger8   = stateno = 400
trigger8   = MoveContact > 1
trigger8   = stateno = 400 && AnimElem = 7,>= 0
trigger9   = stateno = 410
trigger9   = MoveContact > 1
trigger9   = stateno = 410 && AnimElem = 5,>= 0
ignorehitpause = 0

;DIO式バウンスノーバウンス
[State -1]
type = ChangeState
value = 6878
triggerall = command = "バウンス1"
triggerall = numhelper(20000) = 0
trigger1 = statetype != A
trigger1 = ctrl || (stateno = 100 && time >= 4) || stateno = 101 || (stateno = 105 && time >= 4)
trigger2 = StateNo = 200
trigger3 = StateNo = 210
trigger4 = StateNo = 220
trigger5 = StateNo = 400
trigger6 = StateNo = 410
trigger7 = StateNo = 204
trigger8 = stateno = 700
trigger9 = stateno = 401
ignorehitpause = 0

;DIO式バウンスノーバウンス
[State -1]
type = ChangeState
value = 6878
triggerall = command = "バウンス2"
triggerall = numhelper(20000) = 0
trigger1 = statetype != A
trigger1 = ctrl || (stateno = 100 && time >= 4) || stateno = 101 || (stateno = 105 && time >= 4)
trigger2 = StateNo = 200
trigger3 = StateNo = 210
trigger4 = StateNo = 220
trigger5 = StateNo = 400
trigger6 = StateNo = 410
trigger7 = StateNo = 204
trigger8 = stateno = 700
trigger9 = stateno = 401
ignorehitpause = 0

;Redemption
;[State -1]
type = ChangeState
value = 33335
triggerall = var(29) = 1
triggerall = roundstate = 2
triggerall = command = "Redemption"
triggerall = statetype != A
trigger1 = ctrl
trigger2   = stateno = [100,101]
trigger2   = StateNo = 1120 && time > 4
trigger3   = stateno = 52
trigger4   = stateno = 200
trigger4   = MoveContact > 1
trigger5   = stateno = 200 && AnimElem = 4,>= 0
trigger6   = stateno = 210
trigger6   = MoveContact > 1
trigger6   = stateno = 210 && AnimElem = 5,>= 0
trigger7   = stateno = 220
trigger7   = MoveContact > 1
trigger7   = stateno = 220 && AnimElem = 5,>= 0
trigger8   = stateno = 400
trigger8   = MoveContact > 1
trigger8   = stateno = 400 && AnimElem = 7,>= 0
trigger9   = stateno = 410
trigger9   = MoveContact > 1
trigger9   = stateno = 410 && AnimElem = 5,>= 0
ignorehitpause = 0

;Catastrophe
[State -1]
type = ChangeState
value = 7290
triggerall = roundstate = 2
triggerall = numhelper(20000) = 0
triggerall = command = "Catastrophe1" || command = "Catastrophe2" || command = "Catastrophe3"
trigger1 = statetype = S
trigger1 = statetype != A
trigger1 = ctrl
trigger2   = stateno = 200
trigger2   = MoveContact 
trigger3   = stateno = 210
trigger3   = MoveContact 
trigger4   = stateno = 220
trigger4   = MoveContact 
trigger5   = stateno = 220
trigger5   = MoveContact 
trigger6   = stateno = 400
trigger6   = MoveContact 
trigger7   = stateno = 410
trigger7   = MoveContact
trigger8   = stateno = 204
trigger8   = MoveContact
trigger9 = stateno = 401
trigger9   = MoveContact 

;You are an iDIOt!!
[State -1]
type = ChangeState
value = 3983
triggerall = roundstate = 2
triggerall = numhelper(20000) = 0
triggerall = command = "You are iDIOt!!1" || command = "You are iDIOt!!2" || command = "You are iDIOt!!3"
trigger1 = statetype = S
trigger1 = statetype != A
trigger1 = ctrl
trigger2   = stateno = 200
trigger2   = MoveContact 
trigger3   = stateno = 210
trigger3   = MoveContact 
trigger4   = stateno = 220
trigger4   = MoveContact 
trigger5   = stateno = 220
trigger5   = MoveContact 
trigger6   = stateno = 400
trigger6   = MoveContact 
trigger7   = stateno = 410
trigger7   = MoveContact 
trigger8   = stateno = 204
trigger8   = MoveContact 
trigger9 = stateno = 401
trigger9   = MoveContact 

;空裂眼刺驚
[State -1]
type = ChangeState
value = 11696
triggerall = command = "空裂眼刺驚"
triggerall = command != "holddown"
triggerall = statetype = S
Trigger1   = Ctrl
trigger2   = stateno = [100,101]
trigger2   = StateNo = 1120 && time > 4
trigger3   = stateno = 52
trigger4   = stateno = 200
trigger4   = MoveContact 
trigger5   = stateno = 210
trigger5   = MoveContact 
trigger6   = stateno = 220
trigger6   = MoveContact 
trigger7   = stateno = 220
trigger7   = MoveContact 
trigger8   = stateno = 400
trigger8   = MoveContact 
trigger9   = stateno = 410
trigger9   = MoveContact 
trigger10   = stateno = 204
trigger10   = MoveContact 
trigger11 = stateno = 401
trigger11   = MoveContact 

;ムダァッ！（弱）
[State -1]
type = ChangeState
value = 11687
triggerall = command = "ムダァッ！弱"
triggerall = command != "holddown"
triggerall = numhelper(10000) = 0
triggerall = numhelper(20000) = 0
triggerall = statetype != A 
triggerall = roundstate = 2
trigger1 = ctrl || (stateno = 100 && time >= 4) || stateno = 101 || (stateno = 105 && time >= 4)
trigger2 = StateNo = 200
trigger3 = StateNo = 210
trigger4 = StateNo = 220
trigger5 = StateNo = 400
trigger6 = StateNo = 410
trigger7 = StateNo = 204
trigger8 = stateno = 700
trigger9 = stateno = 401
ignorehitpause = 0

;ムダァッ！（弱）(スタンドモード時)
[State -1]
type = ChangeState
value = 11000
triggerall = command = "ムダァッ！弱"
triggerall = command != "holddown"
triggerall = numhelper(20000) = 1
triggerall = statetype != A 
triggerall = roundstate = 2
trigger1 = ctrl || (stateno = 100 && time >= 4) || stateno = 101 || (stateno = 105 && time >= 4)
trigger2   = stateno = [100, 106]
trigger3   = stateno = 52
trigger4  = StateNo = 8200 && helper(20000),stateno = 10200 && helper(20000),AnimElem = 4,>= 0
trigger4  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger5  = StateNo = 8210 && helper(20000),stateno = 10210 && helper(20000),AnimElem = 5,>= 0
trigger5  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger6  = StateNo = 8220 && helper(20000),stateno = 10220 && helper(20000),AnimElem = 5,>= 0
trigger6  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger7  = StateNo = 8400 && helper(20000),stateno = 10400 && helper(20000),AnimElem = 2,>= 0
trigger7  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger8  = StateNo = 8410 && helper(20000),stateno = 10410 && helper(20000),AnimElem = 3,>= 0
trigger8  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger9  = StateNo = 9230 && helper(20000),stateno = 11230 && helper(20000),AnimElem = 4,>= 0
trigger9  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger10  = StateNo = 8300 && helper(20000),stateno = 10300 && helper(20000),AnimElem = 4,>= 0
trigger10  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger11  = StateNo = 8310 && helper(20000),stateno = 10310 && helper(20000),AnimElem = 5,>= 0
trigger11  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger12  = StateNo = 8320 && helper(20000),stateno = 10320 && helper(20000),AnimElem = 5,>= 0
trigger12  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0

;ムダァッ！（中)
[State -1]
type = ChangeState
value = 11688
triggerall = command = "ムダァッ！中"
triggerall = command != "holddown"
triggerall = numhelper(10000) = 0
triggerall = numhelper(20000) = 0
triggerall = statetype != A 
triggerall = roundstate = 2
trigger1 = ctrl || (stateno = 100 && time >= 4) || stateno = 101 || (stateno = 105 && time >= 4)
trigger2 = StateNo = 200
trigger3 = StateNo = 210
trigger4 = StateNo = 220
trigger5 = StateNo = 400
trigger6 = StateNo = 410
trigger7 = StateNo = 204
trigger8 = stateno = 700
trigger9= stateno = 401
ignorehitpause = 0

;ムダァッ！（中）(スタンドモード時)
[State -1]
type = ChangeState
value = 12000
triggerall = command = "ムダァッ！中"
triggerall = command != "holddown"
triggerall = numhelper(20000) = 1
triggerall = statetype != A 
triggerall = roundstate = 2
trigger1 = ctrl || (stateno = 100 && time >= 4) || stateno = 101 || (stateno = 105 && time >= 4)
trigger2   = stateno = [100, 106]
trigger3   = stateno = 52
trigger4  = StateNo = 8200 && helper(20000),stateno = 10200 && helper(20000),AnimElem = 4,>= 0
trigger4  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger5  = StateNo = 8210 && helper(20000),stateno = 10210 && helper(20000),AnimElem = 5,>= 0
trigger5  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger6  = StateNo = 8220 && helper(20000),stateno = 10220 && helper(20000),AnimElem = 5,>= 0
trigger6  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger7  = StateNo = 8400 && helper(20000),stateno = 10400 && helper(20000),AnimElem = 2,>= 0
trigger7  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger8  = StateNo = 8410 && helper(20000),stateno = 10410 && helper(20000),AnimElem = 3,>= 0
trigger8  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger9  = StateNo = 9230 && helper(20000),stateno = 11230 && helper(20000),AnimElem = 4,>= 0
trigger9  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger10  = StateNo = 8300 && helper(20000),stateno = 10300 && helper(20000),AnimElem = 4,>= 0
trigger10  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger11  = StateNo = 8310 && helper(20000),stateno = 10310 && helper(20000),AnimElem = 5,>= 0
trigger11  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger12  = StateNo = 8320 && helper(20000),stateno = 10320 && helper(20000),AnimElem = 5,>= 0
trigger12  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
000),MoveContact && helper(20000),HitPauseTime = 0

;ムダァッ！（強）
[State -1]
type = ChangeState
value = 11689
triggerall = command = "ムダァッ！強"
triggerall = command != "holddown"
triggerall = numhelper(10000) = 0
triggerall = numhelper(20000) = 0
triggerall = statetype != A 
triggerall = roundstate = 2
trigger1 = ctrl || (stateno = 100 && time >= 4) || stateno = 101 || (stateno = 105 && time >= 4)
trigger2 = StateNo = 200
trigger3 = StateNo = 210
trigger4 = StateNo = 220
trigger5 = StateNo = 400
trigger6 = StateNo = 410
trigger7 = StateNo = 204
trigger8 = stateno = 700
trigger9 = stateno = 401
ignorehitpause = 0

;ムダァッ！（強）(スタンドモード時)
[State -1]
type = ChangeState
value = 13000
triggerall = command = "ムダァッ！強"
triggerall = command != "holddown"
triggerall = numhelper(20000) = 1
triggerall = statetype != A 
triggerall = roundstate = 2
trigger1 = ctrl || (stateno = 100 && time >= 4) || stateno = 101 || (stateno = 105 && time >= 4)
trigger2   = stateno = [100, 106]
trigger3   = stateno = 52
trigger4  = StateNo = 8200 && helper(20000),stateno = 10200 && helper(20000),AnimElem = 4,>= 0
trigger4  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger5  = StateNo = 8210 && helper(20000),stateno = 10210 && helper(20000),AnimElem = 5,>= 0
trigger5  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger6  = StateNo = 8220 && helper(20000),stateno = 10220 && helper(20000),AnimElem = 5,>= 0
trigger6  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger7  = StateNo = 8400 && helper(20000),stateno = 10400 && helper(20000),AnimElem = 2,>= 0
trigger7  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger8  = StateNo = 8410 && helper(20000),stateno = 10410 && helper(20000),AnimElem = 3,>= 0
trigger8  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger9  = StateNo = 9230 && helper(20000),stateno = 11230 && helper(20000),AnimElem = 4,>= 0
trigger9  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger10  = StateNo = 8300 && helper(20000),stateno = 10300 && helper(20000),AnimElem = 4,>= 0
trigger10  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger11  = StateNo = 8310 && helper(20000),stateno = 10310 && helper(20000),AnimElem = 5,>= 0
trigger11  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0
trigger12  = StateNo = 8320 && helper(20000),stateno = 10320 && helper(20000),AnimElem = 5,>= 0
trigger12  = helper(20000),MoveContact && helper(20000),HitPauseTime = 0

;無駄無駄ッ！（弱）
[State -1]
type = ChangeState
value = 16839
triggerall = command = "無駄無駄ッ！弱"
triggerall = command != "holddown"
triggerall = numhelper(10000) = 0
triggerall = numhelper(20000) = 0
triggerall = statetype = S
Trigger1   = Ctrl
trigger2   = stateno = [100,101]
trigger2   = StateNo = 1120 && time > 4
trigger3   = stateno = 52
trigger4   = stateno = 200
trigger4   = MoveContact 
trigger5   = stateno = 210
trigger5   = MoveContact 
trigger6   = stateno = 220
trigger6   = MoveContact 
trigger7   = stateno = 220
trigger7   = MoveContact 
trigger8   = stateno = 400
trigger8   = MoveContact 
trigger9   = stateno = 410
trigger9   = MoveContact 
trigger10   = stateno = 204
trigger10   = MoveContact 
trigger11 = stateno = 401
trigger11   = MoveContact 

;無駄無駄ッ！（中）
[State -1]
type = ChangeState
value = 16139
triggerall = command = "無駄無駄ッ！中"
triggerall = command != "holddown"
triggerall = numhelper(10000) = 0
triggerall = numhelper(20000) = 0
triggerall = statetype = S
Trigger1   = Ctrl
trigger2   = stateno = [100,101]
trigger2   = StateNo = 1120 && time > 4
trigger3   = stateno = 52
trigger4   = stateno = 200
trigger4   = MoveContact 
trigger5   = stateno = 210
trigger5   = MoveContact 
trigger6   = stateno = 220
trigger6   = MoveContact 
trigger7   = stateno = 220
trigger7   = MoveContact 
trigger8   = stateno = 400
trigger8   = MoveContact 
trigger9   = stateno = 410
trigger9   = MoveContact 
trigger10   = stateno = 204
trigger10   = MoveContact 
trigger11 = stateno = 401
trigger11   = MoveContact 

;無駄無駄ッ！（強）
[State -1]
type = ChangeState
value = 17039
triggerall = command = "無駄無駄ッ！強"
triggerall = command != "holddown"
triggerall = numhelper(10000) = 0
triggerall = numhelper(20000) = 0
triggerall = statetype = S
Trigger1   = Ctrl
trigger2   = stateno = [100,101]
trigger2   = StateNo = 1120 && time > 4
trigger3   = stateno = 52
trigger4   = stateno = 200
trigger4   = MoveContact 
trigger5   = stateno = 210
trigger5   = MoveContact 
trigger6   = stateno = 220
trigger6   = MoveContact 
trigger7   = stateno = 220
trigger7   = MoveContact 
trigger8   = stateno = 400
trigger8   = MoveContact 
trigger9   = stateno = 410
trigger9   = MoveContact 
trigger10   = stateno = 204
trigger10   = MoveContact 
trigger11 = stateno = 401
trigger11   = MoveContact 

;ザ・ワールド＆オフ
[State -1]
type = ChangeState
value = 8000
triggerall = numhelper(10000) = 0
triggerall = numhelper(20000) = 0
triggerall = stateno = 0
trigger1 = command = "a"
trigger1 = statetype = S
trigger1 = ctrl = 1

[State -1]
type = ChangeState
value = 8100
triggerall = numhelper(10000) = 0
triggerall = numhelper(20000) = 1
triggerall = helper(20000),Anim != 10001
triggerall = stateno = 0
trigger1 = command = "a"
trigger1 = statetype = S
trigger1 = ctrl = 1

[State -1]
type = ChangeState
value = 8050
triggerall = numhelper(10000) = 0
triggerall = numhelper(20000) = 0
trigger1 = command = "a"
trigger1 = statetype = A
trigger1 = ctrl = 1

[State -1]
type = PlaySnd
trigger1 = command = "a"
trigger1 = numhelper(10000) = 0
triggerall = numhelper(20000) = 0
triggerall = Ctrl = 1
value = s1680, 5
channel = 1

[State -1]
type = PlaySnd
trigger1 = command = "a"
trigger1 = numhelper(10000) = 0
trigger1 = numhelper(20000) = 0
triggerall = Ctrl = 1
value = s1680, 34
channel = 2

[State -1]
type = VarSet
trigger1 = Var(5)
ignorehitpause = 1
var(3) = !Var(3)

[State -1]
type = VarSet
trigger1 = 1
ignorehitpause = 1
var(5) = 0

[State -1]
type = VarSet
triggerall = numhelper(10000) = 0
triggerall = NumHelper(20000) = 0||Var(3)
triggerall = Ctrl
trigger1 = Command = "a"
ignorehitpause = 1
var(3) = 1

[State -1]
type = helper
trigger1 = Var(3)
trigger1 = numhelper(10000) = 0
trigger1 = numhelper(20000) = 0
helpertype = normal
name = "the･world"
id = 20000
pos = 0,0
stateno = 10000
postype = p1
ownpal = 1
keyctrl = 0 
supermovetime = 999999 
pausemovetime = 999999
size.xscale = 0.92
size.yscale = 1.07

;回り込み
[State -1]
Type = ChangeState
value = 1468
triggerall = numhelper(20000) = 0
Triggerall = command="回り込み"
triggerall = statetype != A
triggerall = roundstate = 2
trigger1 = ctrl || (stateno = 100 && time >= 4) || stateno = 101 || (stateno = 105 && time >= 4)

;アドバンシングガード
[State -1]
type = ChangeState
value = 1696
triggerall = var(0) != 1 || (var(0) = 1 && var(24))
triggerall = roundstate = 2
triggerall = command = "ｱﾄﾞﾊﾞﾝｼﾝｸﾞｶﾞｰﾄﾞ"
triggerall = prevstateno != [810,811]
trigger1 = stateno = 150 || stateno = 151 || stateno = 152 || stateno = 153
ignorehitpause = 0

[State -1, 素数を数えて･･･]
type = ChangeState
value = 398
triggerall = var(19) = 0
triggerall = command = "holdc"
triggerall = command = "holddown"
triggerall = power < 10000 ;ゲージが満タンの時は出せない
trigger1 = statetype != A && ctrl

;==============================================================================
; 移動関連
;==============================================================================
;------------------------------------------------------------------------------
;ｶｶッとダッシュ
[State -1, Run Fwd]
type = ChangeState
value = 188
triggerall = statetype = S
triggerall = ctrl
trigger1 = command = "FF"
ctrl = 1

;---------------------------------------------------------------------------
;バックステッポ
[State -1, Run Back]
type = ChangeState
value = 189
triggerall = statetype = S
triggerall = ctrl
trigger1 = command = "BB"
ctrl = 1

;---------------------------------------------------------------------------
;空中ダッシュ
[State -1, Air_Dash]
type = ChangeState
value = 168
triggerall = var(11) < 2
triggerall = statetype = A
triggerall = Pos Y < -8
triggerall = ctrl
triggerall = command != "holddown"
triggerall = command != "holdup"
trigger1 = command = "FF"

;---------------------------------------------------------------------------
;空中バックダッシュ
[State -1, Air_back_dash]
type = ChangeState
value = 169
triggerall = var(11) < 2
triggerall = statetype = A
triggerall = ctrl
triggerall = Pos Y < -8
triggerall = command != "holddown"
triggerall = command != "holdup"
trigger1 = command = "BB"

;---------------------------------------------------------------------------
;ハイジャンポ
[State -1, HiJump]
Type       = ChangeState
Value      = 55
TriggerAll = (Command = "hijump")
TriggerAll = StateType != A
Trigger1   = Ctrl

;==============================================================================
; 通常攻撃技
;==============================================================================
;------------------------------------------------------------------------------
;ナイフス
[State -1, DIO式398ﾅｲﾌｽ]
type       = ChangeState
value      = 2800
triggerall = numhelper(20000) = 0
TriggerAll = Command != "holddown"
TriggerAll = Command = "z"
triggerall = statetype = S
trigger1 = ctrl || (stateno = 100 && time >= 4) || stateno = 101 || (stateno = 105 && time >= 4)
trigger2 = StateNo = 200
trigger3 = StateNo = 210
trigger4 = StateNo = 220
trigger5 = StateNo = 400 && animelem = 9
trigger6 = StateNo = 410
trigger7 = StateNo = 204
trigger8 = stateno = 700
trigger9 = stateno = 401
ignorehitpause = 0

[State -1, 893キック1,2]
Type       = ChangeState
Value      = 203
triggerall = numhelper(20000) = 0
TriggerAll = Command != "holddown"
TriggerAll = P2BodyDist X > 25
TriggerAll = Command = "x"
TriggerAll = StateType = S
Trigger1   = Ctrl

[State -1, 893キック3]
Type       = ChangeState
Value      = 2040
triggerall = numhelper(20000) = 0
triggerall = stateno = 188
triggerall = roundstate = 2
TriggerAll = Command = "x"
triggerall = statetype != A
Trigger1   = Ctrl
trigger2   = stateno = [100,101]
trigger2   = StateNo = 1120 && time > 4
trigger3   = stateno = 52
trigger4 = stateno = 188

[State -1, ナイフを一本くれてやるｯ!!]
Type       = ChangeState
Value      = 204
triggerall = numhelper(20000) = 0
Triggerall = command = "holdfwd" && command = "y"
TriggerAll = StateType = S
Trigger1   = Ctrl
Trigger2   = StateNo = 200
Trigger2   = MoveContact
Trigger3   = StateNo = 205
Trigger3   = MoveContact
Trigger4   = StateNo = 210
Trigger4   = MoveContact
trigger5   = stateno = 220
Trigger5   = MoveContact
trigger6   = stateno = 410
Trigger6   = MoveContact

[State -1, 咲夜さんチョップ]
type       = ChangeState
value      = 200
triggerall = numhelper(20000) = 0
TriggerAll = Command != "holddown"
TriggerAll = Command = "x"
TriggerAll = P2BodyDist X <= 25
triggerall = statetype = S
Trigger1   = Ctrl

[State -1, 咲夜さんチョップ(派生版)]
type       = ChangeState
value      = 205
triggerall = numhelper(20000) = 0
TriggerAll = Command != "holdfwd"
TriggerAll = Command = "x"
triggerall = statetype = S
Trigger1   = StateNo = 200
Trigger1   = MoveContact

[State -1, 咲夜さん斬り払い]
type = ChangeState
value = 210
triggerall = numhelper(20000) = 0
TriggerAll = Command = "x"
triggerall = statetype = S
Trigger1   = StateNo = 205
Trigger1   = MoveContact

[State -1, 398キック]
type = ChangeState
value = 220
triggerall = numhelper(20000) = 0
TriggerAll = Command != "holdfwd"
TriggerAll = Command = "x"
triggerall = statetype = S
Trigger1   = StateNo = 210
Trigger1   = MoveContact

[State -1, 回し斬り]
type = ChangeState
value = 250
triggerall = numhelper(20000) = 0
TriggerAll = Command != "holdfwd"
TriggerAll = Command = "x"
triggerall = statetype = S
trigger1   = stateno = 220
Trigger1   = MoveContact

[State -1, 踵落とし]
type = ChangeState
value = 240
triggerall = command = "y"
triggerall = command != "holddown"
triggerall = numhelper(20000) = 0
trigger1 = statetype = S
trigger1 = ctrl
Trigger2   = StateNo = 204
Trigger2   = MoveContact
Trigger3   = StateNo = 410
Trigger3   = MoveContact
Trigger4   = StateNo = 400 && animelem = 9 
Trigger4   = MoveContact
Trigger5   = StateNo = 203
Trigger5   = MoveContact
trigger6 = stateno = 401

[State -1, 踵落とし(ﾀﾞｯｼｭ)]
type = ChangeState
value = 2400
triggerall = command = "y"
triggerall = command != "holddown"
TriggerAll = P2BodyDist X > 25
trigger1 = stateno = [100,105]
trigger1 = time <= 15
trigger1 = ctrl

[State -1, 下段斬り]
type = ChangeState
value = 400
triggerall = command = "x"
triggerall = command = "holddown"
triggerall = numhelper(20000) = 0
trigger1 = statetype = C
trigger1 = ctrl
Trigger2   = StateNo = 204
Trigger2   = MoveContact

[State -1, 下段蹴り]
type = ChangeState
value = 410
triggerall = command = "y"
triggerall = command = "holddown"
triggerall = numhelper(20000) = 0
trigger1 = statetype = C
trigger1 = ctrl
Trigger2 = StateNo = 204
Trigger2 = MoveContact

[State -1, ジャンプ払い斬り]
type = ChangeState
value = 600
triggerall = command = "x"
triggerall = numhelper(20000) = 0
trigger1 = statetype = A
trigger1 = ctrl
Trigger2 = StateNo = 610
Trigger2 = MoveContact

[State -1, ジャンプ蹴り]
type = ChangeState
value = 610
triggerall = command = "y"
triggerall = numhelper(20000) = 0
trigger1 = statetype = A
trigger1 = ctrl
Trigger2 = StateNo = 600
Trigger2 = MoveContact

[State -1, 一点咲]
type       = ChangeState
value      = 700
triggerall = numhelper(20000) = 0
triggerall = stateno = 188
triggerall = roundstate = 2
TriggerAll = Command = "z"
triggerall = statetype != A
Trigger1   = Ctrl
trigger2   = stateno = [100,101]
trigger2   = StateNo = 1120 && time > 4
trigger3   = stateno = 52
trigger4 = stateno = 188

[State -1, 三重七翔]
Type       = ChangeState
Value      = 710
triggerall = numhelper(20000) = 0
triggerall = stateno = 188
triggerall = roundstate = 2
Triggerall = command = "y"
triggerall = statetype != A
Trigger1   = Ctrl
trigger2   = stateno = [100,101]
trigger2   = StateNo = 1120 && time > 4
trigger3   = stateno = 52
trigger4 = stateno = 188

;--------------------------------------------------------------------------------
;スタンドモード時前ダッシュ弱攻撃
[State -1, Stand Strong Punch]
type = ChangeState
value = 8320
triggerall = command = "x"
triggerall = command != "holddown"
triggerall = numhelper(20000) = 1
triggerall = stateno = 100
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;スタンドモード時前＆バックダッシュ中攻撃
[State -1, Stand Strong Punch]
type = ChangeState
value = 8330
triggerall = command = "y"
triggerall = command != "holddown"
triggerall = numhelper(20000) = 1
trigger1 = stateno = 100
trigger1 = statetype = S
trigger2 = stateno = 105
trigger2 = statetype = S

;---------------------------------------------------------------------------
;スタンドモード時前ダッシュ強攻撃
[State -1, Stand Strong Punch]
type = ChangeState
value = 8340
triggerall = command = "z"
triggerall = command != "holddown"
triggerall = numhelper(20000) = 1
triggerall = stateno = 100
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;スタンドモード時バックダッシュ弱攻撃
[State -1, Stand Strong Punch]
type = ChangeState
value = 8350
triggerall = command = "x"
triggerall = command != "holddown"
triggerall = numhelper(20000) = 1
triggerall = stateno = 105
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;スタンドモード時バックダッシュ強攻撃
[State -1, Stand Strong Punch]
type = ChangeState
value = 8360
triggerall = command = "z"
triggerall = command != "holddown"
triggerall = numhelper(20000) = 1
triggerall = stateno = 105
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;スタンドモード時後ろを押しながら中攻撃
[State -1, Stand Strong Punch]
type = ChangeState
value = 8300
triggerall = command = "y"
triggerall = command ="holdback"
triggerall = numhelper(20000) = 1
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;スタンドモード時前を押しながら強攻撃
[State -1, Stand Strong Punch]
type = ChangeState
value = 8310
triggerall = command = "z"
triggerall = command ="holdfwd"
triggerall = numhelper(20000) = 1
trigger1 = statetype = S
trigger1 = ctrl

;立ち遠距離弱攻撃(スタンドモード時)
[State -1, Stand Light Punch]
type = ChangeState
value = 8200
triggerall = command = "x"
triggerall = command != "holddown"
triggerall = numhelper(20000) = 1
triggerall = P2bodydist X >= 40
trigger1 = statetype = S
trigger1 = ctrl

;立ち近距離弱攻撃(スタンドモード時)
[State -1, Stand Light Punch]
type = ChangeState
value = 8205
triggerall = command = "x"
triggerall = command != "holddown"
triggerall = numhelper(20000) = 1
triggerall = P2bodydist X < 40
trigger1 = statetype = S
trigger1 = ctrl

;立ち中攻撃（スタンドモード時）
[State -1, Stand Strong Punch]
type = ChangeState
value = 8210
triggerall = command = "y"
triggerall = command != "holddown"
triggerall = numhelper(20000) = 1
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = StateNo = 8200 && time > 7
trigger3 = StateNo = 8205 && time > 7
trigger4 = StateNo = 8400 && time > 5

;立ち強攻撃（スタンドモード時）
[State -1, Stand Strong Punch]
type = ChangeState
value = 8220
triggerall = command = "z"
triggerall = command != "holddown"
triggerall = numhelper(20000) = 1
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = StateNo = 8200 && time > 7
trigger3 = StateNo = 8205 && time > 7
trigger4 = StateNo = 8210 && time > 13
trigger5 = StateNo = 8400 && time > 5

;しゃがみ弱攻撃（スタンドモード時）
[State -1, Crouching Strong Punch]
type = ChangeState
value = 8400
triggerall = command = "x"
triggerall = command = "holddown"
triggerall = numhelper(20000) = 1
trigger1 = statetype = C
trigger1 = ctrl

;しゃがみ中攻撃（スタンドモード時）
[State -1, Crouching Strong Punch]
type = ChangeState
value = 8410
triggerall = command = "y"
triggerall = command = "holddown"
triggerall = numhelper(20000) = 1
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = StateNo = 8200 && time > 7
trigger3 = StateNo = 8205 && time > 7
trigger4 = StateNo = 8220 && time > 5
trigger5 = StateNo = 8400 && time > 5

;しゃがみ強攻撃
[State -1, Crouching Strong Punch]
type = ChangeState
value = 8420
triggerall = command = "z"
triggerall = command = "holddown"
triggerall = numhelper(20000) = 1
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = StateNo = 8200 && time > 7
trigger3 = StateNo = 8205 && time > 7
trigger4 = StateNo = 8210 && time > 13
trigger5 = StateNo = 8400 && time > 5
trigger6 = StateNo = 8410 && time > 9

;空中弱攻撃（スタンドモード時）
[State -1]
type = ChangeState
value = 8600
triggerall = command = "x"
triggerall = numhelper(20000) = 1
trigger1 = statetype = A
trigger1 = ctrl

;空中中攻撃（スタンドモード時）
[State -1]
type = ChangeState
value = 8610
triggerall = command = "y"
triggerall = numhelper(20000) = 1
trigger1 = statetype = A
trigger1 = ctrl

;空中強攻撃（スタンドモード時）
[State -1]
type = ChangeState
value = 8620
triggerall = command = "z"
triggerall = numhelper(20000) = 1
trigger1 = statetype = A
trigger1 = ctrl

;------------------------------------------------------------------------------
;ＷＲＹＹＹＹＹＹＹＹＹ！！
[State -1, 挑発]
type = ChangeState
value = 1960
triggerall = command = "holdfwd" && command = "start"
trigger1 = statetype != A
trigger1 = ctrl

;頭ぐーりぐり
[State -1, 挑発]
type = ChangeState
value = 1950
triggerall = command = "start"
trigger1 = statetype != A
trigger1 = ctrl

;------------------------------------------------------------------------------
[State -1, デバッグ表示]
Type = DisplayToClipBoard
trigger1 = !ishelper
Text = "var(59)=%d, var(13)=%d, StateNo=%d, var(0)=%d, helper(20)=%d"
Params = var(59), var(13), StateNo, fvar(11), fvar(12)
IgnoreHitPause = 1

