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

[Remap]
x = x      ;Ｘボタンの入力判定を実際に押すボタンに割り当てる。
y = y      ;Ｙボタン　　　　　　　　　〃
z = z      ;Ｚボタン　　　　　　　　　〃
a = a      ;Ａボタン　　　　　　　　　〃
b = b      ;Ｂボタン　　　　　　　　　〃
c = c      ;Ｃボタン　　　　　　　　　〃
s = s      ;スタートボタン　　　　　　〃

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

;※名前が同じならば、違うコマンドでも同じステートの技を出す事が可能。

[Command]
name = "HurricaneRoll"
command = ~D, DB, B, D, DB, B, y
time = 20

[Command]
name = "JudgementTornado"
command = ~D, DB, B, D, DB, B, x
time = 20

[Command]
name = "HeavenlyCombination"
command = ~D, DF, F, D, DF, F, y
time = 20

[Command]
name = "HolyCounter"
command = ~D, DF, F, D, DF, F, x
time = 20

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

[Command]
name = "SideWind"
command = ~D, DF, F, x

[Command]
name = "DivineCrash"
command = ~D, DB, B, x

[Command]
name = "GorgeousCombination"
command = ~D, DF, F, y

[Command]
name = "MachineGunJab"
command = ~D, DB, B, y

[Command]
name = "Dakisuto"
command = /$F,x

[Command]
name = "Dakiapa"
command = /$U,x

[Command]
name = "Dakiburo"
command = /$D,x

;------------------------------------------------------------------------------
;-| キー２回連続入力 |---------------------------------------------------------

[Command]
name = "FF"       ;必須コマンド名
command = F, F
time = 10

[Command]
name = "BB"       ;必須コマンド名
command = B, B
time = 10

;------------------------------------------------------------------------------
;-| 同時押し |-----------------------------------------------------------------

[Command]
name = "recovery" ;必須コマンド名
command = x
time = 1

[Command]
name = "recovery" ;必須コマンド名
command = y
time = 1

[Command]
name = "Smasher" ;必須コマンド名
command = x+y
time = 2

;------------------------------------------------------------------------------
;-| 方向キー＋ボタン |---------------------------------------------------------

