• 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?".
  • Staff applications for our PokéCommunity Daily and Social Media team are now open! Interested in joining staff? Then click here for more info!
  • 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.

[Other] How can I change the player's name halfway through the game with some scripting?

  • 11
    Posts
    9
    Years
    • Seen Sep 29, 2015
    Hi, I want the player to be able to pick their own name at the start of a romhack I'm making, but halfway through the game, it's supposed to automatically change itself to something else. What is the coding for this?
     
    Hey, I figured I would quote a post in the Quick Research and Development Thread. :)

    To anyone who is interested, callasm 0x09FC91 to name yourself in overworld.
    FireRed Only.

    ~Sonic1

    Look at the code in that offset and try to figure it all out. :)
     
    So, I could use this coding to automatically set a character's name to... "Ash", for example? (Could I change it back to what it once was in a later cutscene?)
     
    So, I could use this coding to automatically set a character's name to... "Ash", for example? (Could I change it back to what it once was in a later cutscene?)
    Wait, so you want to change the player's name to a set name that you (as the creator) chose? Or do you want to allow the player to choose a new name?
     
    Wait, so you want to change the player's name to a set name that you (as the creator) chose? Or do you want to allow the player to choose a new name?

    The first one. The name is set to something I, the creator, choose. It will be changed back afterwards.
     
    Last edited by a moderator:
    You'll need a simple piece of asm for that.
     
    You won't be able to do it via scripting at all, since the name is part of the player data save structure (which is dynamic).
     
    Back
    Top