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

[Scripting Question] Error with Poison Point

155
Posts
9
Years
    • Seen Jun 11, 2021
    Whenever Poison Point tries to poison a Poison type Pokemon, I get this error:
    Code:
    Exception: NoMethodError
    
    Message: undefined method `hasWorkingAbility' for nil:NilClass
    
    PokeBattle_BattlerEffects:127:in `pbCanPoison?'
    
    PokeBattle_Battler:1433:in `pbEffectsOnDealingDamage'
    
    PokeBattle_Battler:2915:in `pbProcessMoveAgainstTarget'
    
    PokeBattle_Battler:2834:in `each'
    
    PokeBattle_Battler:2834:in `pbProcessMoveAgainstTarget'
    
    PokeBattle_Battler:3335:in `pbUseMove'
    
    PokeBattle_Battler:3315:in `loop'
    
    PokeBattle_Battler:3338:in `pbUseMove'
    
    PokeBattle_Battler:3536:in `pbProcessTurn'
    
    PokeBattle_Battler:3535:in `logonerr'
     
    Last edited by a moderator:
    Back
    Top