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

;ハイパーカブト
[Command]
name = "CDCD_kabuto"     
command = x+c
time = 10

;ブラスターファイズ
[Command]
name = "CDCD_555"     
command = x+b
time = 10

;クウガゴウラム
[Command]
name = "FFR_kuuga"     
command = x+a
time = 10

;アタックライド：クロックアップ
[Command]
name = "C_UP"     
command =  ~a, F,  c
time = 80

;ディメンションキック
[Command]
name = "DFDF_c"
command = ~D, F, D, F, c
time = 30

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

;アタックライド：泣けるで
[Command]
name = "D_s"
command = /$D , s
time = 15

;アタックライド：僕に釣られてみる
[Command]
name = "B_s"
command = /$B , s
time = 15

;アタックライド：答えは聞いてない
[Command]
name = "F_s"
command = /$F , s
time = 15

;アタックライド：俺、参上！
[Command]
name = "s"
command = s
time = 15

;アッパースラッシュ
[Command]
name = "FDDF_c"
command = ~F, D, DF, c
time = 20

;セイバースラッシュ
[Command]
name = "FDDF_a"
command = ~F, D, DF, a
time = 20

;サンダー近
[Command]
name = "FDB_a"
command = F, D, B, a
time = 30

;サンダー中
[Command]
name = "FDB_b"
command = F, D, B, b
time = 30

;サンダー遠
[Command]
name = "FDB_c"
command = F, D, B, c
time = 30

;鬼棒術・烈火弾二連
[Command]
name = "BDF_c"     
command = B, DB, D, DF, F, c
time = 30

;アタックライド：オートバジン
[Command]
name = "BDF_b"
command = B, DB, D, DF, F, b
time = 30

;昇龍突破
[Command]
name = "BDF_a"
command = B, DB, D, DF, F, a
time = 30

;マイティキック
[Command]
name = "DB_b"
command = ~D, DB, B, b
time = 20

;ライダーキック
[Command]
name = "DB_c"
command = ~D, DB, B, c
time = 20

;ストームドラゴン
[Command]
name = "DB_a"
command = ~D, DB, B, a
time = 20

;ブラストペガサス
[Command]
name = "DF_a"
command = D, DF, F, a
time = 20

;ブラストペガサスシュートロー
[Command]
name = "DF_b"
command = D, DF, F, b
time = 20

;バッシャーマグナム
[Command]
name = "DF_c"
command = D, DF, F, c
time = 20

;カラミティタイタン
[Command]
name = "DD_a"
command = ~D, D , a
time = 20

;ドッガウォーク
[Command]
name = "DD_c"
command = ~D, D , c
time = 20

;キバパンチ
[Command]
name = "F_a"
command = /$F , a
time = 5


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

[Command]
name = "BB"     
command = B, B
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, FFRkuuga]
type = ChangeState
value = 4000
triggerall = command = "FFR_kuuga"
triggerall = power >= 1000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (Stateno = 400) && movecontact = 1
triggerall = numhelper = 0

;---------------------------------------------------------------------------
;コンプリートフォーム：フォトンバスター
[State -1, B-555]
type = ChangeState
value = 6100
triggerall = command = "CDCD_555"
triggerall = power >= 3000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (Stateno = 400) && movecontact = 1

;---------------------------------------------------------------------------
;コンプリートフォーム：ハイパーライダーキック
[State -1, H-kabuto]
type = ChangeState
value = 6000
triggerall = command = "CDCD_kabuto"
triggerall = power >= 3000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (Stateno = 400) && movecontact = 1

;---------------------------------------------------------------------------
;アタックライド：クロックアップ
[State -1, clockup]
type = ChangeState
value = 3500
triggerall = command = "C_UP"
triggerall = power >= 3000
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (Stateno = 400) && movecontact = 1

;---------------------------------------------------------------------------
;ライダーキック
[State -1, Shining Kick]
type = ChangeState
value = 3600
triggerall = Var(10) = 1
triggerall = command = "DFDF_c"
triggerall = power >= 1000
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = statetype != A
trigger2 = hitdefattr = SC, NA, SA
trigger2 = movecontact
;---------------------------------------------------------------------------
;ディメンションキック
[State -1, Shining Kick]
type = ChangeState
value = 3000
triggerall = command = "DFDF_c"
triggerall = power >= 1000
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = statetype != A
trigger2 = hitdefattr = SC, NA, SA
trigger2 = movecontact

;---------------------------------------------------------------------------
;アッパースラッシュ
[State -1, Strong SS]
type = ChangeState
value = 2100
triggerall = command = "FDDF_c"
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 SS]
type = ChangeState
value = 1900
triggerall = command = "FDDF_a"
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, rekkadan]
type = ChangeState
value = 2300
triggerall = command = "BDF_c"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = stateno != 440 ;Except for sweep kick
trigger2 = movecontact

