;==========================================================================
;コマンド関連ファイル
;==========================================================================
;-| ボタンリマップ（ボタンコンフィグ）|---------------------------------------- 第１部

[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  ;標準のコマンド入力記憶時間。
                         ;入力した直後にコマンドを記憶し、
                         ;指を離してもコマンドが成功している状態を
                         ;ここで設定した時間の分維持する。
                         ;１〜３０フレームまでの間で設定可能。
                         ;デフォルトは１フレーム。

;-AI----
[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 = "AI1"
command = b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b
time = 0
[Command]
name = "AI2"
command = c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c
time = 0
[Command]
name = "AI3"
command = x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x
time = 0
[Command]
name = "AI4"
command = y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y
time = 0
[Command]
name = "AI5"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI6"
command = s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s
time = 0
[Command]
name = "AI7"
command = F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F
time = 0
[Command]
name = "AI8"
command = D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D
time = 0
[Command]
name = "AI9"
command = B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B
time = 0
[Command]
name = "AI10"
command = U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U
time = 0
[Command]
name = "AI11"
command = a,x,a,x,a,x,a,x,a,x,a,x,a,x,a,x,a,x,a
time = 0
[Command]
name = "AI12"
command = c,z,c,z,c,z,c,z,c,z,c,z,c,z,c,z,c,z,c
time = 0
[Command]
name = "AI13"
command = x,y,x,y,x,y,x,y,x,y,x,y,x,y,x,y,x,y,x
time = 0
[Command]
name = "AI14"
command = y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y
time = 0
[Command]
name = "AI15"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI16"
command = s,a,s,a,s,a,s,a,s,a,s,a,s,a,s,a,s,a,s
time = 0
[Command]
name = "AI17"
command = a,B,c,x,y,z,s,B,D,F,U,a,b,c,x,y,z,s,s
time = 0
[Command]
name = "AI18"
command = a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a
time = 0
[Command]
name = "AI19"
command = b,y,b,y,b,y,b,y,b,y,b,y,b,y,b,y,b,y,b
time = 0
[Command]
name = "AI20"
command = c,b,c,b,c,b,c,b,c,b,c,b,c,b,c,b,c,b,c
time = 0
[Command]
name = "AI21"
command = x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x
time = 0
[Command]
name = "AI22"
command = y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y
time = 0
[Command]
name = "AI23"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI24"
command = s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s
time = 0
[Command]
name = "AI25"
command = F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F
time = 0
[Command]
name = "AI26"
command = D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D
time = 0
[Command]
name = "AI27"
command = B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B,B
time = 0
[Command]
name = "AI28"
command = U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U
time = 0
[Command]
name = "AI29"
command = a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a
time = 0
[Command]
name = "AI30"
command = c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c
time = 0
[Command]
name = "AI31"
command = x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x
time = 0
[Command]
name = "AI32"
command = y,z,x,y,z,y,x,y,z,x,y,z,x,y,z,x,y,z,y
time = 0
[Command]
name = "AI33"
command = z,x,y,z,x,y,z,x,y,z,x,y,z,x,y,z,x,y,z
time = 0
[Command]
name = "AI34"
command = s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s
time = 0
[Command]
name = "AI35"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI36"
command = z,z,z,z,z,z,a,a,a,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI37"
command = z,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,z,z,z
time = 0
[Command]
name = "AI38"
command = z,z,z,z,z,a,a,a,z,z,z,z,z,a,a,a,z,z,z
time = 0
[Command]
name = "AI39"
command = z,z,z,z,z,a,a,a,z,z,z,z,z,z,a,a,z,z,z
time = 0
[Command]
name = "AI40"
command = z,z,z,z,a,a,a,z,z,z,z,a,z,z,a,a,z,z,z
time = 0
[Command]
name = "AI41"
command = z,z,z,a,z,z,z,z,z,z,z,z,z,a,a,z,z,z,z
time = 0
[Command]
name = "AI42"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI43"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,a,a,z
time = 0
[Command]
name = "AI44"
command = z,z,a,a,a,a,z,z,z,z,z,z,z,z,z,a,a,a,z
time = 0
[Command]
name = "AI45"
command = z,z,z,z,z,z,a,a,z,z,z,z,z,a,a,a,a,z,z
time = 0
[Command]
name = "AI46"
command = z,z,z,z,z,z,z,z,a,a,a,a,a,a,z,z,z,z,z
time = 0
[Command]
name = "AI47"
command = z,z,z,a,a,a,a,z,z,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI48"
command = z,z,z,z,z,a,a,a,z,z,z,a,a,a,z,z,a,z,a
time = 0
[Command]
name = "AI49"
command = z,z,z,z,a,a,a,z,z,z,z,z,a,a,a,z,z,z,z
time = 0
[Command]
name = "AI50"
command = z,z,z,a,a,z,z,z,z,z,z,z,z,z,a,a,z,z,z
time = 0

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

;※名前が同じならば、違うコマンドでも同じステートの技を出す事が可能。
[Command]
name = "真・瞬獄殺"      ;日本語のコマンド名も使える
command = x,x,F,a,y
time = 25

[Command]
name = "TripleKFPalm"
command = ~D, DF, F, D, DF, F, y
time = 20

[Command]
name = "TripleKFPalm"
command = ~D, DF, F, D, DF, F, x
time = 20

[Command]
name = "SmashKFUpper"
command = ~D, DB, B, D, DB, B, x;~F, D, DF, F, D, DF, x
time = 20

[Command]
name = "SmashKFUpper"
command = ~D, DB, B, D, DB, B, y;~F, D, DF, F, D, DF, y
time = 20

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

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

[Command]
name = "monogusasuberi_kai"
command = ~D, DB, B, D, DB, B, a
time = 20

[Command]
name = "monogusasuberi_kai"
command = ~D, DB, B, D, DB, B, b
time = 20

[Command]
name = "yurero"
command = ~B, DB, D, B, DB, D, a
time = 20

[Command]
name = "yurero"
command = ~B, DB, D, B, DB, D, b
time = 20


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

[Command]
name = "waza3_light"
command = ~B, DB, D, x
time = 20

[Command]
name = "waza3_hard"
command = ~B, DB, D, y
time = 20

[Command]
name = "Ikarinotukite"
command = $B, DB, x

[Command]
name = "Ikarinotukite"
command = $B, DB, y

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

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

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

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

[Command]
name = "board_s"
command = ~B, B, x

[Command]
name = "board_s"
command = ~B, B, y

[Command]
name = "str"
command = ~B, DB, B, a+b

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

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

[Command]
name = "Asyura"
command = ~B, DB, D, x+y

[Command]
name = "countersuberi"
command = /B, a

[Command]
name = "countersuberi"
command = /B, b

[Command]
name = "countersuberi"
command = /F, c

;***********************************
;ブロッキング
[Command]
name = "blocking-000"
command = F
time = 1

[Command]
name = "blocking-001"
command = /F
time = 1

[Command]
name = "blocking-002"
command = D
time = 1

[Command]
name = "blocking-003"
command = /D
time = 1

;-| Double Tap |-----------------------------------------------------------
[Command]
name = "FF";Required (do not remove)
command = F, F
time = 10

[Command]
name = "BB";Required (do not remove)
command = B, B
time = 10

;-| 2/3 Button Combination |-----------------------------------------------
[Command]
name = "recovery";Required (do not remove)
command = a+b
time = 1

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

;-| Dir + Button |---------------------------------------------------------

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

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

;-| 攻撃ボタン押しっぱなし |-----------------------------------------------

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

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


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

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

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

;-| Single Button |---------------------------------------------------------
[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 = "s"
command = s
time = 1


[Command]
name = "u"
command = $U
time = 1
[Command]
name = "uu"
command = /$U
time = 1

;-| Hold Dir |--------------------------------------------------------------
[Command]
name = "holdfwd";Required (do not remove)
command = /$F
time = 1

[Command]
name = "holdback";Required (do not remove)
command = /$B
time = 1

[Command]
name = "holdup";Required (do not remove)
command = /$U
time = 1

[Command]
name = "holddown";Required (do not remove)
command = /$D
time = 1

; Don't remove the following line. It's required by the CMD standard.

[Statedef -1]

;===========================================================================
;　超必殺技
;===========================================================================
[State -1, 真・瞬獄殺]
type = ChangeState
triggerall = !var(59)
triggerall = (var(34) <= 0) && (var(35) <= 0) ;Var(34)とVar(35)両方の値が０以下の時
triggerall = (command = "真・瞬獄殺")             ;「瞬獄殺」と定めた名前のコマンドを入力した時
triggerall = (Power > 2999)                   ;パワーゲージがレベル３以上溜まっている時（※）
trigger1 = (StateType != A) && (Ctrl)         ;「空中以外」＆「コントロール可能」の時
trigger2 = (StateNo = [200,299])              ;現在のステートが２００以上２９９以下の時
value = 3500                                  ;[Statedef 3500]のステートを出せる

[State -1, 三烈カンフー突き手];ゲージレベル１
type = ChangeState
value = 3000
triggerall = !var(59)
triggerall = command = "TripleKFPalm"
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]) ;ちょっとこ丸が追加

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

[State -1, ものぐさ滑り・改];ゲージレベル２
type = ChangeState
value = 3200
triggerall = !var(59)
triggerall = command = "monogusasuberi_kai"
triggerall = power >= 2000
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = statetype != A
trigger2 = hitdefattr = SC, NA, SA, HA
trigger2 = stateno != [3200,3300)

[State -1, 揺れろぉ！];ゲージレベル３
type = ChangeState
value = 3300
triggerall = !var(59)
triggerall = command = "yurero"  ;「SmashKFUpper」の名前のコマンドが入力されたら
triggerall = power >= 3000             ;パワーゲージがレベル１以上溜まっている時（※）
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])

