===============
Guarding Disable
===============
Created by Impaler

;---------------------------------------------------------------------------
Guarding Disable -- I've never seen this effect in any game
before. But hey, it can sure come in handy! >=D

This version of the code is a projectile type attack.
;---------------------------------------------------------------------------
1.) The attack itself...

[Statedef 9000]
type = S
movetype= A
physics = S
ctrl = 0

[State 9000, Projectile]
type = Projectile
trigger1 = (whatever)
projid = 9000
etc...

[State 9000, VarSet]
type = VarSet
trigger1 = ProjHit9000 = 1 ;Triggers the variable when the projectile hits.
v = 0
value = *** ; <-- Timer! How many game ticks opponent is unable to block for. (Adjust as you wish.)

[State 9000, ChangeState]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1

2.) The required -3 states.

;The timer for the character to become unguardable.
[State -3, VarAdd]
type = VarAdd
trigger1 = Var(0) > 0
v = 0
value = -1
ignorehitpause = 1

[State -3, AssertSpecial]
type = AssertSpecial
trigger1 = Var(0) > 0 ;<--- if the var timer is above 0, it keeps the opponent unable to block.
flag = UnGuardable