;---------------------------------------------------------------------------
; Hyper - Giant Kabu + Kabu Sheild
[StateDef 3000]
type = S
movetype= A
physics = S
juggle  = 1
ctrl = 0
anim = 3000
poweradd = -1000
sprpriority = 2

[State 0, NotHitBy]
type = NotHitBy
trigger1 = 1
value = SCA,NA,SA,HA,NP,SP,HP,NT,ST,HT

[State 0, SuperPause]
type = SuperPause
trigger1 = animelem = 1
sound = S10,0
pos = 0,0

[State 0, Hyper bg]
type = Explod
trigger1 = Time = 1
anim = 8200
ID = 8200
pos = 0,-16
postype = left
bindtime = -1
removetime = -1
sprpriority = -1
ownpal = 1

[State 0, Hyper bg]
type = Explod
trigger1 = Time = 1
anim = 8200
ID = 8200
pos = 256,-16
postype = left
bindtime = -1
removetime = -1
sprpriority = -1
ownpal = 1

[State 0, End]
type = ChangeState
trigger1 = AnimTime = 0
value = 3001
ctrl = 0

;-----------------------------------------------------------------------------
[StateDef 3001]
type = S
movetype= A
physics = S
juggle  = 1
ctrl = 0
anim = 3001
poweradd = 20
sprpriority = 2

[State 0, NotHitBy]
type = NotHitBy
trigger1 = 1
value = SCA,NA,SA,HA,NP,SP,HP,NT,ST,HT


[State 205, contact]
type = HitDef
trigger1 = AnimElem = 1
trigger2 = AnimElem = 3
attr = S, NA
damage = 25, 0
getpower = 0
givepower = 1
animtype = Light
guardflag = MA
hitflag = MAF
priority = 3, Miss
pausetime = 2, 2
sparkno = 0
sparkxy = -8, -12
hitsound = S1, 0
guardsound = 6, 0
ground.type = low
ground.slidetime = 5
ground.hittime = 10
ground.velocity = -2,-2
airguard.velocity = -1, -0.25
air.type = low
air.velocity = -2, -1.50
air.hittime = 5

[State 0, Explod]
type = Explod
trigger1 = time = 0
anim = 3010
ID = 3010
pos = 0,0
postype = p1
bindtime = -2
removetime = 405
sprpriority = 3
ownpal = 1

[State 0, Explod]
type = Explod
trigger1 = time = 0
anim = 3011
ID = 3011
pos = 0,0
postype = p1
bindtime = -2
removetime = 405
sprpriority = 1
ownpal = 1


[State 0, VelSet]
type = VelSet
trigger1 = command = "holdfwd"
x = 1.5
y = 0
;ignorehitpause =
;persistent =

[State 0, VelSet]
type = VelSet
trigger1 = command = "holdback"
x = -1.5
y = 0
;ignorehitpause =
;persistent =

[State 0, Turn]
type = Turn
trigger1 = command = "holdback"
;ignorehitpause =
;persistent =

[State 0, RemoveExplod]
type = RemoveExplod
trigger1 = win
trigger2 = drawgame
id = 3010

[State 0, RemoveExplod]
type = RemoveExplod
trigger1 = win
trigger2 = drawgame
id = 3011

[State 205, end]
type = ChangeState
trigger1 = time = 400
trigger2 = win
trigger3 = drawgame
trigger3 = lose
value = 3002
ctrl = 1

;--------------------------
[StateDef 3002]
type = S
movetype= A
physics = S
juggle  = 1
ctrl = 0
anim = 3002
sprpriority = 2

[State 0, NotHitBy]
type = NotHitBy
trigger1 = 1
value = SCA,NA,SA,HA,NP,SP,HP,NT,ST,HT

[State 0, VelSet]
type = VelSet
trigger1 = animelem = 4
y = -1
;ignorehitpause =
;persistent =

[State 0, RemoveExplod]
type = RemoveExplod
trigger1 = time = 5
id = 8200
;ignorehitpause =
;persistent =

[State 0, AfterImage]
type = AfterImage
trigger1 = time = 0
time = 20
paladd = 255,255,255


[State 0, End]
type = ChangeState
trigger1 = AnimTime = 0
value = 51
ctrl = 0
