Moves fail for no rhyme nor reason

TheMagicLegoPokemon

Rookie
Member
Joined
Oct 25, 2018
Posts
2
Hello!
For the fangame I am working on, I have this error that happens whenever I try to have a pokemon battle. Any idea on how to fix this?.
---------------------------
Pokemon Essentials
---------------------------
[Pokémon Essentials version 17.2]
Exception: NoMethodError
Message: undefined method `pbDisplayUseMessage' for #<PokeBattle_Move_00F:0xc8c82b8>
PokeBattle_Battler:3016:in `pbUseMove'
PokeBattle_Battler:3380:in `pbProcessTurn'
PokeBattle_Battler:3379:in `logonerr'
PokeBattle_Battler:3379:in `pbProcessTurn'
PokeBattle_Battle:2829:in `pbAttackPhase'
PokeBattle_Battle:2826:in `each'
PokeBattle_Battle:2826:in `pbAttackPhase'
PokeBattle_Battle:2814:in `times'
PokeBattle_Battle:2814:in `pbAttackPhase'
PokeBattle_Battle:2532:in `pbStartBattleCore'
 

Poq

Cooltrainer
Member
Joined
Aug 7, 2018
Posts
119
In the code for the move that fails, look at where pbDisplayUseMessage occurs. You'll probably find:
something.pbDisplayUseMessage
Whatever something turns out to be is most likely the part that's messed up. Its pulling in a symbol instead of an object from the right class for that method.
 
Top