[State -2, Hit Sparks]

type = Helper

triggerAll = MoveContact = 1 && var(30) = HitPauseTime //<=== FROM HERE

trigger1 = MoveHit = 1 && NumEnemy

trigger1 = var(33) = 8010 || var(33) = 8011 || var(33) = 8012 || var(33) = 8013 || var(33) = 8014

trigger2 = MoveGuarded = 1 && NumEnemy

trigger2 = var(34) = 8000 || var(34) = 8001

trigger3 = MoveHit = 1 && NumEnemy && !(StateNo=3400) //<=== MOVED IT HERE

trigger3 = var(33) = 8015 || var(33) = 8016 || var(33) = 8017;slash fx

helperType = Normal

stateNo = ifElse(MoveGuarded, var(34), var(33))

ID = 8000

name = "Spark"

postype = P1

pos = ifElse(P2Dist x < 0, 0, ifElse(P2Dist x < var(35), ceil(P2Dist x), var(35))), var(36)

facing = -1

ownPal = 1

pauseMoveTime = 65535

superMoveTime = 65535

ignoreHitPause = 1