• 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.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • 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] Error when losing HP during a battle

  • 428
    Posts
    5
    Years
    What's causing this?

    [Pokémon Essentials version 19.1]
    [Generation 8 Project v1.1.0]
    [v19.1 Hotfixes 1.0.7]

    Exception: NoMethodError
    Message: undefined method `<' for nil:NilClass

    Backtrace:
    125:Type:80:in `resistant?'
    162:Move_Usage:245:in `block (2 levels) in pbAnimateHitAndHPLost'
    162:Move_Usage:239:in `each'
    162:Move_Usage:239:in `block in pbAnimateHitAndHPLost'
    162:Move_Usage:238:in `each'
    162:Move_Usage:238:in `pbAnimateHitAndHPLost'
    155:Battler_UseMove:674:in `pbProcessMoveHit'
    155:Battler_UseMove:433:in `block in pbUseMove'
    155:Battler_UseMove:431:in `each'
    155:Battler_UseMove:431:in `pbUseMove'
     
    Back
    Top