Report bugs and errors in unmodified Essentials version 15.1
View Single Post
November 18th, 2012 (5:28 AM). Edited November 18th, 2012 by mad.array.
Eeveelutions... need more...
Join Date: Nov 2007
Location: Birmingham, UK
During the end of round phase in PokeBattle_Battle, I've found something slightly peculiar. Everything runs fine up until
'@battlers[i].pbAbilitiesOnSwitchIn(false)' (Line 3372)
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. '@battlers[i]' needs to be changed to i. I can't believe I've been scratching my head over this for the last half an hour!
View Public Profile
Send a private message to mad.array
Find all posts by mad.array
Find threads started by mad.array