[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 = 3300
triggerall = command = "HurricaneRoll"
triggerall = power >= 2000
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = statetype != A
trigger2 = hitdefattr = SC, NA, SA, HA
trigger2 = stateno != [3000,4000)

[State -1, 裁きの竜巻]
type = ChangeState
value = 3200
triggerall = command = "JudgementTornado"
triggerall = NumHelper(3200) = 0
triggerall = power >= 1500
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = statetype != A
trigger2 = hitdefattr = SC, NA, SA, HA
trigger2 = stateno != [3000,4000)

[State -1, ヘブンリーコンビネーション]
type = ChangeState
value = 3100
triggerall = command = "HeavenlyCombination"
triggerall = power >= 1500
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = statetype != A
trigger2 = hitdefattr = SC, NA, SA, HA
trigger2 = stateno != [3000,4000)

[State -1, ホーリーカウンター]
type = ChangeState
value = 3000
triggerall = command = "HolyCounter"
triggerall = power >= 1000
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = statetype != A
trigger2 = hitdefattr = SC, NA, SA, HA
trigger2 = stateno != [3000,4000)

[State -1, ホリカン手動用]
type = ChangeState
value = 3001
triggerall = StateNo = 3000 && Time = [5,125]
trigger1 = command = "x"

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

[State -1, 変数の例１];必殺技の発生条件リセット
type = VarSet
trigger1 = 1
var(1) = 0 ;変数用パラメータの記述方法その１（その２は「板投げ」のステートにて）

[State -1, 変数の例２];必殺技の発生条件をチェック
type = VarSet
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = (stateno = [200,299]) || (stateno = [400,499])
trigger2 = stateno != 440 ;[Statedef 440]（足払いのステート）ではない時
var(1) = 1

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

[State -1, マシンガンジャブ];ゲージ消費
type = ChangeState
value = 1600
triggerall = command = "MachineGunJab"
triggerall = power >= 500
triggerall = NumExplod(1600) = 0
trigger1 = var(1)

[State -1, マシンガンジャブ追加攻撃];ゲージ消費
type = ChangeState
value = 1601
triggerall = Stateno = 1600
triggerall = AnimElem = 24,>= 7
trigger1 = command = "y" 

[State -1, ゴージャスコンビネーション];ゲージ消費
type = ChangeState
value = 1500
triggerall = command = "GorgeousCombination"
triggerall = power >= 500
triggerall = NumExplod(1500) = 0
trigger1 = var(1)

[State -1, ディバインクラッシュ];ゲージ消費
type = ChangeState
value = 1400
triggerall = command = "DivineCrash"
triggerall = power >= 200
triggerall = NumExplod(1400) = 0
trigger1 = var(1)

[State -1, サイドワインド]
type = ChangeState
value = 1300
triggerall = NumExplod(1300) = 0 && NumHelper(1300) = 0
triggerall = command = "SideWind"
trigger1 = var(1)

[State -1, サイドワインド追加攻撃]
type = ChangeState
value = 1301
triggerall = command = "x"
trigger1 = Stateno = 1300 && Time = [12,30]

[State -1, ダッキングボディブロー]
type = ChangeState
value = 1103
triggerall = NumExplod(1103) = 0
triggerall = Stateno = 1100 || Stateno = 1200
trigger1 = command = "Dakiburo"

[State -1, ダッキングアッパー]
type = ChangeState
value = 1102
triggerall = NumExplod(1102) = 0
triggerall = Stateno = 1100 || Stateno = 1200
trigger1 = command = "Dakiapa"

[State -1, ダッキングストレート]
type = ChangeState
value = 1101
triggerall = Stateno = 1100 || Stateno = 1200
trigger1 = command = "Dakisuto"

[State -1, スマッシャー]
type = ChangeState
value = 2000
triggerall = NumExplod(2000) = 0
triggerall = power >= 200
triggerall = command = "Smasher"
trigger1 = var(1)

[State -1, スウェー]
type = ChangeState
value = 1200
triggerall = command = "b"
trigger1 = var(1)
trigger2 = Stateno = 1100 && Time >= 15
trigger3 = Stateno = 1500 && Time >= 34

[State -1, ダッキングダッシュ]
type = ChangeState
value = 1100
triggerall = command = "a"
trigger1 = var(1)
trigger2 = Stateno = 1200 && Time >= 15
trigger3 = Stateno = 1500 && Time >= 34

[State -1, チョッピングハンマー]
type = ChangeState
value = 1201
triggerall = NumExplod(1201) = 0
triggerall = Stateno = 1200 || Stateno = 1100
trigger1 = command = "x"

[State -1, ラッキーストレート]
type = ChangeState
value = 1000
triggerall = command = "y"
trigger1 = var(1)

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

[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 = 800
triggerall = command = "x"
trigger1 = StateNo = 100

[State -1, 通常1発目]
type = ChangeState
value = 200
triggerall = command = "x"
triggerall = command != "holddown"
triggerall = stateno != 201
triggerall = stateno != 202
triggerall = stateno != 203
triggerall = stateno != 204
trigger1 = statetype = S
trigger1 = ctrl

[State -1, 通常2発目]
type = ChangeState
value = 201
triggerall = command = "x"
triggerall = command != "holddown"
trigger1 = stateno = 200
trigger1 = Time > 8

[State -1, 通常3発目]
type = ChangeState
value = 202
triggerall = command = "x"
triggerall = command != "holddown"
trigger1 = stateno = 201
trigger1 = Time > 8

[State -1, 通常4発目]
type = ChangeState
value = 203
triggerall = command = "x"
triggerall = command != "holddown"
trigger1 = stateno = 202
trigger1 = Time > 13

[State -1, 通常5発目]
type = ChangeState
value = 204
triggerall = command = "x"
triggerall = command != "holddown"
trigger1 = stateno = 203
trigger1 = Time > 14

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

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

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

[State -1, ジャンプパンチ]
type = ChangeState
value = 600
triggerall = command = "x"
triggerall = statetype = A
triggerall = ctrl
trigger1 = statetime > 5
trigger2 = Stateno = 600 && Time > 6

