Well this is kind of embarassing, but here goes.
http://www.rmxp.org/forums/showthread.php?t=10736
This is my script that allows character sprites a custom amount of frames, defined in the filename of the graphic (so every character can have a different amount of frames if they want).
If you're running an otherwise default game, it works perfect. However, I've just started working on a script that changes the @character_name variable in order to change the character sprite temporarily. However, when I do this and the new sprite has a different number of frames, it looks messed up because it uses the same amount of frames as the last graphic.
It took ages for me to get it running nice and proper in the first place, but now it looks like it needs a rewrite/modifications. I've already tried rewriting it once to get it working, but no dice - I'm really at a loss here now.
Edit: Formal request here.
http://www.rmxp.org/forums/showthread.php?t=10736
This is my script that allows character sprites a custom amount of frames, defined in the filename of the graphic (so every character can have a different amount of frames if they want).
If you're running an otherwise default game, it works perfect. However, I've just started working on a script that changes the @character_name variable in order to change the character sprite temporarily. However, when I do this and the new sprite has a different number of frames, it looks messed up because it uses the same amount of frames as the last graphic.
It took ages for me to get it running nice and proper in the first place, but now it looks like it needs a rewrite/modifications. I've already tried rewriting it once to get it working, but no dice - I'm really at a loss here now.
Edit: Formal request here.