• 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.

[Discussion] Need help with a syntax error

Pokeminer20

PDM20, Coder of Chaos!
412
Posts
10
Years
  • 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