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

[Other] How do I Edit Oaks Speech in FR?

Origin Green

Smell ya later!
  • 64
    Posts
    15
    Years
    The title kinda says it all, my hack is going great, I have a good story, maps, sprites ect but the one thing I'm stumped with is editing Proffessor Oaks speech...

    Everywhere I look people just say use A-Text... But I've also heard that A-Text should not be used under any circumstances... Any help guys?
     
    Download a .tbl file for FireRed, Translhextion, XSE 1.1.1 and HxD because Translhextion's layout is awful.

    Load your ROM in Translhextion, and then .tbl file in Translhextion (Ctrl + T). Check "Thingy View Active". Do the shortcut Alt + F and enter the text for Oak's speech, for example: "Hello, there!". Take note of the offset in Notepad or something (0x180388 in a vanilla FR ROM).

    Close everything and then load your ROM in XSE. Create a script like this:

    Code:
    #dynamic 0x800000
    
    #org @string1
    = Hello world!

    Of course, enter whichever string you wish.

    Compile it and take note of the offset. Close XSE.

    Take the first offset (0x180388) and convert it to a pointer, like so:

    180388

    [18][03][88]

    [88][03][18]

    [88][03][18] + [08]

    88031808

    Do this to the second offset as well.

    Load your ROM in HxD. Do the shortcut Ctrl + R. In the first field, enter 88031808, and in the second, the pointer to your new string (if it was compiled at 0x800000, the pointer would be 00 00 80 08). Change "Text string" to "Hex values" and click "Replace all". Save your ROM.

    Repeat this for all the strings you want to replace (I think there's about seven or eight in that intro.).
     
    Download a .tbl file for FireRed, Translhextion, XSE 1.1.1 and HxD because Translhextion's layout is awful.

    Load your ROM in Translhextion, and then .tbl file in Translhextion (Ctrl + T). Check "Thingy View Active". Do the shortcut Alt + F and enter the text for Oak's speech, for example: "Hello, there!". Take note of the offset in Notepad or something (0x180388 in a vanilla FR ROM).

    Close everything and then load your ROM in XSE. Create a script like this:

    Code:
    #dynamic 0x800000
    
    #org @string1
    = Hello world!

    Of course, enter whichever string you wish.

    Compile it and take note of the offset. Close XSE.

    Take the first offset (0x180388) and convert it to a pointer, like so:

    180388

    [18][03][88]

    [88][03][18]

    [88][03][18] + [08]

    88031808

    Do this to the second offset as well.

    Load your ROM in HxD. Do the shortcut Ctrl + R. In the first field, enter 88031808, and in the second, the pointer to your new string (if it was compiled at 0x800000, the pointer would be 00 00 80 08). Change "Text string" to "Hex values" and click "Replace all". Save your ROM.

    Repeat this for all the strings you want to replace (I think there's about seven or eight in that intro.).

    Thank you! That's exactly the info I needed :)
    If I had cookies, I'd give you one!
     
    Back
    Top