• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • 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

  • 143
    Posts
    11
    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