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

[Command]
name = "hh"
command = ~D, DF, F, D, DF, F, a
time = 20

[Command]
name = "bd"
command = ~D, DB, B, D, DB, B, b
time = 20

[Command]
name = "gc"
command = ~D, DF, F, D, DF, F, c
time = 20

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

[Command]
name = "upper_a"
command = ~F, D, DF, a

[Command]
name = "upper_b"
command = ~B, D, DB, a

[Command]
name = "QCF_a"
command = ~D, DF, F, a

[Command]
name = "QCB_a"
command = ~D, DB, B, a

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

[Command]
name = "go"
command = ~B, DB, D,DF, F, c

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

[Command]
name = "QCB_c"
command = ~D, DB, B, c

[Command]
name = "QCB_b"
command = ~D, DB, B, 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 = "down_a"
command = /$D,a
time = 1

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

[Command]
name = "kaihi1"
command = /$F,c
time = 1

[Command]
name = "kaihi2"
command = /$B,c
time = 1

[Command]
name = "kaihi3"
command = /$U,c
time = 1

[Command]
name = "kaihi4"
command = /$D,c
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 = 1999
triggerall = command = "bd"
triggerall = power >= 1000
trigger1 = ctrl
trigger2 = stateno = 1220
trigger2 = movehit
trigger3 = stateno = 1100
trigger3 = movehit
trigger4 = stateno = 1210
trigger4 = movehit
trigger5 = stateno = 41
trigger6 = stateno = 42
trigger7 = stateno = 43

[State -1, ヘルアンドヘブン]
type = ChangeState
value = 2999
triggerall = command = "hh"
triggerall = power >= 2000
triggerall = statetype = S
trigger1 = ctrl
trigger2 = hitdefattr = SC, NA, SA, HA
trigger2 = movehit

[State -1, ゴルディオン　クラッシャー]
type = ChangeState
value = 3199
triggerall = command = "gc"
triggerall = var(40) = 400
triggerall = var(41) != 1
triggerall = statetype = S
triggerall = ctrl
triggerall = NumEnemy != 2
trigger1 = TeamMode = Single
trigger2 = TeamMode = turns

;==============================================================================
; 必殺技
;==============================================================================
;------------------------------------------------------------------------------

;------------------------------------------------------------------------------

[State -1, 零距離マグナム]
type = ChangeState
value = 1011
triggerall = statetype != A
triggerall = command = "QCB_b"
triggerall = p2bodydist X <= 35
triggerall = p2bodydist Y >= -10
triggerall = p2statetype != L
triggerall = var(1) = 0
trigger1 = ctrl
trigger2 = stateno = 1210
trigger2 = movehit

[State -1, ジェネシック　オーラ]
type = ChangeState
value = 1110
triggerall = command = "go"
triggerall = statetype != A
trigger1 = ctrl

[State -1, プロテクトシェード]
type = ChangeState
value = 1250
triggerall = command = "QCB_c"
triggerall = statetype != A
trigger1 = ctrl

[State -1, ゴルディオン　ネイル]
type = ChangeState
value = 1260
triggerall = command = "upper_b"
triggerall = statetype = A
trigger1 = ctrl
trigger2 = (stateno = 1220) && time > 30
trigger3 = stateno = 1230
trigger3 = movehit

[State -1, アッパー]
type = ChangeState
value = 1100
triggerall = command = "upper_a"
triggerall = var(9) != 1
trigger1 = ctrl
trigger2 = (stateno = 1220) && time > 30
trigger2 = movehit
trigger3 = stateno = 1210
trigger3 = movehit

[State -1, スパイラルドリル]
type = ChangeState
value = 1220
triggerall = command = "QCF_a"
triggerall = var(19) != 6
trigger1 = ctrl
trigger2 = HitDefAttr = S,NA
trigger2 = movehit
trigger3 = hitdefattr = A, NA
trigger4 = stateno = 41
trigger5 = stateno = 42
trigger6 = stateno = 43

[State -1, ストレートドリル]
type = ChangeState
value = 1230
triggerall = command = "QCB_a"
triggerall = var(19) != 6
trigger1 = ctrl
trigger2 = stateno = 1220
trigger2 = time >= 45
trigger2 = movehit
trigger3 = HitDefAttr = S,NA
trigger3 = movehit
trigger4 = hitdefattr = A, NA
trigger4 = movehit
trigger5 = stateno = 41
trigger6 = stateno = 42
trigger7 = stateno = 43

[State -1, ブロウクン　マグナム]
type = ChangeState
value = 1000
triggerall = command = "QCF_b"
triggerall = statetype != A
trigger1 = ctrl

[State -1, ウィルナイフ]
type = ChangeState
value = 1210
triggerall = command = "QCF_c"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = HitDefAttr = S,NA
trigger2 = movehit

;==============================================================================
; 移動関連
;==============================================================================
;------------------------------------------------------------------------------

[State -1, 走る]
type = ChangeState
value = 100
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl

[State -1, バックステップ]
type = ChangeState
value = 105
trigger1 = command = "BB"
trigger1 = statetype = S
trigger1 = ctrl

;==============================================================================
; 通常攻撃技
;==============================================================================
;------------------------------------------------------------------------------

[State -1, 立ち弱パンチ]
type = ChangeState
value = 200
triggerall = command = "a"
triggerall = statetype != A
triggerall = command != "holddown"
trigger1 = ctrl

[State -1, 立ち強パンチ]
type = ChangeState
value = 210
triggerall = command = "b"
triggerall = statetype != A
triggerall = command != "holddown"
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = (stateno = 400)
trigger3 = movecontact
trigger4 = (stateno = 410)
trigger4 = movecontact

[State -1, 連激]
type = ChangeState
value = 220
triggerall = command = "c"
triggerall = statetype != A
trigger1 = ctrl
trigger2 = stateno = 210
trigger2 = movecontact
trigger3 = (stateno = 410)
trigger3 = movecontact
trigger4 = (stateno = 400)
trigger4 = movecontact
trigger5 = (stateno = 200)
trigger5 = movecontact

;------------------------------------------------------------------------------

[State -1, 挑発]
type = ChangeState
value = 195
triggerall = command = "start"
trigger1 = statetype != A
trigger1 = ctrl

;------------------------------------------------------------------------------

[State -1]
type = ChangeState
value = 400
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact

[State -1]
type = ChangeState
value = 410
triggerall = command = "b"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl
trigger2 = stateno = 200
trigger2 = movecontact
trigger3 = stateno = 410
trigger3 = movecontact
trigger4 = stateno = 400
trigger4 = movecontact
;------------------------------------------------------------------------------
[State -1]
type = ChangeState
value = 600
triggerall = command = "a"
triggerall = statetype = A
triggerall = var(19) != 6
trigger1 = ctrl
trigger2 = stateno = 41
trigger3 = stateno = 42
trigger4 = stateno = 43

[State -1, 強パンチ]
type = ChangeState
value = 610
triggerall = command = "b"
triggerall = statetype = A
triggerall = var(19) != 6
trigger1 = ctrl
trigger2 = stateno = 600
trigger2 = movecontact
trigger3 = stateno = 41
trigger4 = stateno = 42
trigger5 = stateno = 43

[State -1, 連激]
type = ChangeState
value = 620
triggerall = command = "c"
triggerall = statetype = A
triggerall = var(19) != 6
trigger1 = ctrl
trigger2 = (stateno = 610)
trigger2 = movecontact
trigger3 = stateno = 41
trigger4 = stateno = 42
trigger5 = stateno = 43

;------------------------------------------------------------------------------
;------------------------------------------------------------------------------
;------------------------------------------------------------------------------