;===========================================================================
;　必殺技
;===========================================================================
;;-------------------------------------------------------------
[State -1];ビルトアッパー
Type = ChangeState
triggerall = !var(59)
Trigger1 = (Command="waza3_light"||Command="waza3_hard") && StateType != A && (Ctrl||(Time<4&&StateNo=40)||Var(6)>0||(Time<2&&StateNo=[200,399])) && Var(30) != 1 && RoundState = 2
Value = IFelse(Command="waza3_light", 1200, 1201)
------------------------------- 
;速いカンフー突き手（ゲージレベル１／３）
[State -1, Fast Kung Fu Palm]
type = ChangeState
value = 1020
triggerall = !var(59)
triggerall = command = "Ikarinotukite"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499]) ;Cancel ground moves
;trigger2 = stateno != 440 ;Except for sweep kick
trigger2 = movecontact
;------------------------------ 
;速いカンフー突き手（ゲージレベル１／３）
[State -1, Fast Kung Fu Palm]
type = ChangeState
value = 1020
triggerall = !var(59)
triggerall = command = "Ikarinotukite_sora"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499]) ;Cancel ground moves
;trigger2 = stateno != 440 ;Except for sweep kick
trigger2 = movecontact
;------------------------------
[State -1, ものぐさ滑り]
type = ChangeState
value = 1050
triggerall = !var(59)
triggerall = (var(34) <= 0) && (var(35) <= 0)
triggerall = command = "monogusasuberi"
trigger1 = (StateType != A) && (Ctrl)
trigger2 = (StateNo = [200,499]) && (MoveContact)
;■■■地上スーパーキャンセル■■■
trigger3 = (StateNo = 1000) && (StateType != A) && (Time = [12,26])
trigger4 = (StateNo = 1001) && (MoveContact)
trigger5 = (StateNo = 1005) && (MoveContact)
trigger6 = (StateNo = 1007) && (MoveContact)

