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

[Error] Trainer partner pokémon switching error

1
Posts
5
Years
  • Age 22
  • Seen Dec 24, 2018
So I have this problem when I have a trainer as a partner for double battles. When the trainer's pokémon faints, instead of sending out another pokémon it shows the following error.
---------------------------
Exception: NoMethodError

Message: undefined method `ability' for nil:NilClass

PokeBattle_Battle:1551:in `pbSwitch'

PokeBattle_Battle:1544:in `each'

PokeBattle_Battle:1544:in `pbSwitch'

PokeBattle_Battle:4117:in `__clauses__pbEndOfRoundPhase'

PokeBattle_Clauses:42:in `pbEndOfRoundPhase'

PokeBattle_DynamicBattle:202:in `pbStartBattleCore'

PokeBattle_DynamicBattle:201:in `logonerr'

PokeBattle_DynamicBattle:201:in `pbStartBattleCore'

PokeBattle_DynamicBattle:185:in `loop'

PokeBattle_DynamicBattle:206:in `pbStartBattleCore'

That happens always at the end of each turn after the ally trainer's pokémon faints.
 
Back
Top