• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Akari, Selene, Mint, Solana - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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.

Problem with Bug Bite

  • 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:
    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'
    And after that, the Pokemon just uses Bug Bite again until the error once again pops up. Any suggestions on how to fix this?
     
    Ah. Just checked out the bug report section, and yes. Someone has indeed reported it.
     
    Last edited:
    I figured it out! This topic can be deleted now. I'll report the problem in the bug report thread. Thanks!
     
    Back
    Top