Report bugs and errors in unmodified Essentials version 16.2
View Single Post
November 18th, 2012 (6:27 AM).
Lead Dev of Pokémon Essentials
Originally Posted by
During the end of round phase in PokeBattle_Battle, I've found something slightly peculiar. Everything runs fine up until
This seems to only run through once (it is nested in a 'for i in priority' loop). Subsequently, the next turn starts before things like the flinch effect etc. have finished resetting.
EDIT: I figured it out. Actually, it was posting it which drew my attention to it.
Yep, that's right. It's because I tend to copy lines of code from place to place, and don't always make sure it works. Different parts of the scripts refer to battlers in different ways, and indeed that end-of-round method refers to them in
ways in different places (sometimes i is a number, sometimes it's the battler itself).
The Pokémon Essentials Wiki
All Animations Project
Follow me on Twitter:
Joined Jan 2008
View Public Profile
Send a private message to Maruno
Find all posts by Maruno
Find threads started by Maruno
Ignore Posts by Maruno