• 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!
  • Our weekly protagonist poll is now up! Vote for your favorite Trading Card Game 2 protagonist in the poll by clicking here.
  • 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] [Pokeemerald] What would I need to do to add a third Gender/Character option at the start of the game

LordOfOtatops

The Super Dragon Janitor
  • 18
    Posts
    2
    Years
    • He/Him
    • Seen Apr 27, 2025
    Hello, I am starting work on a Romhack and I am trying to focus on adding more customizability options for the player rather than new/updated battle mechanics or great changes in difficulty/strategy. One of the customizability options I want is a third Gender/Character the player can choose at the start of the game, and then maybe even the ability to switch during the game, how would I do either (or both) of these things? I also don't plan on having different rivals for each Gender/Character, if that factors into it at all. I have searched around and haven't been able to find any possible tutorials for how to add a third option, so I'm wondering if I am just not looking in the right place, if it is even possible, or it has been done but not documented.
     
    Last edited:
    You'll have to modify the code for the new game sequence to support more than 2 genders.

    Then you should find all code that references the gender variable:
    Code:
    gSaveBlock2Ptr->playerGender
    and make sure that it works properly with more than 2 possible values.

    To change gender mid-game, you could create a C function for setting the gender variable, and call that from a script.
     
    Alright thanks for the help, I am a little new to Decomp hacking so I might need a little more in-depth help at some point but I'll see what I can figure out on my own.
     
    Back
    Top