- 143
- Posts
- 11
- Years
- Seen Jun 11, 2021
So I held off on updating for a while now. I've been working with v14 for the longest time, only using bits and pieces from v15's code to avoid overwriting any changes I made, but when v16 came around, I couldn't do that, so I had to completely update my game. However, as a result, Bug Bite's having a few issues. Whenever the move is used, this error pops up:
And after that, the Pokemon just uses Bug Bite again until the error once again pops up. Any suggestions on how to fix this?
Code:
Exception: NameError
Message: undefined local variable or method `ret' for #<PokeBattle_Move_0F4:0x8dd6130>
PokeBattle_MoveEffects:6851:in `pbEffectAfterHit'
PokeBattle_Battler:2841:in `pbProcessMoveAgainstTarget'
PokeBattle_Battler:3149:in `pbUseMove'
PokeBattle_Battler:3129:in `loop'
PokeBattle_Battler:3152:in `pbUseMove'
PokeBattle_Battler:3348:in `pbProcessTurn'
PokeBattle_Battler:3347:in `logonerr'
PokeBattle_Battler:3347:in `pbProcessTurn'
PokeBattle_Battle:3001:in `pbAttackPhase'
PokeBattle_Battle:2998:in `each'