[State -1, 速いカンフーニー];ゲージ消費
type = ChangeState
value = 1070
triggerall = !var(59)
triggerall = command = "ni-"
trigger1 = (StateType != A) && (Ctrl)

[State -1, 板投げ]
type = ChangeState
value = 1300
triggerall = !var(59)
triggerall = command = "board"
triggerall = NumHelper(1300) = 0 ;ＩＤナンバー「1300」のヘルパーが画面中に１個も出てない時
triggerall = NumHelper(1310) = 0 ;ＩＤナンバー「1310」のヘルパーが画面中に１個も出てない時
triggerall = NumProjID(1350) = 0 ;ＩＤナンバー「1350」の飛び道具が画面中に１個も出てない時
triggerall = NumHelper(1360) = 0 ;ＩＤナンバー「1360」のヘルパーが画面中に１個も出てない時
triggerall = statetype != A
trigger1 = ctrl

[State -1, ]
type = ChangeState
value = 1400
triggerall = !var(59)
triggerall = command = "board_s"
triggerall = NumHelper(1300) = 0 ;ＩＤナンバー「1300」のヘルパーが画面中に１個も出てない時
triggerall = NumHelper(1310) = 0 ;ＩＤナンバー「1310」のヘルパーが画面中に１個も出てない時
triggerall = NumProjID(1350) = 0 ;ＩＤナンバー「1350」の飛び道具が画面中に１個も出てない時
triggerall = NumHelper(1360) = 0 ;ＩＤナンバー「1360」のヘルパーが画面中に１個も出てない時
triggerall = NumHelper(1450) = 0 ;ＩＤナンバー「1450」のヘルパーが画面中に１個も出てない時
triggerall = statetype = A
trigger1 = ctrl

