;---------------------------------------------------------------------------
; Stand Parry
[Statedef 8500]
type = S
movetype = I
physics = N
ctrl = 0
anim = 85001
velset = 0,0,0

[State 8000, NotHitBy]
type = NotHitBy
trigger1 = time = 0
value = SA,AA,AP
time = 15

[State 8000, Pause]
type = Pause
trigger1 = time = 0
time = 15
movetime = 15

[State 8000, PlaySnd]
type = PlaySnd
trigger1 = time = 0
value = S8000,0

[State 8000, Explod]
type = Explod
trigger1 = time = 0
anim = 8015
ID = 8015
pos = 45,-79
postype = p1
facing = 1
bindtime = 1
removetime = -2
scale = 0.5,0.5
sprpriority = 2
ownpal = 1
pausemovetime = 20

[State 0, PalFX]
type = PalFX
trigger1 = timemod = 3,0
time = 1
add = 0,150,256
mul = 256,256,256
color = 256

[State 8000, ChangeState]
type = ChangeState
trigger1 = AnimTime = 0 && Pos Y < 0
value = 50
ctrl = 1

[State 8000, ChangeState]
type = ChangeState
trigger1 = AnimTime = 0 && Pos Y >= 0
value = 0
ctrl = 1

;---------------------------------------------------------------------------
; Crouch Parry
[Statedef 8501]
type = C
movetype = I
physics = N
ctrl = 0
anim = 85011
velset = 0,0,0

[State 8000, NotHitBy]
type = NotHitBy
trigger1 = time = 0
value = SA,AA,AP
time = 10

[State 8000, Pause]
type = Pause
trigger1 = time = 0
time = 15
movetime = 15

[State 8000, PlaySnd]
type = PlaySnd
trigger1 = time = 0
value = S8000,0

[State 8000, Explod]
type = Explod
trigger1 = time = 0
anim = 8015
ID = 8015
pos = 38,-61
postype = p1
facing = 1
bindtime = 1
removetime = -2
scale = 0.5,0.5
sprpriority = 2
ownpal = 1
pausemovetime = 20

[State 0, PalFX]
type = PalFX
trigger1 = timemod = 3,0
time = 1
add = 0,150,256
mul = 256,256,256
color = 256

[State 8000, ChangeState]
type = ChangeState
trigger1 = AnimTime = 0 && Pos Y < 0
value = 50
ctrl = 1

[State 8000, ChangeState]
type = ChangeState
trigger1 = AnimTime = 0 && Pos Y >= 0
value = 11
ctrl = 1

;---------------------------------------------------------------------------
; Air Parry
[Statedef 8502]
type = A
movetype = I
physics = N
ctrl = 0
anim = 85021
velset = 0,0,0

[State 8000, NotHitBy]
type = NotHitBy
trigger1 = time = 0
value = SA,AA,AP
time = 15

[State 8000, Pause]
type = Pause
trigger1 = time = 0
time = 15
movetime = 15

[State 8000, PlaySnd]
type = PlaySnd
trigger1 = time = 0
value = S8000,0

[State 8000, Explod]
type = Explod
trigger1 = time = 0
anim = 8015
ID = 8015
pos = 45,-96
postype = p1
facing = 1
bindtime = 1
removetime = -2
scale = 0.5,0.5
sprpriority = 2
ownpal = 1
pausemovetime = 20

[State 0, PalFX]
type = PalFX
trigger1 = timemod = 3,0
time = 1
add = 0,150,256
mul = 256,256,256
color = 256

[State 8002, StateTypeSet]
type = StateTypeSet
trigger1 = time = 15
physics = A

[State 8002, CtrlSet]
type = CtrlSet
trigger1 = time = 15
value = 1
