FANDOM


  • Exception: TypeError

    Message: no implicit conversion from nil to integer

    Compiler:1556:in `[]'

    Compiler:1556:in `[]'

    PItem_Items:63:in `pbIsBerry?'

    PokeBattle_MoveEffects:7015:in `pbEffect'

    PokeBattle_Battler:2717:in `pbProcessMoveAgainstTarget'

    PokeBattle_Battler:2673:in `each'

    PokeBattle_Battler:2673:in `pbProcessMoveAgainstTarget'

    PokeBattle_Battler:3163:in `pbUseMove'

    PokeBattle_Battler:3143:in `loop'

    PokeBattle_Battler:3166:in `pbUseMove'

      Loading editor
    • This can be simply fixed.

      In the section "PokeBattle_MoveEffects" line 6977
      replace "pbIsBerry?(@item)" with  "pbIsBerry?(attacker.item)"

      That should do the trick. The berry effect activates and the other items seem to work as intended as well.

        Loading editor
    • A FANDOM user
        Loading editor
Give Kudos to this message
You've given this message Kudos!
See who gave Kudos to this message

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.