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

Giving the player a Pokémon in a specific Poké Ball

  • 143
    Posts
    11
    Years
    • Seen Jun 11, 2021
    I'm trying to modify the "pbAddPokemon" method to where it will give you a Pokémon in a set Poké Ball if a variable is set, but for whatever reason, it's not working, and always sets it to the default Poké Ball.

    I changed this line of code here:
    Spoiler:

    And modified it into this:
    Spoiler:

    Am I missing anything?
     
    Try adding
    Code:
    pokemon.ballused=ballused

    somewhere in the method definition.
     
    Back
    Top