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

[Command]
name = "沙耶の唄"
command = ~D, DF, F, a+b

[Command]
name = "沙耶の唄"
command = ~D, DF, F, c+b

[Command]
name = "沙耶の唄"
command = ~D, DF, F, a+c

[Command]
name = "グロテスク乱舞"
command = ~D, DF, F, D, DF, F, a
time = 25

[Command]
name = "グロテスク乱舞"
command = ~D, DF, F, D, DF, F, b
time = 25

[Command]
name = "グロテスク乱舞"
command = ~D, DF, F, D, DF, F, c
time = 25

[Command]
name = "狂気と殺戮のツープラトン"
command = ~D, DF, F, D, DB, B, a
time = 25

[Command]
name = "狂気と殺戮のツープラトン"
command = ~D, DF, F, D, DB, B, b
time = 25

[Command]
name = "狂気と殺戮のツープラトン"
command = ~D, DF, F, D, DB, B, c
time = 25

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

[Command]
name = "謎液"
command = ~B, DB, D, DF, F, a
time = 15

[Command]
name = "謎液"
command = ~B, DB, D, DF, F, b
time = 15

[Command]
name = "謎液"
command = ~B, DB, D, DF, F, c
time = 15

[Command]
name = "沙耶イコクラッシャー弱"
command = ~30$B, $F, a

[Command]
name = "沙耶イコクラッシャー中"
command = ~30$B, $F, b

[Command]
name = "沙耶イコクラッシャー強"
command = ~30$B, $F, c

[Command]
name = "溶解液弱"
command = ~D, DF, F, a

[Command]
name = "溶解液中"
command = ~D, DF, F, b

[Command]
name = "溶解液強"
command = ~D, DF, F, c

[Command]
name = "郁紀弱"
command = ~D, D, a
time = 15

[Command]
name = "郁紀中"
command = ~D, D, b
time = 15

[Command]
name = "郁紀強"
command = ~D, D, c
time = 15

[Command]
name = "ガードキャンセル"
command = ~F, D, DF, a
time = 15

[Command]
name = "ガードキャンセル"
command = ~F, D, DF, b
time = 15

[Command]
name = "ガードキャンセル"
command = ~F, D, DF, c
time = 15

;-| キー２回連続入力 |---------------------------------------------------------
[Command]
name = "FF"
command = F, F
time = 15

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

;-| 同時押し |-----------------------------------------------------------------
[Command]
name = "recovery"
command = x+y
time = 1

