Can someone tell me why the hitsparks don't work: https://streamable.com/dty0l
In case, heres the code:
[State 1007, 2]
type = HitDef
trigger1 = time%5=0
attr = S, SA
damage = 15,2
priority = 4, hit
animtype = Hard
getpower = 0, 0
givepower = 35, 35
guardflag = MA
hitflag = MAFD
hitsound = S2,2
guardsound = S3,0
pausetime = 4,6
guard.pausetime = 4,6
sparkNo = -1 + 0 * (var(33) := 8014)
guard.sparkNo = -1 + 0 * (var(34) := 8001)
sparkXY = -10 + 0 * (var(35) := 120), var(36) := -76
air.animtype = Back
fall.animtype = Back
ground.type = High
air.type = Low
ground.slidetime = 18
ground.hittime = 18
guard.hittime = 18
ground.velocity = -7
air.velocity = -5.65, -1.5
guard.velocity = -8
ground.cornerPush.velOff = 0
guard.cornerPush.velOff = 0
air.cornerPush.velOff = 0
yaccel = .58
fall = 0
air.fall = 1
fall.recover = 0
forcestand = 1
palFX.time = 12 * var(9)
palFX.add = 255,255,255
palFX.sinAdd= -255,-255,-255,48
envshake.time = 16
envshake.ampl = 4
envShake.freq = 120