View Single Post
  #391   Link to this post, but load the entire thread.  
Old November 18th, 2012 (5:28 AM). Edited November 18th, 2012 by mad.array.
mad.array's Avatar
mad.array mad.array is offline
Eeveelutions... need more...
    Join Date: Nov 2007
    Location: Birmingham, UK
    Age: 33
    Gender: Male
    Nature: Rash
    Posts: 140
    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!
    Reply With Quote