• 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!
  • Dawn, Gloria, Juliana, or Summer - 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] Naming a Pokemon at the chosen time...

  • 68
    Posts
    6
    Years
    • Seen Sep 19, 2023
    So in Pokemon Ruby, Sapphire, Emerald, the Professor lets the player chose the Pokemon right? It just allows the player to obtain the Pokemon but doesn't let them name it until they get back to the lab. Is there like a script or something I can do this?

    I know there is a way to silently give the player a Pokemon, and then I myself could add the sound effect and say "Player received Pokemon," but I wouldn't know a way to let them name it later on in the storyline.

    Is this possible with Essentials?
     
    You can later call pbNickname(pokemon), where pokemon is a variable containing the pokemon itself (not an index).
    Never really played RSE, but if you don't get any new mons between then and the lab, you can call it as pbNickname($Trainer.firstParty) to give the name prompt for the first mon (or egg) in the party. (firstPokemon is only mons, and firstAblePokemon is the first mon that's not fainted, but chances are firstParty is enough.)
     
    Back
    Top