• 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?".
  • 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.

Force single gender [FR]

TheLeafFan28

aka. Xenoleaf
6
Posts
6
Years
  • Hello, I'm TheLeafFan28, and I'm going to share a tutorial with you on how to force the player character to be of a certain gender in Pok?mon Fire Red version.

    Why would anyone want to do this? Simple - it could be useful for story-heavy games focusing on a single character of a certain gender.

    Before everything else, I should specify that you need a few tools for this:
    • IDA Pro 6.6 or higher (necessary to find the offsets - though you can just follow my tutorial)
    • Notepad++
    • (Optional) A notebook to write down the assets, though that will be unneccesary here
    • A hex editor - I personally used HxD in this tutorial

    Step 1: Finding the correct offset
    Open IDA, then press CTRL + G and navigate down to Offset 0812FFA4, wherein you will find this line of code:
    Spoiler:

    Note that my comments are signified by a "//" and were written only for the sake of this tutorial.

    Now, what does this tell us? Simply, it tells us the location of the function. This information will also prove to be useful for later on, when we have to hex edit.

    Step 2: Writing the ASM code
    Now, let's say that for the purpose of my hack, I wanted a game where only Leaf was playable.

    We would need to write the following ASM code. The way I did it was to open Notepad++ and create a new document. Then write the following code:
    Spoiler:

    Save with an .asm extension at the end, and compile.

    You will end up with the following output:
    Spoiler:

    Paste-write that to offset 0812FFAA.

    Alternatively, if I wanted a game with only Red playable, the ASM code would be similar, but with one notable difference:

    Spoiler:


    Which would yield the output:

    Spoiler:


    Again, paste-write to 0812FFAA.

    Step 3: Making sure things go smoothly
    As it is, using the code will only freeze the game as it will cause it to be stuck in an infinite loop. From here on, there is no difference between whether or not you force Red or Leaf.

    The first thing we want to do is to go to offset 0812FDBC and overwrite the bytes there with the following:

    Spoiler:


    Then we need to go to 0812FFB4 and write:

    Spoiler:


    Next, we want to go to offsets 0813000C, 08130006, 0812FD98 and 0812FDA0 and write:

    Spoiler:

    In all of them. This should make a functional fade in for the protagonist character you chose.

    Now, at this point, our modifications should work perfectly (test it out, if you want to).
    However, there is one small problem - the platform under the protagonist is missing.

    To solve this, we need to go to offset 08131592 and write 00. This should make the platform appear.

    Step 4: Test it out
    If you followed the tutorial, the game should run without issues and you would be limited to a single gender.
    Enjoy!

    Credit to Blah on Discord for patiently guiding me through the process for hours and helping me figure out what I was doing wrong.
    Thanks a lot!
     
    Back
    Top