• 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!
  • Scottie, Todd, Serena, Kris - 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.

Error when using Sucker Punch

  • 76
    Posts
    9
    Years
    • Seen Oct 6, 2017
    Code:
    ---------------------------
    Pokémon Paragon
    ---------------------------
    Exception: NameError
    
    Message: undefined local variable or method `pponent' for #<PokeBattle_Move_116:0x952a9f0>
    
    PokeBattle_MoveEffects:7476:in `pbMoveFailed'
    
    PokeBattle_Battler:2767:in `pbSuccessCheck'
    
    PokeBattle_Battler:3094:in `pbProcessMoveAgainstTarget'
    
    PokeBattle_Battler:3090:in `each'
    
    PokeBattle_Battler:3090:in `pbProcessMoveAgainstTarget'
    
    PokeBattle_Battler:3503:in `pbUseMove'
    
    PokeBattle_Battler:3477:in `loop'
    
    PokeBattle_Battler:3506:in `pbUseMove'
    
    PokeBattle_Battler:3709:in `pbProcessTurn'
    
    PokeBattle_Battler:3708:in `logonerr'

    Any help would be appreciated, thank you.
     
    Step 1 - go into PokeBattle_MoveEffects
    Step 2 - press Ctrl-F
    Step 3 - search for "pponent" but before hitting "find next", mark the tickbox that says "whole word".
    Step 4 - at least one of the hits should be on line 7476
    Step 5 - replace all the results with the word "opponent". It's a typo, where the person who coded that move forgot the first letter.
     
    Step 1 - go into PokeBattle_MoveEffects
    Step 2 - press Ctrl-F
    Step 3 - search for "pponent" but before hitting "find next", mark the tickbox that says "whole word".
    Step 4 - at least one of the hits should be on line 7476
    Step 5 - replace all the results with the word "opponent". It's a typo, where the person who coded that move forgot the first letter.

    Ah, I was searching in PokeBattle_Moves, not PokeBattle_MoveEffects. Thank you!
     
    Back
    Top