- 20
- Posts
- 3
- Years
- Seen Dec 21, 2022
The error does not crash the game but it does negate all effects of the move. Basically the animation fails to play, no damage is dealt, no stats are altered, and this error pops up.
Exception: NoMethodError
Message: undefined method `[]' for nil:NilClass
PokeBattle_ActualScene:3689:in `pbAnimation'
PokeBattle_ActualScene:3685:in `pbSaveShadows'
PokeBattle_ActualScene:3691:in `pbAnimation'
PokeBattle_Battle:3945:in `pbAnimation'
PokeBattle_Move:3682:in `pbShowAnimation'
PokeBattle_Move:3641:in `pbEffect'
PokeBattle_Battler:4621:in `pbProcessMoveAgainstTarget'
PokeBattle_Battler:4521:in `each'
PokeBattle_Battler:4521:in `pbProcessMoveAgainstTarget'
PokeBattle_Battler:5286:in `pbUseMove'
I assume the issue is to do with lime 5286 in PokeBattle_Battler? There is no pbUseMove line in there which could be the issue but I can't seem to work out where to put it. The error isn't clear enough for me to wrap my head around.
Exception: NoMethodError
Message: undefined method `[]' for nil:NilClass
PokeBattle_ActualScene:3689:in `pbAnimation'
PokeBattle_ActualScene:3685:in `pbSaveShadows'
PokeBattle_ActualScene:3691:in `pbAnimation'
PokeBattle_Battle:3945:in `pbAnimation'
PokeBattle_Move:3682:in `pbShowAnimation'
PokeBattle_Move:3641:in `pbEffect'
PokeBattle_Battler:4621:in `pbProcessMoveAgainstTarget'
PokeBattle_Battler:4521:in `each'
PokeBattle_Battler:4521:in `pbProcessMoveAgainstTarget'
PokeBattle_Battler:5286:in `pbUseMove'
I assume the issue is to do with lime 5286 in PokeBattle_Battler? There is no pbUseMove line in there which could be the issue but I can't seem to work out where to put it. The error isn't clear enough for me to wrap my head around.