• 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] AI can't select a move with some pokemon, making an error message appear while skipping his turn?

  • 428
    Posts
    5
    Years
    [Pokémon Essentials version 19.1]
    [Generation 8 Project v1.1.0]
    [v19.1 Hotfixes 1.0.7]

    Exception: NoMethodError
    Message: undefined method `is_TR?' for nil:NilClass

    Backtrace:
    166:Move_Effects_080-0FF:3631:in `pbBaseDamage'
    190:AI_Move_Utilities:193:in `pbMoveBaseDamage'
    188:AI_Move:254:in `pbGetMoveScoreDamage'
    188:AI_Move:232:in `pbGetMoveScore'
    188:AI_Move:141:in `block in pbRegisterMoveTrainer'
    172:PokeBattle_Battle:425:in `block in eachBattler'
    172:PokeBattle_Battle:425:in `each'
    172:PokeBattle_Battle:425:in `eachBattler'
    188:AI_Move:138:in `pbRegisterMoveTrainer'
    188:AI_Move:22:in `block in pbChooseMoves'


    How do I fix this?
     
    Back
    Top