Transformations disabled when getting hit

Started by Master0fFaster, April 07, 2025, 04:47:51 AM

Previous topic - Next topic

Master0fFaster

I'm currently working with a handful of characters, and discovered that one of them seems to force any character with a form to revert back to their base when they take one of said character's hits.

I assume that this means that the common states 150-155 and some of 5000-5200 are being forced onto p2 somehow, but I can't for the life of me find it

Foobs

This is a mugen limitation, any attack that puts you in a custom state (like throws) forces the character back into its "base sprites". There's no workaround for this outside of a full game environment in mugen.

Ikemen can bypass this with remapsprite

Master0fFaster

But that's only changing the sprites, that doesn't make the state go back to what it's supposed to be. Where would I find the controller that puts the opponent in this custom hit/block state? They are completely unnecessary and frankly I'm not even sure why a custom state was used, so If anything I'm moreso trying to remove it.

Odb718

Master0fFaster if P1 is sending P2 into a custom state, you'd look in P1's state for the hitdef or
type = TargetState

If it's not jumping out at you it's probably the Hitdef has
p2stateno =
in it somewhere. It's usually at the bottom of the hitdef but it doesn't have to be.

You can use Debug by pressing CTRL+D and see if P2's info changes color when those attacks happen. If it does, that means P2 is in a custom state. If it stays white you got something else going on.
vVv Gouken718 vVv SabreTooth718 vVv


Master0fFaster

That was very helpful! Thanks! It in fact wasn't a custom state, but some form of check that was running at unnecessary times. Managed to fix it by adding some Variable triggers since turning the whole thing off messed a lot of moves.