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.
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'...