Help Moves fail for no rhyme nor reason

Posts
2
#1
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

Elite Trainer
Member
Posts
119
#2
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.
 

Maruno

Pokémon Essentials dev
Essentials Developer
Posts
204
#3
What's actually the problem is that you appear to have deleted the method pbDisplayUseMessage from script section PokeBattle_Move.
 
Top