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

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

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

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

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


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

[Command]
name = "AI0"
command = a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a
time = 0

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

[Command]
name = "逆半回転+ABX"
command = ~F,D,B,a+b+x
time = 20

[Command]
name = "逆半回転+ABZ"
command = ~F,D,B,a+b+z
time = 20

[Command]
name = "逆半回転+ABC"
command = ~F,D,B,a+b+c
time = 20

[Command]
name = "逆半回転+ACX"
command = ~F,D,B,a+c+x
time = 20

[Command]
name = "逆半回転+BCX"
command = ~F,D,B,b+c+x
time = 20

[Command]
name = "逆半回転+BCZ"
command = ~F,D,B,b+c+z
time = 20

[Command]
name = "逆半回転+CXZ"
command = ~F,D,B,c+x+z
time = 20

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

[Command]
name = "逆半回転+AB"
command = ~F,D,B,a+b
time = 20

[Command]
name = "逆半回転+AC"
command = ~F,D,B,a+c
time = 20

[Command]
name = "逆半回転+AX"
command = ~F,D,B,a+x
time = 20

[Command]
name = "逆半回転+AZ"
command = ~F,D,B,a+z
time = 20

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

[Command]
name = "逆半回転+BC"
command = ~F,D,B,b+c
time = 20

[Command]
name = "逆半回転+BX"
command = ~F,D,B,b+x
time = 20

[Command]
name = "逆半回転+BZ"
command = ~F,D,B,b+z
time = 20


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

[Command]
name = "逆半回転+CX"
command = ~F,D,B,c+x
time = 20

[Command]
name = "逆半回転+CZ"
command = ~F,D,B,c+z
time = 20

[Command]
name = "逆半回転+XZ"
command = ~F,D,B,x+x
time = 20

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

[Command]
name = "逆半回転+A"
command = ~F,D,B,a
time = 20

[Command]
name = "逆半回転+B"
command = ~F,D,B,b
time = 20

[Command]
name = "逆半回転+C"
command = ~F,D,B,c
time = 20

[Command]
name = "逆半回転+X"
command = ~F,D,B,x
time = 20

[Command]
name = "逆半回転+Z"
command = ~F,D,B,z
time = 20

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

[Command]
name = "半回転+ABC"
command = ~B,D,F,a+b+c
time = 15

[Command]
name = "半回転+ABZ"
command = ~B,D,F,a+b+z
time = 15

[Command]
name = "半回転+ABX"
command = ~B,D,F,a+b+x
time = 15

[Command]
name = "半回転+AXZ"
command = ~B,D,F,a+x+z
time = 15

[Command]
name = "半回転+BCZ"
command = ~B,D,F,b+c+z
time = 15

[Command]
name = "半回転+CXZ"
command = ~B,D,F,c+x+z
time = 15

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

[Command]
name = "半回転+AB"
command = ~B,D,F,a+b
time = 15

[Command]
name = "半回転+AC"
command = ~B,D,F,a+c
time = 15

[Command]
name = "半回転+AX"
command = ~B,D,F,a+x
time = 15

[Command]
name = "半回転+AZ"
command = ~B,D,F,a+z
time = 15

[Command]
name = "半回転+BC"
command = ~B,D,F,b+c
time = 20

[Command]
name = "半回転+BX"
command = ~B,D,F,b+x
time = 20

[Command]
name = "半回転+BZ"
command = ~B,D,F,b+z
time = 20

[Command]
name = "半回転+CX"
command = ~B,D,F,c+x
time = 15

[Command]
name = "半回転+CZ"
command = ~B,D,F,c+z
time = 20

[Command]
name = "半回転+XZ"
command = ~B,D,F,x+z
time = 20

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

[Command]
name = "F_a"
command = F, a

[Command]
name = "F_b"
command = F, b

[Command]
name = "F_c"
command = F, c

[Command]
name = "F_y"
command = F, y

[Command]
name = "F_x"
command = F, x

[Command]
name = "F_z"
command = F, z

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

[Command]
name = "D_a"
command = D, a

[Command]
name = "D_b"
command = D, b

[Command]
name = "D_c"
command = D, c

[Command]
name = "D_x"
command = D, x

[Command]
name = "D_z"
command = D, z


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

[Command]
name = "B_a"
command = B, a

[Command]
name = "B_b"
command = B, b

[Command]
name = "B_c"
command = B, c

[Command]
name = "B_x"
command = B, x

[Command]
name = "B_z"
command = B, z

[Command]
name = "BB_a"
command = B,B, a

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

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

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

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

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

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

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

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

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

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

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

[Command]
name = "a+b+c"
command = a+b+c
time = 1

[Command]
name = "a+b+x"
command = a+b+x
time = 1

[Command]
name = "a+b+z"
command = a+b+z
time = 1

[Command]
name = "a+c+x"
command = a+c+x
time = 1

[Command]
name = "a+c+z"
command = a+c+z
time = 1

[Command]
name = "a+x+z"
command = a+x+z
time = 1

[Command]
name = "b+c+z"
command = b+c+z
time = 1

[Command]
name = "b+x+z"
command = b+x+z
time = 1

[Command]
name = "F_ab"
command = F, a+b

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

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

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

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

[Command]
name = "↓↓+A"
command = ~D,D,a
time = 15

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

[Command]
name = "↓→+A"
command = ~D,DF,F,a
time = 15

[Command]
name = "↓→+X"
command = ~D,DF,F,x
time = 15

[Command]
name = "↓→+Z"
command = ~D,DF,F,z
time = 15


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

