• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Serena, Kris, Dawn, Red - which Pokémon protagonist is your favorite? Let us know by voting in our grand final favorite protagonist poll!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Battle] How can I make battle animations start when the text starts printing, not after?

When you use a move in battle it says "(pokemon) used (move)" and then once that text has finished printing, the animation plays. How can I get the animation to play straight away instead of after the text finishes?

I don't know what exact changes are needed, but you'll want to look into Cmd_attackstring in src/battle_script_commands.c. That's the method that deals with printing out that text, so if you can find where within that function the game waits to finish printing the text, you can probably find a way to get the battle scripts to keep progressing while the text is still being written.
 
The actual order of how events are executed is defined by move effect itself, so it is not trivial to change. Also: The attackstring is printed even if a move misses, the animation is only played if it actually hits, so there's also that.

~SBird
 
Back
Top