• 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!
  • 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] Adding a new parameter to $Trainer

  • 14
    Posts
    11
    Years
    • Seen Jul 22, 2020
    Hello everybody,
    I'm trying to add a new parameter in the variable $Trainer (named $Trainer.region, similar as $Trainer.name), to store a string for the region where the player comes from (Kanto, Johto, Hoenn, Sinnoh, etc). Which script do I need to modify to add this?
    For example, I want to write a new script that is supposed to have a call in the game intro, asking the player to select one region and then store the selected value for furter use in the middle game and history, in a text like "oh, you are the trainer that comes from <<selected region>>".

    Thank you all in advance.
     
    Back
    Top