• 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, Red, Kris, May - which Pokémon protagonist is your favorite? Let us know by voting in our semifinal favorite protagonist 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.

[Discussion] Need help with a syntax error

You've probably decided to restart the install and went fresh, but I found your problem. 99% of the time Syntax errors are either grammar mistakes or you forgot to put an end somewhere. You issue was located in "Def pbSuccessCheck" which is line 2393. Locate "Def pbTryUseMove" and highlight up from there and replace it with this code, it should fix the error for you
Code:
          @battle.pbDisplay(_INTL("{1}'s attack missed!",user.pbThis))
        end
        return false
      end
    end
    return true
  end
 end
 
  def pbTryUseMove(choice,thismove,turneffects)
 
Last edited:
Back
Top