• 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.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Which Pokémon Masters protagonist do you like most? Let us know by casting a vote in our Masters favorite protagonist poll here!
  • Red, Hilda, Paxton, or Kellyn - 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.

[Scripting Question] Uncatchable Pokemon in V18.1

  • 41
    Posts
    4
    Years
    • Seen Sep 19, 2023
    It's me again, Margaret.

    So i'm trying to do wild battles where you cannot catch the pokemon in question. I tried following Thundaga's guide but that apparently doesn't work for V18.

    So i messed around some and came up with the following.

    Code:
       if $game_switches[command.parameters[100]] = true
          pbDisplay(_INTL("The Pokémon smacked away your Poké Ball!"))
          return
        end

    I put this above the If trainer battle portion of PokeBattle_BattleCommon. It successfully blocks a ball from being used but rather than actually display the text or anything it gives me an error message that doesn't crash the game. It just errors like this but you can still play the game and the ball is lost.

    https://drive.google.com/file/d/1e9Uv4tSooW3ZKO1g22rqw6yQjCpwuHtv/view?usp=sharing

    Any idea how to make this display the text?
     
    Last edited:
    Back
    Top