;-| AI起動用コマンド |------------------------------
[Command]
name = "AI00"
command = a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a
time = 0
[Command]
name = "AI01"
command = b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b
time = 0
[Command]
name = "AI02"
command = c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c
time = 0
[Command]
name = "AI03"
command = x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x
time = 0
[Command]
name = "AI04"
command = y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y
time = 0
[Command]
name = "AI05"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z
time = 0
[Command]
name = "AI06"
command = s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s
time = 0
[Command]
name = "AI07"
command = F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F,F
time = 0
[Command]
name = "AI08"
command = D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D,D
time = 0
[Command]
name = "AI09"
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,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a
time = 0
[Command]
name = "AI12"
command = c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c
time = 0
[Command]
name = "AI13"
command = x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,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,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,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,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b,b
time = 0
[Command]
name = "AI20"
command = c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,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,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y
time = 0
[Command]
name = "AI33"
command = z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,z,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

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

[Command]
name = "ギャラルホルン"
command = a+b+c
time = 40

[Command]
name = "ギャラルホルン"
command = ~D, D, x
time = 40

[Command] 
name = "特攻グレイプニル"
command = ~D, D, b+c
time = 40

[Command]
name = "特攻ゲッターカノーネ"
command = ~D, DF, F, b+c
time = 40

[Command]
name = "特攻ゲッターカノーネ"
command = ~D, F, D, F, y
time = 40

[Command]
name = "特攻ラーンスネッツ"
command = ~D, DB, B, b+c
time = 40

[Command]
name = "特攻ラーンスネッツ"
command = ~D, B, D, B, y
time = 40

;-| 必殺技 |------------------------------------------------------
[Command]
name = "ラーンスネッツa"
command = ~D, DB, B, a
time = 20

[Command]
name = "ラーンスネッツb"
command = ~D, DB, B, b
time = 20

[Command]
name = "ラーンスネッツc"
command = ~D, DB, B, c
time = 20

[Command]
name = "ゲッターカノーネ"
command = ~D, DF, F, a
time = 15

[Command]
name = "ゲッターカノーネ"
command = ~D, DF, F, b
time = 15

[Command]
name = "ゲッターカノーネ"
command = ~D, DF, F, c
time = 15

[Command]
name = "上昇轢き_a"
command = ~F, D, DF, a
time = 25

[Command]
name = "上昇轢き_b"
command = ~F, D, DF, b
time = 25

[Command]
name = "グレイプニル"
command = D, D, a
time = 25

[Command]
name = "グレイプニル"
command = D, D, b
time = 25

[Command]
name = "グレイプニル"
command = D, D, c
time = 25

;※※※※※※※※※※※※※※※※※※※※ハイジャンプコマンド
;下をちょっと押して上を押す、と言う意味。
[Command]
name = "jump"    
command = ~D,$U
time = 10

;※※※※※※※※※※※※※※※※※※※※前避け
;前を押しながらＡ＋Ｂ、という意味
[Command]
name = "away-f"    
command = /F,a+b
time = 10

;※※※※※※※※※※※※※※※※※※※※前避け
;後を押しながらＡ＋Ｂ、という意味
[Command]
name = "away-b"    
command = /B,a+b
time = 10

;-| ２回押し技 |-----------------------------------------------------------
[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 = "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 = "holdx"
command = /$x
time = 1

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

; 下の記述↓は絶対に消さないでください。
[Statedef -1]

;===========================================================================
;---------------------------------------------------------------------------

[State -1,ギャラルホルン]
type = ChangeState
value = 3500
triggerall = command = "ギャラルホルン"
triggerall = power >= 3000
triggerall = statetype != A
triggerall = Var(20) != 1
trigger1 = ctrl

[State -1, 特攻グレイプニル]
type = ChangeState
value = 3000
triggerall = command = "特攻グレイプニル"
triggerall = power >= 1000
triggerall = Var(20) != 1
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = statetype != A
trigger2 = hitdefattr = SC, NA, SA
trigger2 = movecontact

[State -1, 特攻ゲッターカノーネ]
type = ChangeState
value = 2020
triggerall = command = "特攻ゲッターカノーネ"
triggerall = power >= 1000
triggerall = Var(20) != 1
trigger1 = statetype = S
trigger1 = ctrl

[State -1, 特攻ラーンスネッツ]
type = ChangeState
value = 1020
triggerall = command = "特攻ラーンスネッツ"
triggerall = power >= 1000
triggerall = Var(20) != 1
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, Strong Kung Fu Palm]
type = ChangeState
value = 1035
triggerall = command = "上昇轢き_b"
triggerall = Var(20) != 1
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = stateno != 440 ;Except for sweep kick
trigger2 = movecontact

