;-| 超必殺技 |--------------------------------------------------------
;ここには超必殺技を記述してください、同じ名前を「name =」欄に書けますが
;コマンドは絶対に違ったものにしてください。
;カンフーマンは弱パンチと強パンチで技が出せるように同じ名前のコマンドで
;内容が弱と強になっています。
;「time=20」と書くことで「コマンドを20フレーム以内に入力」と設定できます。

; シュラハトフェルトクヴァール-A1
[Command]
name = "S-C1"
command = ~D, DF, F, D, DF, F, x
time = 40

; シュラハトフェルトクヴァール-A2
[Command] 
name = "S-C2"
command = ~D, DF, F, D, DF, F, y
time = 40

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

; フリューゲルボーゲン-A1
[Command]
name = "F-B1"
command = ~F, D, B, x
time = 20

; フリューゲルボーゲン-A2
[Command]
name = "F-B2"
command = ~F, D, B, y
time = 20

; フェアエンデルングアイン
[Command]
name = "F-E"
command = ~F, D, B, z
time = 20

; ツヴァイトラバント
[Command]
name = "T-T"
command = ~B, D, F, z
time = 20

; フォアリュッケンメッサー
[Command]
name = "F-M"
command = ~D, DF, F, z
time = 20

; ヒンメルファンゲンA1
[Command]
name = "H-F1"
command = ~D, DB, B, x
time = 20

; ヒンメルファンゲンA2
[Command]
name = "H-F2"
command = ~D, DB, B, x
time = 20

; ゴットクーゲル-A1
[Command]
name = "G-K1"
command = ~D, DF, F, x
time = 20

; ゴットクーゲル-A2
[Command]
name = "G-K2"
command = ~D, DF, F, y
time = 20

;-| ２回押し技 |-----------------------------------------------------------
[Command]
name = "FF"     
command = F, F
time = 10

[Command]
name = "BB"     
command = B, B
time = 10

[Command]
name = "aa"     
command = a, a
time = 10

;-| ２・３個の同時押し技 |-----------------------------------------------
[Command]
name = "recovery"
command = x+y
time = 1

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

