• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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
8
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.
     
    824
    Posts
    8
    Years
  • 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.
     
    76
    Posts
    8
    Years
    • Seen Oct 6, 2017
    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