=================
Special KO Effect
=================
Created by Sunboy

;---------------------------------------------------------------------------
Special KO Effect -- Popular in many games, this creates a special effect
if the opponent was KO'ed by a special move.

This code requires one variable.
;---------------------------------------------------------------------------

;Special KO Effect Switch OFF
[State -2: VarSet]
type = VarSet
trigger1 = !WinKO
v = 0
value = 0
ignorehitpause = 1

;Special KO Effect Switch ON
[State -2: VarSet]
type = VarSet
trigger1 = (WinKO) && (Var(0) = 0) && (StateNo >= 700) ;Adjust as you wish.
v = 0
value = 1
ignorehitpause = 1

;Special KO Effect timer. (To prevent repetiveness)
[State -2: VarAdd]
type = VarAdd
trigger1 = Var(0) > 0
v = 0
value = 1
ignorehitpause = 1

This is one example of how a special KO effect can be done. 

;Remove life bars during effects.
[State -2: AssertSpecial]
type = AssertSpecial
trigger1 = (Var(0) = 1) && (StateNo >= 700) ;Adjust as you wish.
flag = NoBarDisplay
flag2 = NoFG
ignorehitpause	= 1

;The effect itself
[State -2: Explod]
type = Explod
trigger1 = (Var(0) = 2) && (NumExplod(9000) = 0) && (StateNo >= 700) ;Adjust as you wish.
id = 9000
ignorehitpause = 1
etc...
