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

[Command]
name = "BF_b"
command = ~B, F, b

[Command]
name = "BF_c"
command = ~B, F, c

[Command]
name = "DF_a"
command = D, F, a

[Command]
name = "DF_c"
command = D, F, c

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

[Command]
name = "D_ab"
command = D, a+b

[Command]
name = "bc"
command = b+c

[Command]
name = "D_bc"
command = D, b+c

[Command]
name = "DFDF_c"
command = ~D, F, D, F, c


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

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

[Command]
name = "DU"
command = D, U
time = 10

;-| ２・３個の同時押し技 |-----------------------------------------------
[Command]
name = "recovery"
command = a+b
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

; 下の記述↓は絶対に消さないでください。
[Statedef -1]
;===========================================================================
;---------------------------------------------------------------------
;クリムゾンスマッシュ
[State -1]
type = ChangeState
value = 3000
triggerall = command = "DFDF_c" && statetype = A
triggerall = power >= 1000
trigger1 = ctrl
trigger2 = (stateno = [600,699])
trigger2 = stateno != 640 ;Except for sweep kick
trigger2 = movecontact

;---------------------------------------------------------------------------
;スマッシュキック・ショート
[State -1]
type = ChangeState
value = 1000
triggerall = command = "BF_b"
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 = "BF_c"
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 = 1100
triggerall = !var(7)
triggerall = statetype != A
triggerall = command = "DF_a"
trigger1 = ctrl
trigger2 = stateno = [200,201]
trigger3 = stateno = 210
trigger4 = stateno = 220
trigger5 = stateno = [230,231]
trigger6 = stateno = 240
trigger7 = stateno = 250
trigger8 = stateno = 251
trigger9 = stateno = 400
trigger10 = stateno = 410
trigger11 = stateno = 420
trigger12 = stateno = 430
trigger13 = stateno = 440
trigger14 = stateno = 450
trigger15 = StateNo = 900 && PrevStateNo != [150,154]
trigger16 = StateNo = 920 && PrevStateNo != [150,154]
trigger17 = StateNo = 940 && PrevStateNo != [150,154]
;---------------------------------------------------------------------------
;フォンブラスター・バーストモード 
[State -1]
type = ChangeState
value = 1110
triggerall = !var(7)
triggerall = statetype != A
triggerall = command = "DF_c"
trigger1 = ctrl
trigger2 = stateno = [200,201]
trigger3 = stateno = 210
trigger4 = stateno = 220
trigger5 = stateno = [230,231]
trigger6 = stateno = 240
trigger7 = stateno = 250
trigger8 = stateno = 251
trigger9 = stateno = 400
trigger10 = stateno = 410
trigger11 = stateno = 420
trigger12 = stateno = 430
trigger13 = stateno = 440
trigger14 = stateno = 450
trigger15 = StateNo = 900 && PrevStateNo != [150,154]
trigger16 = StateNo = 920 && PrevStateNo != [150,154]
trigger17 = StateNo = 940 && PrevStateNo != [150,154]
;---------------------------------------------------------------------------
;アクセルムーブ
[State -1]
type = ChangeState
value = 1200
triggerall = statetype != A
triggerall = var(10) = 0
triggerall = stateno != 1210
triggerall = command = "ab" || command = "D_ab" || command = "bc" || command = "D_bc"
trigger1 = ctrl
trigger2 = stateno = 205 || stateno = 235 || stateno = 245 || Stateno = 255
trigger2 = movecontact
trigger3 = stateno = 200 || stateno = 215 || Stateno = 225
trigger3 = AnimElem = 3, < 0 && movecontact
trigger4 = stateno = 405 || stateno = 415 || stateno = 425 || stateno = 430 || stateno = 435 || stateno = 445 || Stateno = 455
trigger4 = movecontact
;---------------------------------------------------------------------------
;===========================================================================
;前方ダッシュ
[State -1, Dash Forward]
type = ChangeState
value = 100
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl
trigger1 = stateno != 100 && stateno != 105
;---------------------------------------------------------------------------
;後退ダッシュ
[State -1, Run Back]
type = ChangeState
value = 105
trigger1 = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl
;---------------------------------------------------------------------------
;ハイジャンプ
[State -1, Aerial Rave Jump]
type = ChangeState
value = 40
trigger1 = stateno = 420 && movehit = 1  && command = "holdup" && time > 16
trigger2 = command = "DU" && statetype = S && ctrl
;---------------------------------------------------------------------------
;投げ
[State -1, Kung Fu Throw]
type = ChangeState
value = 800
triggerall = command = "c"
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 Panch]
type = ChangeState
value = 200
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = (Stateno = 400) && movecontact = 1

;---------------------------------------------------------------------------
;立ちキック
[State -1, Stand Strong Attack]
type = ChangeState
value = 210
triggerall = command = "b"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = (Stateno = 200) && movecontact = 1
trigger3 = (Stateno = 400) && movecontact = 1
trigger4 = (Stateno = 410) && movecontact = 1
;---------------------------------------------------------------------------
;立ち強攻撃
[State -1, Standing Strong Attack]
type = ChangeState
value = 220
triggerall = command = "c"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = (Stateno = 200) && movecontact = 1
trigger3 = (Stateno = 210) && movecontact = 1
trigger4 = (Stateno = 400) && movecontact = 1
trigger5 = (Stateno = 410) && movecontact = 1
;---------------------------------------------------------------------------
;しゃがみパンチ
[State -1, Crouching Panch]
type = ChangeState
value = 400
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = (Stateno = 200) && movecontact = 1

;---------------------------------------------------------------------------
;しゃがみキック
[State -1, Crouching Kick]
type = ChangeState
value = 410
triggerall = command = "b"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = (Stateno = 200) && movecontact = 1
trigger3 = (Stateno = 210) && movecontact = 1
trigger4 = (Stateno = 400) && movecontact = 1
;---------------------------------------------------------------------------
;しゃがみ強攻撃
[State -1, Crouching Strong Attack]
type = ChangeState
value = 420
triggerall = command = "c"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = (Stateno = 200) && movecontact = 1
trigger3 = (Stateno = 210) && movecontact = 1
trigger4 = (Stateno = 220) && movecontact = 1
trigger5 = (Stateno = 400) && movecontact = 1
trigger6 = (Stateno = 410) && movecontact = 1
;---------------------------------------------------------------------------
;ジャンプパンチ
[State -1, Jump Panch]
type = ChangeState
value = 600
triggerall = command = "a"
trigger1 = statetype = A
trigger1 = ctrl

;---------------------------------------------------------------------------
;ジャンプキック
[State -1, Jump Kick]
type = ChangeState
value = 610
triggerall = command = "b"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = (Stateno = 600) && movecontact = 1
;---------------------------------------------------------------------------
;ジャンプ強攻撃
[State -1, Jump Strong Punch]
type = ChangeState
value = 620
triggerall = command = "c"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = (Stateno = 600) && movecontact = 1
trigger3 = (Stateno = 610) && movecontact = 1