;ジャンプ轢き潰し（弱）
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 1030
triggerall = command = "上昇轢き_a"
triggerall = Var(20) != 1
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = stateno != 440 ;Except for sweep kick
trigger2 = movecontact
　　　
;===========================================================================

[State -1, ゲッターカノーネ]
type = ChangeState
value = 2000
triggerall = command = "ゲッターカノーネ"
triggerall = Var(20) != 1
trigger1 = statetype = S
trigger1 = ctrl

[State -1, ラーンスネッツ]
type = ChangeState
value = 1015
triggerall = (command = "ラーンスネッツb") || command = "ラーンスネッツc"
triggerall = Var(20) != 1
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = stateno != 440 ;Except for sweep kick
trigger2 = movecontact

[State -1, ラーンスネッツ]
type = ChangeState
value = 1010
triggerall = command = "ラーンスネッツa"
triggerall = Var(20) != 1
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = stateno != 440 ;Except for sweep kick
trigger2 = movecontact

[State -1, グレイプニル]
type = ChangeState
value = 4005
triggerall = command = "グレイプニル"
triggerall = Var(20) != 1
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = time >= 8
trigger3 = stateno = 210
trigger3 = time >= 8
trigger4 = stateno = 205
trigger4 = time >= 8

;===========================================================================
;空中轢き潰し
[State -1, Light Kung Fu Palm]
type = ChangeState
value = 1005
triggerall =  (command = "ラーンスネッツb") || command = "ラーンスネッツc"
triggerall = Var(20) != 1
trigger1 = statetype != S
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = stateno != 440 ;Except for sweep kick
trigger2 = movecontact

;空中轢き潰し
[State -1, Light Kung Fu Palm]
type = ChangeState
value = 1000
triggerall = command = "ラーンスネッツa"
triggerall = Var(20) != 1
trigger1 = statetype != S
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = stateno != 440 ;Except for sweep kick
trigger2 = movecontact

;===========================================================================

;ダッシュ
[State -1, Run Fwd]
type = ChangeState
value = 100
triggerall = Var(20) != 1
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl

;後退ダッシュ
[State -1, Run Back]
type = ChangeState
value = 105
triggerall = Var(20) != 1
trigger1 = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl

;===========================================================================

;挑発 投げすかりの代わり
[State -1, Taunt]
type = ChangeState
value = 195
triggerall = command = "start"
triggerall = Var(20) != 1
trigger1 = statetype != A
trigger1 = ctrl

;---------------------------------------------------------------------------
;アーマー解除
[State -1, Taunt]
type = ChangeState
value = 6002
triggerall = command = "z"
triggerall = Var(20) = 0
trigger1 = var(25) = 1
trigger1 = statetype != A
trigger1 = ctrl

;---------------------------------------------------------------------------
;アーマー
[State -1, Taunt]
type = ChangeState
value = 6001
triggerall = command = "z"
triggerall = Var(20) = 0
trigger1 = var(25) = 0
trigger1 = statetype != A
trigger1 = ctrl


;---------------------------------------------------------------------------
;立ち弱パンチ
[State -1, Stand Strong Punch]
type = ChangeState
value = 200
triggerall = command = "a"
triggerall = Var(20) != 1
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = (stateno = 200) && time > 9
trigger3 = (stateno = 230) && time > 6

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


;---------------------------------------------------------------------------
;空中弱パンチ
[State -1, Jump Strong Kick]
type = ChangeState
value = 600
triggerall = command = "a"
triggerall = Var(20) != 1
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = (stateno = 600) && time > 8
trigger2 = movecontact

;---------------------------------------------------------------------------
;空中強パンチ
[State -1, Jump Strong Kick]
type = ChangeState
value = 610
triggerall = command = "b"
triggerall = Var(20) != 1
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = (stateno = 600) && time > 8
trigger2 = movecontact

