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

[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,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

[Command]
name = "マックシング"
command = ~D, F, D, F, b
time = 20
buffer.time = 3

[Command]
name = "ベストパンチ"
command = ~D, F, D, F, x
time = 20
buffer.time = 3

[Command] 
name = "肋骨叩き込み"
command = ~D, F, D, F, y
time = 20
buffer.time = 3

;-| 必殺技 |------------------------------------------------------
[Command]
name = "噛み付き"
command = ~D, F, x
time = 10
buffer.time = 3

[Command]
name = "喰い付き"
command = ~D, F, y
time = 10
buffer.time = 3

[Command]
name = "アッパー"
command = ~D,B, x
time = 10
buffer.time = 3

[Command]
name = "飛び噛み"
command = ~D,B, y
time = 10
buffer.time = 3

[Command]
name = "クラウチングスタート"
command = ~D,F, a
buffer.time = 3

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

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

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

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

;-| ２回押し技 |-----------------------------------------------------------
[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 = y+x
time = 1
buffer.time = 3

;-| 方向とボタンで出す技 |---------------------------------------------------------
[Command]
name = "down_a"
command = /$D,a
time = 1
buffer.time = 3

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

;-| ボタン設定（いじらない）|---------------------------------------------------------
[Command]
name = "おしっぱなしx"
command = /$x
time = 1
[Command]
name = "おしっぱなしy"
command = /$y
time = 1
[Command]
name = "おしっぱなしa"
command = /$a
time = 1
[Command]
name = "おしっぱなしb"
command = /$b
time = 1
[Command]
name = "おしっぱなしz"
command = /$z
time = 1
[Command]
name = "おしっぱなしc"
command = /$c
time = 1
name = "start"
command = s
time = 1
buffer.time = 3

;-単発-----------------------------------------

[Command]
name = "a"
command = a
time = 1
buffer.time = 3

[Command]
name = "b"
command = b
time = 1
buffer.time = 3

[Command]
name = "c"
command = c
time = 1
buffer.time = 3

[Command]
name = "x"
command = x
time = 1
buffer.time = 3

[Command]
name = "y"
command = y
time = 1
buffer.time = 3

[Command]
name = "z"
command = z
time = 1
buffer.time = 3

[Command]
name = "start"
command = s
time = 1
buffer.time = 3

;押しっぱなし設定（いじらない）-------------------------------------------------------
[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 = "ha"
command = /a
time = 1

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

[Command]
name = "hs"
command = /s
time = 1

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

;===========================================================================
;---------------------------------------------------------------------------
;マックシング
[State -1, Triple Kung Fu Palm]
type = ChangeState
value = 3040
triggerall = (hitpausetime = 0)
triggerall = !var(59)
triggerall = command = "マックシング"
triggerall = command = "b"
triggerall = power >= 3000
triggerall = var(16)=0
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 100
trigger2 = (time >= 30)||(animelem=30,>=0)
trigger3 = (movecontact = [1,10])
trigger3 = (stateno = [200,300])
trigger3 = (stateno != 210)


;ベストパンチ
[State -1, Triple Kung Fu Palm]
type = ChangeState
value = 3000
triggerall = (hitpausetime = 0)
triggerall = !var(59)
triggerall = command = "ベストパンチ"
triggerall = command = "x"
triggerall = power >= 1000
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 100
trigger2 = (time >= 30)||(animelem=30,>=0)
trigger3 = (movecontact = [1,10])
trigger3 = (stateno = [200,300])
trigger3 = (stateno != 210)


;肋骨叩き込み
[State -1, Triple Kung Fu Palm]
type = ChangeState
value = 3010
triggerall = (hitpausetime = 0)
triggerall = !var(59)
triggerall = command = "肋骨叩き込み"
triggerall = command = "y"
triggerall = power >= 1000
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 100
trigger2 = (time >= 30)||(animelem=30,>=0)
trigger3 = (movecontact = [1,10])
trigger3 = (stateno = [200,300])
trigger3 = (stateno != 210)

;===========================================================================
;---------------------------------------------------------------------------
;アッパー
[State -1, Fast Kung Fu Palm]
type = ChangeState
value = 1020
triggerall = (hitpausetime = 0)
triggerall = command = "アッパー"
triggerall = command = "x"
triggerall = statetype != A
trigger1 = !var(59)
trigger1 = ctrl
trigger2 = !var(59)
trigger2 = stateno = 100
trigger2 = (time >= 30)||(animelem=30,>=0)
trigger3 = (movecontact)
trigger3 = (stateno = [200,599])
trigger3 = var(16)
;---------------------------------------------------------------------------
;噛み付き
[State -1, Light Kung Fu Palm]
type = ChangeState
value = 1000
triggerall = (hitpausetime = 0)
triggerall = command = "噛み付き"
triggerall = command = "x"
triggerall = statetype != A
trigger1 = !var(59)
trigger1 = ctrl
trigger2 = !var(59)
trigger2 = stateno = 1000
trigger2 = animelem = 12,>=0
trigger2 = animelem = 16,<0
trigger2 = var(2) < 2
trigger3 = !var(59)
trigger3 = (movecontact = [1,10])
trigger3 = (stateno = [200,300])
trigger3 = (stateno != 210)
trigger4 = !var(59)
trigger4 = stateno = 100
trigger4 = (time >= 30)||(animelem=30,>=0)
trigger5 = (movecontact)
trigger5 = (stateno = [200,599])
trigger5 = var(16)
;------------------------------------------------------------
;噛み付き空中
[State -1, Light Kung Fu Palm]
type = ChangeState
value = 1005
triggerall = (hitpausetime = 0)
triggerall = command = "飛び噛み"
triggerall = command = "y"
triggerall = statetype != A
trigger1 = !var(59)
trigger1 = ctrl
trigger2 = !var(59)
trigger2 = (movecontact = [1,10])
trigger2 = (stateno = [200,300])
trigger2 = (stateno != 210)
trigger3 = !var(59)
trigger3 = stateno = 100
trigger3 = (time >= 30)||(animelem=30,>=0)
trigger4 = (movecontact)
trigger4 = (stateno = [200,599])
trigger4 = var(16)
;---------------------------------------------------------------------------
;喰い付き
[State -1, Strong Kung Fu Palm]
type = ChangeState
value = 1010
triggerall = (hitpausetime = 0)
triggerall = command = "喰い付き"
triggerall = command = "y"
trigger1 = !var(59)
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = !var(59)
trigger2 = stateno = 1010
trigger2 = animelem = 42,>=0
trigger2 = animelem = 49,<0
trigger2 = var(2) < 2
trigger3 = !var(59)
trigger3 = (movecontact = [1,10])
trigger3 = (stateno = [200,300])
trigger3 = (stateno != 210)
trigger4 = !var(59)
trigger4 = stateno = 100
trigger4 = (time >= 30)||(animelem=30,>=0)
trigger5 = !var(59)
trigger5 = (movecontact)
trigger5 = (stateno = [200,599])
trigger5 = var(16)
;---------------------------------------------------------------------------
;クラウチングスタート
[State -1, Fast Kung Fu Palm]
type = ChangeState
value = 1040
triggerall = (hitpausetime = 0)
triggerall = command = "クラウチングスタート"
triggerall = command = "a"
trigger1 = !var(59)
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = !var(59)
trigger2 = stateno = 100
trigger2 = (time >= 30)||(animelem=30,>=0)
trigger3 = !var(59)
trigger3 = (movecontact)
trigger3 = (stateno = [200,599])
trigger3 = var(16)
;===========================================================================
;---------------------------------------------------------------------------
;ダッシュ
[State -1, Run Fwd]
type = ChangeState
value = 100
triggerall = (hitpausetime = 0)
triggerall = !var(59)
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl

[State -1, ジャンプキャンセル]
type = ChangeState
triggerall = (var(59) != 1)&&(hitpausetime = 0)
triggerall = (command = "holdup")&&(StateType != A)
trigger1 = (stateno = 200)&&(movecontact)
trigger1 = (animelem=5,>=0)
value = 40
;------------------------------------------------------------
;裏投げ
[State -1, Kung Fu Throw]
type = ChangeState
value = 850
triggerall = (hitpausetime = 0)
triggerall = !var(59)
triggerall = command = "掴み"
triggerall = command = "y"
triggerall = command = "x"
triggerall = command = "holdback"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 100
trigger2 = (time >= 30)||(animelem=30,>=0)
;------------------------------------------------------------
;投げ
[State -1, Kung Fu Throw]
type = ChangeState
value = 800
triggerall = (hitpausetime = 0)
triggerall = !var(59)
triggerall = command = "掴み"
triggerall = command = "y"
triggerall = command = "x"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 100
trigger2 = (time >= 30)||(animelem=30,>=0)
;------------------------------------------------------------
[State -1, ガードキャンセル1]
type = ChangeState
value = 780
triggerall = (hitpausetime = 0)
triggerall = !var(59)
triggerall = power >=1000
triggerall = (StateNo = [150,153])
;triggerall = !(HitShakeOver)
triggerall = (InGuardDist)
triggerall = statetype != A
trigger1 = command = "holdfwd"&&command = "y"

;============================================================
;---------------------------------------------------------------------------
;立ち弱パンチ
[State -1, Stand Light Punch]
type = ChangeState
value = 200
triggerall = (hitpausetime = 0)
triggerall = !var(59)
triggerall = command = "x"
triggerall = command != "holddown"
triggerall = statetype != A
trigger1 = !var(59)
trigger1 = ctrl
trigger2 = !var(59)
trigger2 = stateno = 100
trigger2 = (time >= 30)||(animelem=30,>=0)
trigger3 = (movecontact)
trigger3 = (stateno = [200,599])
trigger3 = (stateno != 200)
trigger3 = var(16)
;---------------------------------------------------------------------------
;立ち強パンチ
[State -1, Stand Strong Punch]
type = ChangeState
value = 210
triggerall = (hitpausetime = 0)
triggerall = !var(59)
triggerall = command = "y"
triggerall = command != "holddown"
triggerall = statetype != A
trigger1 = !var(59)
trigger1 = ctrl
trigger2 = !var(59)
trigger2 = stateno = 100
trigger2 = (time >= 30)||(animelem=30,>=0)
trigger3 = (movecontact)
trigger3 = (stateno = [200,599])
trigger3 = (stateno != 210)
trigger3 = var(16)
;---------------------------------------------------------------------------
;立ち弱キック
[State -1, Stand Light Kick]
type = ChangeState
value = 230
triggerall = (hitpausetime = 0)
triggerall = !var(59)
triggerall = command = "a"
triggerall = command != "holddown"
triggerall = statetype != A
trigger1 = !var(59)
trigger1 = ctrl
trigger2 = !var(59)
trigger2 = stateno = 100
trigger2 = (time >= 30)||(animelem=30,>=0)
trigger3 = (movecontact)
trigger3 = (stateno = [200,599])
trigger3 = (stateno != 230)
trigger3 = var(16)
;---------------------------------------------------------------------------
;立ち強キック
[State -1, Standing Strong Kick]
type = ChangeState
value = 240
triggerall = (hitpausetime = 0)
triggerall = !var(59)
triggerall = command = "b"
triggerall = command != "holddown"
triggerall = statetype != A
trigger1 = !var(59)
trigger1 = ctrl
trigger2 = !var(59)
trigger2 = stateno = 100
trigger2 = (time >= 30)||(animelem=30,>=0)
trigger3 = (movecontact)
trigger3 = (stateno = [200,599])
trigger3 = (stateno != 240)
trigger3 = var(16)
;---------------------------------------------------------------------------
;挑発
[State -1, Taunt]
type = ChangeState
value = 195
triggerall = (hitpausetime = 0)
triggerall = !var(59)
triggerall = command = "start"
trigger1 = statetype != A
trigger1 = ctrl

;---------------------------------------------------------------------------
;しゃがみ弱パンチ
[State -1, Crouching Light Punch]
type = ChangeState
value = 400
triggerall = (hitpausetime = 0)
triggerall = !var(59)
triggerall = command = "x"
triggerall = command = "holddown"
triggerall = statetype != A
trigger1 = !var(59)
trigger1 = ctrl
trigger2 = !var(59)
trigger2 = stateno = 100
trigger2 = (time >= 30)||(animelem=30,>=0)
trigger3 = (movecontact)
trigger3 = (stateno = [200,599])
trigger3 = (stateno != 400)
trigger3 = var(16)
;---------------------------------------------------------------------------
;しゃがみ強パンチ
[State -1, Crouching Strong Punch]
type = ChangeState
value = 410
triggerall = (hitpausetime = 0)
triggerall = !var(59)
triggerall = command = "y"
triggerall = command = "holddown"
triggerall = statetype != A
trigger1 = !var(59)
trigger1 = ctrl
trigger2 = !var(59)
trigger2 = stateno = 100
trigger2 = (time >= 30)||(animelem=30,>=0)
trigger3 = (movecontact)
trigger3 = (stateno = [200,599])
trigger3 = (stateno != 410)
trigger3 = var(16)
;---------------------------------------------------------------------------
;しゃがみ弱キック
[State -1, Crouching Light Kick]
type = ChangeState
value = 430
triggerall = (hitpausetime = 0)
triggerall = !var(59)
triggerall = command = "a"
triggerall = command = "holddown"
triggerall = statetype != A
trigger1 = !var(59)
trigger1 = ctrl
trigger2 = !var(59)
trigger2 = stateno = 100
trigger2 = (time >= 30)||(animelem=30,>=0)
trigger3 = (movecontact)
trigger3 = (stateno = [200,599])
trigger3 = (stateno != 430)
trigger3 = var(16)
;---------------------------------------------------------------------------
;しゃがみ強キック
[State -1, Crouching Strong Kick]
type = ChangeState
value = 440
triggerall = (hitpausetime = 0)
triggerall = !var(59)
triggerall = command = "b"
triggerall = command = "holddown"
triggerall = statetype != A
trigger1 = !var(59)
trigger1 = ctrl
trigger2 = !var(59)
trigger2 = stateno = 100
trigger2 = (time >= 30)||(animelem=30,>=0)
trigger3 = (movecontact)
trigger3 = (stateno = [200,599])
trigger3 = (stateno != 440)
trigger3 = var(16)
;---------------------------------------------------------------------------
;空中弱パンチ
[State -1, Jump Light Punch]
type = ChangeState
value = 600
triggerall = (hitpausetime = 0)
triggerall = !var(59)
triggerall = command = "x"
trigger1 = !var(59)
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = (movecontact)
trigger2 = (stateno = [600,699])
trigger2 = (stateno != 600)
trigger2 = var(16)
;---------------------------------------------------------------------------
;空中強パンチ
[State -1, Jump Strong Punch]
type = ChangeState
value = 610
triggerall = (hitpausetime = 0)
triggerall = !var(59)
triggerall = command = "y"
trigger1 = !var(59)
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = (movecontact)
trigger2 = (stateno = [600,699])
trigger2 = (stateno != 610)
trigger2 = var(16)
;---------------------------------------------------------------------------
;空中弱キック
[State -1, Jump Light Kick]
type = ChangeState
value = 630
triggerall = (hitpausetime = 0)
triggerall = !var(59)
triggerall = command = "a"
trigger1 = !var(59)
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = (movecontact)
trigger2 = (stateno = [600,699])
trigger2 = (stateno != 630)
trigger2 = var(16)
;---------------------------------------------------------------------------
;空中強キック
[State -1, Jump Strong Kick]
type = ChangeState
value = 640
triggerall = (hitpausetime = 0)
triggerall = command = "b"
trigger1 = !var(59)
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = (movecontact)
trigger2 = (stateno = [600,699])
trigger2 = (stateno != 640)
trigger2 = var(16)