[State -1, 阿修羅閃空]
type = ChangeState
triggerall = !var(59)
triggerall = (command = "Asyura")
trigger1 = (StateType != A) && (Ctrl)
;■■■オリジナルコンボ■■■
trigger2 = (var(35) = 1) && (StateNo = 1000) && (StateType != A) && (Time = [12,26])
trigger3 = (var(35) = 1) && (StateNo = 1001) && (MoveContact)
trigger4 = (var(35) = 1) && (StateNo = 1005) && (MoveContact)
trigger5 = (var(35) = 1) && (StateNo = [1007,1008]) && (MoveContact)
value = 1011

[State -1, ストライカー]
type = ChangeState
value = 1500
triggerall = !var(59)
triggerall = NumHelper(1550) <= 1
triggerall = NumHelper(1560) <= 1
triggerall = command = "str"
triggerall = statetype = S
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])|| (stateno = [1000,1070])
trigger2 = movecontact

[State 4100,1];←ヘルパーを呼び出す
type = Helper
triggerall = !var(59)
triggerall = NumHelper(1550) <= 1
triggerall = NumHelper(1560) <= 1
triggerall = command = "str"
triggerall = statetype = a
trigger1 = ctrl
trigger2 = (stateno = [600,640])
trigger2 = movecontact
id = 4000
name = "nakama"
sprpriority = 4
pos = 300,-150
postype = p2
facing = -1
stateno = 1550;←呼び出されたヘルパーはこのステートから始まる
helpertype = normal
keyctrl = 0          
ownpal = 0

[State -1, kome]
type = ChangeState
value = 1800
triggerall = Var(59) = 0
triggerall = command = "kome"
triggerall = NumHelper(1810) <= 2
trigger1 = statetype != A
trigger1 = ctrl
;------------------------------------------------------------------------------
[State -1, カンフーカウンター]
type = ChangeState
triggerall = !var(59)
triggerall = (command = "countersuberi") && (var(35) <= 0)
trigger1 = (StateType != A) && (Ctrl)
value = 1009
;---------------------------------------------------------------------------
;ダッシュ
[State -1, Run Fwd]
type = ChangeState
value = 100
triggerall = !var(59)
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl
;---------------------------------------------------------------------------
;後退ダッシュ
[State -1, Run Back]
type = ChangeState
value = 105
triggerall = !var(59)
trigger1 = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl
;---------------------------------------------------------------------------
; エリアルジャンプ 
[State -1]
type = ChangeState
value = 241
triggerall = !var(59)
triggerall = (command = "u") || (command = "uu")
;triggerall = command = "holddown"
trigger1 = MoveHit = 1
trigger1 = p2statetype != A
trigger1 = stateno = 205
trigger1 = movecontact = 1
;---------------------------------------------------------------------------
[State -1, Run Back]
type = ChangeState
value = 700
triggerall = !var(59)
triggerall = power != 4000
trigger1 = command = "c"
trigger1 = statetype = S
trigger1 = ctrl
;---------------------------------------------------------------------------
[State -1, パワー溜め];ちょっとこ丸が追加した技
type = ChangeState
value = 700
triggerall = !var(59)
triggerall = command = "hold_c"
triggerall = PalNo != 7
triggerall = power < 3000 ;ゲージが満タンの時は出せない
trigger1 = statetype != A && ctrl

