;===========================================================================
; 準常時監視ステート（−３）
;===========================================================================
;---------------------------------------------------------------------------
; こちらは通常の食らい状態以外の「P2StateNo」や「TargetState」等で制御された、
; 作成者が任意に指定した相手側の食らいステートに限り、
; 登録したステートコントローラが有効にはなりません。
; −１や−２と上手く使い分けて行きましょう。
;---------------------------------------------------------------------------

[Statedef -3]

[State -3, ステージ音楽カット]
type = AssertSpecial
triggerall = var(42) != 0
trigger1 = 1
flag = nomusic

[State -3, 音を鳴らす]
type = PlaySnd
triggerall = Time = 1
trigger1 = stateno = 52  ;着地ステート
trigger2 = stateno = 106 ;バックステップ後の着地ステート
value = 40, 0

[State -3, ノーマルジャンプ音]
type = PlaySnd
trigger1 = stateno = 40
trigger1 = time = 4
value = 40, 1

[State -3, スーパージャンプ音]
type = PlaySnd
trigger1 = stateno = 119
trigger1 = time = 4
value = 40, 2

[State -3, グレイヴ後の浮き変更]
type = velset
triggerall = movecontact = 1
;triggerall = enemy,gethitvar(hitcount) <= 8
trigger1 = var(6) = 0
trigger1 = var(7) != 0
trigger1 = statetype = A
y = -4.0

[State -3]
type = playsnd
trigger1 = p2stateno = 1057
trigger1 = time = 20 || time = 120
value = s1000,6
channel = 5
;ignorehitpause = 1
persistent = 0

[State -3, 0]
type = explod
triggerall = stateno = 119
trigger1 = time = 1
trigger1 = pos y = 0
ID = 40
anim = 10004
pos = 0,1
postype = p1
facing = 1	
bindtime = 1
random = 0
removetime = -2
scale = 1.0,1.0
sprpriority = 5
ontop = 0
ownpal = 0
supermovetime = 0
pausemovetime = 0
ignorehitpause = 1
persistent = 0
under = 0

[State -3, カウンターヒットの文字]
type = Explod
triggerall = numexplod(29000) = 0
triggerall = fvar(6) = 1.2
trigger1 = movehit = 1
trigger2 = (NumHelper(6000)) != 0 || (NumHelper(6100)) != 0 || (NumHelper(6102)) != 0  || (NumHelper(6200)) != 0 || (NumHelper(7000)) != 0 || (NumHelper(7016)) != 0  || (NumHelper(7100)) != 0  || (NumHelper(7200)) != 0
trigger2 = helper,movehit = 1
id = 29000
anim = 29000
pos = -30,70
postype = left
sprpriority = -1
bindtime = -1
under = 0
ownpal = 1
facing = 1
scale = 0.5,0.5
supermovetime = 999999
pausemovetime = 999999
ignorehitpause = 1
persistent = 0
