Bug & Error Reporting for Essentials Version 14 (unmodified)
View Single Post
November 18th, 2012, 05:28 AM
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!
Last edited by mad.array; November 18th, 2012 at
. Reason: Fixed it.
View Public Profile
Send a private message to mad.array
Find all posts by mad.array
Find threads started by mad.array
Ignore Posts by mad.array