Small update: I've tried your code, N64Mario, and the particles didn't appear. I should tell you that I've kept the hit states the same because idk how the characters are going to get hit, and it's more-or-less a dilemma, since this game is a boss rush type of game.
I'm thinking about making another help thread about hit states, but at the same time I'm betting that you've got a different method. I can't read minds, y'know.
Do you have another method, or should I change the hit states?
Another update: I'm gonna try putting the particle projectiles into state 5150 and see how that works.
Update #3: I've added 4 particles, and they work, but one of them is missing. I'm willing to bet that the culprit is this piece of code in the Buster Shot's command:
[State -1, Buster Shot]
type = ChangeState
value = 240
triggerall = !var(10)
triggerall = command = "y"
triggerall = command != "holddown"
triggerall = numproj < 3; <===============
trigger1 = statetype = S
trigger1 = ctrl
numproj < 3 is supposed to make Zero fire no less than 3 shots from his gun, and I wanted it to just affect the gun, but it seems that it's affecting the death particles.
The funny thing is that Omega Zero's somersault sword beams are projectiles, and all of them fire at once. So it's quite odd that only 3 particles appear instead of 4. What theories do you have for this issue? And how do I fix it?
Update #4: Aight, so I've added 2 more particles that go diagonal, and they do appear, but not the one that's supposed to go straight down. Maybe it's not from numproj < 3, but it's something else.
Update #5: I found the cause. I changed the offset for the projectile, and it turns out that the projectile is hitting the floor, and therefore it disappears. I'm gonna look at the projectile code in the MUGEN class and see if I could find something to prevent that from happening.
Update #6: Fixed. I used your code as a reference and put in projheightbound = 1000,1000 on the projectiles going down, and it worked.
Now there's one more thing to adjust. Zero doesn't turn into particles immediately. He'll only turn into particles after he bounces off the ground a couple of times. I want him to turn into particles as soon as his life turns to 0. How can I achieve this?
Oh, here's what the effect looks like: https://streamable.com/2l2du