[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 = "中段攻撃"
command = /$DF,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 = "hold_c"
command = /c

;-| 方向キー押しっぱなし |-----------------------------------------------------
[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 = 3100
triggerall = command = "沙耶の唄"
triggerall = statetype != A
triggerall = power >= 3000
triggerall = enemy,life <= enemy,lifemax*.5
trigger1 = ctrl

;------------------------------------------------------------------------------
;グロテスク乱舞
[State -1]
type = ChangeState
value = 2000
triggerall = command = "グロテスク乱舞"
triggerall = statetype != A
triggerall = power >= 2000
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 210 && movecontact
trigger4 = stateno = 400 && movecontact
trigger5 = stateno = 410 && movecontact
trigger6 = stateno = 420 && movecontact

;------------------------------------------------------------------------------
;狂気と殺戮のツープラトン
[State -1]
type = ChangeState
value = 2010
triggerall = command = "狂気と殺戮のツープラトン"
triggerall = statetype != A
triggerall = power >= 1000
trigger1 = NumHelper(1063) = 0
trigger1 = NumHelper(1071) = 0
trigger1 = NumHelper(2015) = 0
trigger1 = ctrl

;------------------------------------------------------------------------------
;沙耶イコクラッシャー弱
[State -1]
type = ChangeState
value = 1000
triggerall = command = "沙耶イコクラッシャー弱"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 210 && movecontact
trigger4 = stateno = 400 && movecontact
trigger5 = stateno = 410 && movecontact
trigger6 = stateno = 420 && movecontact

;------------------------------------------------------------------------------
;沙耶イコクラッシャー中
[State -1]
type = ChangeState
value = 1010
triggerall = command = "沙耶イコクラッシャー中"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 210 && movecontact
trigger4 = stateno = 400 && movecontact
trigger5 = stateno = 410 && movecontact
trigger6 = stateno = 420 && movecontact

;------------------------------------------------------------------------------
;沙耶イコクラッシャー強
[State -1]
type = ChangeState
value = 1020
triggerall = command = "沙耶イコクラッシャー強"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 210 && movecontact
trigger4 = stateno = 400 && movecontact
trigger5 = stateno = 410 && movecontact
trigger6 = stateno = 420 && movecontact

;------------------------------------------------------------------------------
;謎液注入
[State -1]
type = ChangeState
value = 1040
triggerall = command = "謎液"
trigger1 = statetype != A
trigger1 = ctrl

;------------------------------------------------------------------------------
;ガードキャンセル
[State -1]
type = ChangeState
value = 1070
triggerall = command = "ガードキャンセル"
trigger1 = statetype != A
trigger1 = NumHelper(1063) = 0
trigger1 = NumHelper(1071) = 0
trigger1 = NumHelper(2015) = 0
trigger1 = stateno = 150 || stateno = 151 || stateno = 152 || stateno = 153
trigger1 = power >= 1000

;------------------------------------------------------------------------------
;溶解液弱
[State -1]
type = ChangeState
value = 1030
triggerall = command = "溶解液弱"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 210 && movecontact
trigger4 = stateno = 400 && movecontact
trigger5 = stateno = 410 && movecontact
trigger6 = stateno = 420 && movecontact

;------------------------------------------------------------------------------
;溶解液中
[State -1]
type = ChangeState
value = 1031
triggerall = command = "溶解液中"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 210 && movecontact
trigger4 = stateno = 400 && movecontact
trigger5 = stateno = 410 && movecontact
trigger6 = stateno = 420 && movecontact

;------------------------------------------------------------------------------
;溶解液強
[State -1]
type = ChangeState
value = 1032
triggerall = command = "溶解液強"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = stateno = 200 && movecontact
trigger3 = stateno = 210 && movecontact
trigger4 = stateno = 400 && movecontact
trigger5 = stateno = 410 && movecontact
trigger6 = stateno = 420 && movecontact

;------------------------------------------------------------------------------
;郁紀弱
[State -1]
type = ChangeState
value = 1060
triggerall = command = "郁紀弱"
trigger1 = statetype != A
trigger1 = ctrl
trigger1 = NumHelper(1063) = 0
trigger1 = NumHelper(1071) = 0
trigger1 = NumHelper(2015) = 0

;------------------------------------------------------------------------------
;郁紀中
[State -1]
type = ChangeState
value = 1061
triggerall = command = "郁紀中"
trigger1 = statetype != A
trigger1 = ctrl
trigger1 = NumHelper(1063) = 0
trigger1 = NumHelper(1071) = 0
trigger1 = NumHelper(2015) = 0

;------------------------------------------------------------------------------
;郁紀強
[State -1]
type = ChangeState
value = 1062
triggerall = command = "郁紀強"
trigger1 = statetype != A
trigger1 = ctrl
trigger1 = NumHelper(1063) = 0
trigger1 = NumHelper(1071) = 0
trigger1 = NumHelper(2015) = 0

;------------------------------------------------------------------------------
;ダッシュ
[State -1, Dash]
type = ChangeState
value = 101
trigger1 = command = "FF"
trigger1 = statetype = S
trigger1 = ctrl

;バックステップ
[State -1, Back Step]
type = ChangeState
value = 106
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 Strong Punch]
type = ChangeState
value = 230
triggerall = command = "中段攻撃"
trigger1 = statetype = C
trigger1 = ctrl

;==============================================================================
;------------------------------------------------------------------------------
;立ち弱攻撃
[State -1, Stand Light Punch]
type = ChangeState
value = 200
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

;立ち中攻撃
[State -1, Stand Strong Punch]
type = ChangeState
value = 210
triggerall = command = "b"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

;立ち強攻撃
[State -1, Stand Strong Punch]
type = ChangeState
value = 220
triggerall = command = "c"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

;------------------------------------------------------------------------------
;しゃがみ弱攻撃
[State -1, Crouching Light Punch]
type = ChangeState
value = 400
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl

;しゃがみ中攻撃
[State -1, Crouching Strong Punch]
type = ChangeState
value = 410
triggerall = command = "b"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl

;しゃがみ強攻撃
[State -1, Crouching Light Punch]
type = ChangeState
value = 420
triggerall = command = "c"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl

;------------------------------------------------------------------------------
;空中弱攻撃
[State -1, Jump Light Punch]
type = ChangeState
value = 600
triggerall = command = "a"
trigger1 = statetype = A
trigger1 = ctrl

;空中中攻撃
[State -1, Jump Strong Punch]
type = ChangeState
value = 610
triggerall = command = "b"
trigger1 = statetype = A
trigger1 = ctrl

;空中強攻撃
[State -1, Jump Strong Punch]
type = ChangeState
value = 620
triggerall = command = "c"
trigger1 = statetype = A
trigger1 = ctrl

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