;-| 方向とボタンで出す技 |---------------------------------------------------------
[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 = "hold_x" 
command = /$x
time = 1

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

[Command]
name = "hold_z" 
command = /$z
time = 1

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

[Command]
name = "holddown"
command = /$D
time = 1

; ブースト用
[Command]
name = "hold-a"
command = /$a
time = 1

; 下の記述↓は絶対に消さないでください。
[Statedef -1]
;===========================================================================
; 超必殺技
;===========================================================================
;---------------------------------------------------------------------------
; シュラハトフェルトクヴァール-A1
[State -1, Triple Kung Fu Palm]
type = ChangeState
value = 3000
triggerall = command = "S-C1"
triggerall = power >= 1000
trigger1 = statetype != A
trigger1 = ctrl

; シュラハトフェルトクヴァール-A2
[State -1, Triple Kung Fu Palm]
type = ChangeState
value = 3000
triggerall = command = "S-C2"
triggerall = power >= 1000
trigger1 = statetype != A
trigger1 = ctrl

;---------------------------------------------------------------------------
; ギガクラッシュ
[State -1, Triple Kung Fu Palm]
type = ChangeState
value = 2000
triggerall = command = "G-C"
triggerall = power >= 1000
trigger1 = statetype = S
trigger1 = ctrl

;===========================================================================
; 必殺技
;===========================================================================
;---------------------------------------------------------------------------
;フェアエンデルングアイン
[State -1, Stand Strong Punch]
type = ChangeState
value = 4700
triggerall = PalNo = 7
triggerall = command = "F-E"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;ツヴァイトラバント
[State -1, Stand Strong Punch]
type = ChangeState
value = 4650
triggerall = PalNo = 7
triggerall = command = "T-T"
triggerall = command != "holddown"
triggerall = NumHelper(4600) = 0
triggerall = NumHelper(4601) = 0
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;フォアリュッケンメッサー
[State -1, Stand Strong Punch]
type = ChangeState
value = 4500
triggerall = PalNo = 7
triggerall = command = "F-M"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;フリューゲルボーゲン-A1
[State -1, Fast Kung Fu Knee]
type = ChangeState
value = 1000
triggerall = command = "F-B1"
trigger1 = statetype != A
trigger1 = ctrl

;---------------------------------------------------------------------------
;フリューゲルボーゲン-A2
[State -1, Fast Kung Fu Knee]
type = ChangeState
value = 1010
triggerall = command = "F-B2"
trigger1 = statetype != A
trigger1 = ctrl

;---------------------------------------------------------------------------
;ゴットクーゲル-A1
[State -1, Fast Kung Fu Knee]
type = ChangeState
value = 1200
triggerall = command = "G-K1"
trigger1 = statetype != A
trigger1 = ctrl

;---------------------------------------------------------------------------
;ゴットクーゲル-A2
[State -1, Fast Kung Fu Knee]
type = ChangeState
value = 1100
triggerall = command = "G-K2"
trigger1 = statetype != A
trigger1 = ctrl

;---------------------------------------------------------------------------
;ヒンメルファンゲン
[State -1, Fast Kung Fu Knee]
type = ChangeState
value = 1290
triggerall = command = "H-F1"
triggerall = command = "H-F2"
trigger1 = statetype = A
trigger1 = ctrl

;===========================================================================
; 特殊動作
;===========================================================================
;---------------------------------------------------------------------------
;ダッシュ
[State -1, Run Fwd]
type = ChangeState
value = 100
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;後退ダッシュ
[State -1, Run Back]
type = ChangeState
value = 105
trigger1 = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl
;---------------------------------------------------------------------------
;グライフェンバルケン
[State -1, Kung Fu Throw]
type = ChangeState
value = 800
triggerall = command = "y"|| command = "x"
triggerall = statetype = S
triggerall = ctrl
triggerall = stateno != 100
trigger1 = command = "holdfwd"
trigger1 = p2bodydist X < 20
trigger1 = (p2statetype = S) || (p2statetype = C)
trigger1 = p2movetype != H
trigger2 = command = "holdback"
trigger2 = p2bodydist X < 20
trigger2 = (p2statetype = S) || (p2statetype = C)
trigger2 = p2movetype != H

;---------------------------------------------------------------------------
; 地上ブースト（前方）
[State -1, Jump Light Punch]
type = ChangeState
value = 920
triggerall = command = "a"
triggerall = command = "holdfwd"
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
; 地上ブースト（後方）
[State -1, Jump Light Punch]
type = ChangeState
value = 930
triggerall = command = "a"
triggerall = command = "holdback"
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
; 地上ブースト（前方）
[State -1, Jump Light Punch]
type = ChangeState
value = 920
triggerall = command = "a"
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
; 空中ブースト
[State -1, Jump Light Punch]
type = ChangeState
value = 900
triggerall = command = "a"
trigger1 = statetype = A
trigger1 = ctrl
trigger1 = var(10) > 0
trigger2 = Stateno = 600
trigger2 = time > 19
trigger3 = Stateno = 610
trigger3 = time > 25
trigger4 = stateno = 1390
trigger4 = movecontact

;===========================================================================
; W攻撃
;===========================================================================
;---------------------------------------------------------------------------
;W攻撃
[State -1, Stand Light Punch]
type = ChangeState
value = 620
triggerall = command = "z"
triggerall = NumHelper(610) = 0
triggerall = NumHelper(621) = 0
trigger1 = statetype = A
trigger1 = ctrl

;===========================================================================
; 通常攻撃
;===========================================================================
;---------------------------------------------------------------------------
;立ちA1
[State -1, Stand Light Punch]
type = ChangeState
value = 200
triggerall = command = "x"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;立ちA2
[State -1, Stand Strong Punch]
type = ChangeState
value = 210
triggerall = command = "y"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;ストライカー
[State -1, Stand Strong Punch]
type = ChangeState
value = 6900
triggerall = PalNo = 7
triggerall = command = "b"
triggerall = command != "holddown"
triggerall = NumHelper(7000) = 0
triggerall = Stateno = 0
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
;屈みA1
[State -1, Crouching Light Punch]
type = ChangeState
value = 400
triggerall = command = "x"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl

;---------------------------------------------------------------------------
;屈みA2
[State -1, Crouching Strong Punch]
type = ChangeState
value = 410
triggerall = command = "y"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl

;---------------------------------------------------------------------------
;空中A1
[State -1, Jump Strong Punch]
type = ChangeState
value = 605
triggerall = command = "x"
trigger1 = statetype = A
trigger1 = ctrl

;---------------------------------------------------------------------------
;ウルターアングリフ
[State 0, 5]
type = ChangeState
value = 630
triggerall = StateType = A
trigger1 = command = "holddown"
trigger1 = command = "y"
trigger1 = ctrl

;---------------------------------------------------------------------------
;空中A2
[State -1, Jump Light Punch]
type = ChangeState
value = 600
triggerall = command = "y"
triggerall = NumHelper(610) = 0
triggerall = NumHelper(621) = 0
trigger1 = statetype = A
trigger1 = ctrl

;---------------------------------------------------------------------------
;空中A2(飛び道具が画面内にあるとき)
[State -1, Jump Strong Punch]
type = ChangeState
value = 630
triggerall = command = "y"
trigger1 = statetype = A
trigger1 = ctrl

;---------------------------------------------------------------------------
；パワー溜め
[State -1, Power Charge]
type = ChangeState
value = 550
triggerall = command = "hold_x" && command = "hold_y"
triggerall = statetype != A
triggerall = power < 1000 
trigger1 = ctrl
