;==========================================================================
;==power_charge_kof========================================================
;-------------------------------Power up (start)
;-------------------------------Power up (start)

;-------------------------------Power up (start)
[Statedef 11310]
type = S
movetype = I
physics = S
anim = 11310
velset = 0
ctrl = 0
poweradd=1000

[State 301, snd]
type = PlaySnd
trigger1 = AnimElem = 1
value = s11111,0
channel = 11


[State 301, snd] ;OPCIONAL
type = PlaySnd
trigger1 = AnimElem = 1
value = s11111,3;rugido-power-start
channel = 9


[State 730, 1]
type = ChangeState
trigger1 = AnimTime = 0
value = 11311

; Power up
[Statedef 11311]
type = S
movetype = I
physics = S
anim = 11311

[State 705, 2]
type = Explod
trigger1 = ((Time + 12) % 12) = 0
anim = f130
;anim = 11113
ID = 11311
sprpriority = 3
postype = p1
pos = 0,0
bindtime = -1
removeongethit = 1


[State 705, 2]
type = Explod
trigger1 = time = 0
anim = 11113
ID = 91111
sprpriority = 3
postype = p1
pos = 0,0
bindtime = -1
removeongethit = 1





[State 735, 1]
type = ChangeState
trigger1 = command != "hold_a"
trigger3 = command != "hold_y"
value = 11312

[State 735, 2]
type = PowerAdd
trigger1 = Time = [0,12]
value = 10

[State 735, 2]
type = ChangeState
trigger1 = Power >= 5000
value = 11313

[State 735, 3]
type = ChangeState
trigger1 = AnimTime = 0
value = 11311

; Power up (end)
[Statedef 11312]
type = S
movetype = I
physics = S
anim = 11312

[State 1100, 1]
type = RemoveExplod
trigger1 = AnimElem = 1
ID = 11311

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

; Power up (maxed out)
[Statedef 11313]
type = S
movetype = I
physics = S
anim = 11312

[State 1100, 1]
type = RemoveExplod
trigger1 = AnimElem = 1
ID = 11310


[State 313, Explod]
type = Explod
trigger1 = time = 0
anim = 11114
pos = 0,0
postype = p1
facing = 1
vfacing = 1
bindtime = 1
removetime = -2
scale = 1,1
sprpriority = 7

[State 1000, EnvShake]
type = EnvShake
trigger1 = AnimElem = 1
time = 15
freq = 90
ampl = -5
phase = 90





[State 1000, PlaySnd]
type = PlaySnd
trigger1 = time = 0
value = 11111,1


[State 1000, PlaySnd];opcional 2
type = PlaySnd
trigger1 = time = 0
value = 11111,4;rugido-power-end



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

;=========================================================
;=========================================================