;---------------------------------------------------------------------------
;アタックライド：オートバジン
[State -1, Strong SS]
type = ChangeState
value = 1700
triggerall = command = "BDF_b"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499]) ;Cancel ground moves
;trigger2 = stateno != 440 ;Except for sweep kick
trigger2 = movecontact
triggerall = numhelper = 0

;---------------------------------------------------------------------------
;昇龍突破
[State -1, Strong SS]
type = ChangeState
value = 1400
triggerall = command = "BDF_a"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499]) ;Cancel ground moves
;trigger2 = stateno != 440 ;Except for sweep kick
trigger2 = movecontact

;---------------------------------------------------------------------------
;サンダーA
[State -1, Strong SS]
type = ChangeState
value = 1500
triggerall = command = "FDB_a"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499]) ;Cancel ground moves
;trigger2 = stateno != 440 ;Except for sweep kick
trigger2 = movecontact
;---------------------------------------------------------------------------
;サンダーB
[State -1, Strong SS]
type = ChangeState
value = 1501
triggerall = command = "FDB_b"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499]) ;Cancel ground moves
;trigger2 = stateno != 440 ;Except for sweep kick
trigger2 = movecontact

;---------------------------------------------------------------------------
;サンダーC
[State -1, Strong SS]
type = ChangeState
value = 1502
triggerall = command = "FDB_c"
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 Rider Kick]
type = ChangeState
value = 1800
triggerall = command = "DB_c"
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, Light Rider Kick]
type = ChangeState
value = 1000
triggerall = command = "DB_b"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = stateno != 440 ;Except for sweep kick
trigger2 = movecontact

;---------------------------------------------------------------------------
;ストームドラゴン
[State -1, Light Rider Kick]
type = ChangeState
value = 1200
triggerall = command = "DB_a"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = stateno != 440 ;Except for sweep kick
trigger2 = movecontact

;---------------------------------------------------------------------------
;バッシャーマグナム
[State -1, Strong SS]
type = ChangeState
value = 1120
triggerall = command = "DF_c"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499]) ;Cancel ground moves
;trigger2 = stateno != 440 ;Except for sweep kick
trigger2 = movecontact
triggerall = numhelper = 0

;---------------------------------------------------------------------------
;ブラストペガサスアッパー
[State -1, Strong SS]
type = ChangeState
value = 1110
triggerall = command = "DF_b"
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, Light SS]
type = ChangeState
value = 1100
triggerall = command = "DF_a"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = stateno != 440 ;Except for sweep kick
trigger2 = movecontact

;---------------------------------------------------------------------------
;カラミティタイタン
[State -1, Light SS]
type = ChangeState
value = 1300
triggerall = command = "DD_a"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = stateno != 440 ;Except for sweep kick
trigger2 = movecontact

;---------------------------------------------------------------------------
;ドッガウォーク
[State -1, Strong SS]
type = ChangeState
value = 1310
triggerall = command = "DD_c"
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, 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 = "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 Light Attack]
type = ChangeState
value = 209
triggerall = command = "F_a"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = (Stateno = 400) && movecontact = 1

;---------------------------------------------------------------------------
;立ち弱攻撃
[State -1, Stand Light Attack]
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 Light Attack]
type = ChangeState
value = 400
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = (Stateno = 200) && movecontact = 1

;---------------------------------------------------------------------------
;しゃがみ中攻撃
[State -1, Crouching Strong Attack]
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 Light Kick]
type = ChangeState
value = 600
triggerall = command = "a"
trigger1 = statetype = A
trigger1 = ctrl

;---------------------------------------------------------------------------
;空中中攻撃
[State -1, Jump Strong 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
;---------------------------------------------------------------------------
;泣けるで
[State -1, Appeal]
type = ChangeState
value = 9400
triggerall = command = "D_s"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = (Stateno = 200) && movecontact = 1

;---------------------------------------------------------------------------
;僕に釣られてみる
[State -1, Appeal]
type = ChangeState
value = 9300
triggerall = command = "B_s"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = (Stateno = 400) && movecontact = 1

;---------------------------------------------------------------------------
;答えは聞いてない
[State -1, Appeal]
type = ChangeState
value = 9200
triggerall = command = "F_s"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = (Stateno = 400) && movecontact = 1

;---------------------------------------------------------------------------
;俺参上！
[State -1, Appeal]
type = ChangeState
value = 9100
triggerall = command = "s"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = (Stateno = 400) && movecontact = 1