;---------------------------------------------------------------------------
;投げ
[State -1, Kung Fu Throw]
type = ChangeState
value = 800
triggerall = !var(59)
triggerall = command = "y"
triggerall = statetype = S
triggerall = ctrl
triggerall = stateno != 100
trigger1 = command = "holdfwd"
trigger1 = p2bodydist X < 3
trigger1 = (p2statetype = S) || (p2statetype = C)
trigger1 = p2movetype != H
trigger2 = command = "holdback"
trigger2 = p2bodydist X < 5
trigger2 = (p2statetype = S) || (p2statetype = C)
trigger2 = p2movetype != H

;===========================================================================
;　通常技
;===========================================================================
;;-------------------------------------------------------------
;立ち弱パンチ
[State -1, Stand Light Punch]
type = ChangeState
value = 200
triggerall = !var(59)
triggerall = command = "x"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = time > 6

;立ち強パンチ
[State -1, Stand Strong Punch]
type = ChangeState
value = 210
triggerall = !var(59)
triggerall = command = "y"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = (stateno = 200) && time > 5
trigger3 = (stateno = 230) && time > 6

;立ち弱キック
[State -1, Stand Light Kick]
type = ChangeState
value = 230
triggerall = !var(59)
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = (stateno = 200) && time > 7
trigger3 = (stateno = 230) && time > 9

;---------------------------------------------------------------------------
;立ち強キック
[State -1, Standing Strong Kick]
type = ChangeState
value = 240
triggerall = !var(59)
triggerall = command = "b"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = (stateno = 200) && time > 5
trigger3 = (stateno = 230) && time > 6

;---------------------------------------------------------------------------
;しゃがみ弱パンチ
[State -1, Crouching Light Punch]
type = ChangeState
value = 400
triggerall = !var(59)
triggerall = command = "x"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl

;---------------------------------------------------------------------------
;しゃがみ強パンチ
[State -1, Crouching Strong Punch]
type = ChangeState
value = 410
triggerall = !var(59)
triggerall = command = "y"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = (stateno = 400) || (stateno = 430)
trigger2 = (time > 9) || (movecontact && time > 5)

;---------------------------------------------------------------------------
;しゃがみ弱キック
[State -1, Crouching Light Kick]
type = ChangeState
value = 430
triggerall = !var(59)
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = (stateno = 400) || (stateno = 430)
trigger2 = (time > 9) || (movecontact && time > 5)

;---------------------------------------------------------------------------
;しゃがみ強キック
[State -1, Crouching Strong Kick]
type = ChangeState
value = 440
triggerall = !var(59)
triggerall = command = "b"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = (stateno = 400) || (stateno = 430)
trigger2 = (time > 9) || (movecontact && time > 5)

;---------------------------------------------------------------------------
;空中弱パンチ
[State -1, Jump Light Punch]
type = ChangeState
value = 600
triggerall = !var(59)
triggerall = command = "x"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600
trigger2 = statetime >= 7

;---------------------------------------------------------------------------
;空中強パンチ
[State -1, Jump Strong Punch]
type = ChangeState
value = 610
triggerall = !var(59)
triggerall = command = "y"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600 || stateno = 630 ;jump_x or jump_a
trigger2 = movecontact

;---------------------------------------------------------------------------
;空中弱キック
[State -1, Jump Light Kick]
type = ChangeState
value = 630
triggerall = !var(59)
triggerall = command = "a"
trigger1 = statetype = A
trigger1 = ctrl

;---------------------------------------------------------------------------
;空中強キック
[State -1, Jump Strong Kick]
type = ChangeState
value = 640
triggerall = !var(59)
triggerall = command = "b"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600 || stateno = 630 ;jump_x or jump_a
trigger2 = movecontact

;挑発
[State -1]
type = ChangeState
value = 195
triggerall = var(59) = 0 
triggerall = command = "s"
trigger1 = statetype != A
trigger1 = ctrl