• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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.

Error when a trainer tries to use an item

1
Posts
8
Years
  • Age 23
  • Seen Mar 20, 2016
I'm making my first gym leader, and gave him some items to use . . . or rather the pre-made ones for brock. nevertheless, when it comes time for him to use an item in battle this happens:


Message: undefined method `>=' for nil:NilClass
PokeBattle_Battle:1576:in `pbRegisterItem'
PokeBattle_AI:3767:in `pbEnemyShouldUseItem?'
PokeBattle_AI:4056:in `pbDefaultChooseEnemyCommand'
PokeBattle_Scene:2747:in `pbChooseEnemyCommand'
PokeBattle_Battle:2705:in `pbCommandPhase'
PokeBattle_Battle:2700:in `each'
PokeBattle_Battle:2700:in `pbCommandPhase'
PokeBattle_Battle:2648:in `pbStartBattleCore'
PokeBattle_Battle:2647:in `logonerr'
PokeBattle_Battle:2647:in `pbStartBattleCore'

And he basically skips a turn. The data for him is here

#-------------------
LEADER_Lamber
Lamber
2,FULLRESTORE,FULLRESTORE
ROGGENROLA,12,,ROCKTOMB,HEADBUTT,HARDEN,ROCKPOLISH,0,M,,,,20
RHYHORN,14,SITRUSBERRY,ROCKTOMB,ROAR,DIG,ROCKTOMB,0,F,,,,20

I'd love some help!
 
296
Posts
9
Years
Isn't your fault. This is a bug that Maruno has already noted and will be corrected in the next version of Essentials Pokémon.
 
Back
Top