[Command]
name = "↓←+A"
command = ~D,DB,B,a
time = 15

[Command]
name = "↓←+B"
command = ~D,DB,B,b
time = 15

[Command]
name = "↓←+C"
command = ~D,DB,B,c
time = 15

[Command]
name = "↓←+X"
command = ~D,DB,B,x
time = 15

[Command]
name = "↓←+Z"
command = ~D,DB,B,z
time = 15


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

[Command]
name = "昇竜+A"
command = ~F,D,DF,a
time = 15

[Command]
name = "昇竜+B"
command = ~F,D,DF,b
time = 15

[Command]
name = "昇竜+C"
command = ~F,D,DF,c
time = 15

[Command]
name = "昇竜+X"
command = ~F,D,DF,x
time = 15

[Command]
name = "昇竜+Z"
command = ~F,D,DF,z
time = 15


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

[Command]
name = "逆昇竜+A"
command = ~B,D,DB,a
time = 15

[Command]
name = "逆昇竜+B"
command = ~B,D,DB,b
time = 15

[Command]
name = "逆昇竜+C"
command = ~B,D,DB,c
time = 15

[Command]
name = "逆昇竜+X"
command = ~B,D,DB,x
time = 15

[Command]
name = "逆昇竜+Z"
command = ~B,D,DB,z
time = 15

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

[Command]
name = "半回転+A"
command = ~B,D,F,a
time = 20

[Command]
name = "半回転+B"
command = ~B,D,F,b
time = 20

[Command]
name = "半回転+C"
command = ~B,D,F,c
time = 20

[Command]
name = "半回転+X"
command = ~B,D,F,x
time = 20

[Command]
name = "半回転+Z"
command = ~B,D,F,z
time = 20

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

[Command]
name = "←溜め+A"
command = ~10$B,a
time = 25

[Command]
name = "←溜め+B"
command = ~10$B,b
time = 25

[Command]
name = "←溜め+C"
command = ~10$B,c
time = 25

[Command]
name = "←溜め+X"
command = ~10$B,x
time = 25

[Command]
name = "←溜め+Z"
command = ~10$B,z
time = 25

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

[Command]
name = "↓溜め+A"
command = ~10$D,a
time = 25

[Command]
name = "↓溜め+B"
command = ~10$D,b
time = 25

[Command]
name = "↓溜め+C"
command = ~10$D,c
time = 25

[Command]
name = "↓溜め+X"
command = ~10$D,x
time = 25

[Command]
name = "↓溜め+Z"
command = ~10$D,z
time = 25

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

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

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

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

;---------------------------
;(「パワー溜め」用にコマンドを追加してます)
[Command]
name = "hold_y"
command = /y

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

[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 = "FF"       ;必須コマンド名
command = F, F
time = 10

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

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

[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」等で制御された、
; 作成者が任意に指定した相手側の食らいステートに限り、
; 登録したステートコントローラが有効にはなりません。
;------------------------------------------------------------------------------

;コマンド空き+1
;

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

[Statedef -1]



;==============================================================================
; 必殺技
;==============================================================================

[State 独滅]
type = ChangeState
value = 3500
TriggerAll = var(59) = 0 && Alive = 1
triggerall = command = "start"
triggerall = statetype != A
trigger1   = ctrl
;trigger1   = var(9) <= 0

;==============================================================================
; 凶悪技
;==============================================================================

[State ドウテイフレイム]
type = ChangeState
value = 217
TriggerAll = var(59) = 0 && Alive = 1
triggerall = command = "x+a"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

[State 超即死小パンチ]
type = ChangeState
value = 219
TriggerAll = var(59) = 0 && Alive = 1
triggerall = command = "x+b"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

[State デバッグ小キック]
type = ChangeState
value = 221
TriggerAll = var(59) = 0 && Alive = 1
triggerall = command = "x+c"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

[State 直死大パンチ]
type = ChangeState
value = 223
TriggerAll = var(59) = 0 && Alive = 1
triggerall = command = "x+y"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

[State 試合大キック]
type = ChangeState
value = 225
TriggerAll = var(59) = 0 && Alive = 1
triggerall = command = "x+z"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

[State 時の砂]
type = ChangeState
value = 227
TriggerAll = var(59) = 0 && Alive = 1
triggerall = command = "a+b+c"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

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


[State 火炎弾]
type = ChangeState
value = 212
TriggerAll = var(59) = 0 && Alive = 1
triggerall = command = "F_a"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

[State 火薙ぎ]
type = ChangeState
value = 214
TriggerAll = var(59) = 0 && Alive = 1
triggerall = command = "F_b"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl


[State めちゃくちゃ斬り]
type = ChangeState
value = 202
TriggerAll = var(59) = 0 && Alive = 1
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

[State めちゃくちゃ撃ち]
type = ChangeState
value = 203
TriggerAll = var(59) = 0 && Alive = 1
triggerall = command = "b"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

[State 超念力]
type = ChangeState
value = 205
TriggerAll = var(59) = 0 && Alive = 1
triggerall = command = "c"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

[State 斧投げ]
type = ChangeState
value = 207
TriggerAll = var(59) = 0 && Alive = 1
triggerall = command = "y"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

[State 斧攻撃]
type = ChangeState
value = 208
TriggerAll = var(59) = 0 && Alive = 1
triggerall = command = "x"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

[State 地烈斬]
type = ChangeState
value = 211
TriggerAll = var(59) = 0 && Alive = 1
triggerall = command = "z"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl


;==============================================================================
; コマンド以外の処理
;==============================================================================
