GIF Pokemon Attack
View Single Post
April 14th, 2013 (6:50 PM).
Quote originally posted by
You never simply replace the old sprites with newer, and expect everything to be automagically done. While Pokemon Essentials itself supports GIF images, the battle system wasn't designed to be using them. The reason why at some parts the GIFs animate, and at some they don't: is that some parts of the
code contain the @sprites
update function and others don't. You'd need to find the right places within the Battle System itself where you'd put these updates.
Using the function pbFrameUpdate(
) is what you're looking for. This function updates the sprites and the battle boxes of the various Pokemon, now you just have to insert them in the right place. Some are more obvious than others. Just do a quick search for general updates in the battle system, and you'll know where to put them. One of the updates that you were looking for is within
pbAnimationCore. There you'll see a chunk of code which looks like
animplayer.playing? animplayer.update pbGraphicsUpdate pbInputUpdate
In there, with all the other updates, you just stick in pbFrameUpdate(
), and the sprites will animate during attack animations.
With all this said, again, I will refer you to a
I made a while back.
View original post
Is this what you were asking for Maruno?
Joined Oct 2008
View Public Profile
Send a private message to IceGod64
Find all posts by IceGod64
Find threads started by IceGod64
Ignore Posts by IceGod64