• 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 Legends: Z-A 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] Changing Steven's name in Tag Battle

  • 113
    Posts
    11
    Years
    In Emerald hacks such as Crystal Dust and Glazed, featured the Double Battle from Mossdeep and the partner trainer's name was changed. How do I change Steven's name in battle?
     
    Do I need to use an Hex editor and locate his name used in battle, or some how use advance text to edit?
     
    Do I need to use an Hex editor and locate his name used in battle, or some how use advance text to edit?
    You can do both. I'd say that locating the name with a hex editor is simpler though since the name is not part of text data, but just stored as a name.
    You can find the string 'Steven' by looking for the six bytes that refer to letters ('S', 't', 'e', 'v', 'e' and 'n') of that string/name.


    Here is a table file you can use:
    https://datacrystal.romhacking.net/wiki/Pokémon_Ruby_Sapphire_and_Emerald:_TBL


    In other words, pick up the bytes for those letters from there (S = CD, t = E8, ...) and use 'Search' option of a hex editor to search for the name. It will find the first instance of 'Steven' in the rom that could be this one you're looking for or possibly some text where 'Steven' is mentioned.
     
    Just want to point out that in game it is written as STEVEN so the bytes will be CD CE BF D0 BF C8.

    Just did a quick search and you can find STEVEN alone at 0x5EAD14 and 0x5EFB11. Might be another one.

    Miksy91 what do you mean by 'is not part of text data'? AdvanceText will find the string of bytes corresponding to the word you type in. There is no difference whether it's in a script or a standalone bit of text.
     
    Miksy91 what do you mean by 'is not part of text data'? AdvanceText will find the string of bytes corresponding to the word you type in. There is no difference whether it's in a script or a standalone bit of text.
    I haven't used AdvanceText since I don't hack gen III games. Anyway, if you look for a single text string such as this with a hex editor, you can easily find an instance that is "alone" like you described in your own post there. That's because the data next to that text string is most likely asm code related to the battle fought with him.

    A-text might be as good for editing these kind of things though - depending on how it works. I personally hack gen II and whenever I have to edit a text string of this kind, it's far simpler to do it with a hex editor (along with possibility of having to repoint to string) than using a game-specific text editor (there is only Poketext out there for gen I and II).

    Edit:
    Also what I possibly meant there is that the data for a string like what is used for 'STEVEN' here can be written differently in the rom than for example the "same" text string you could make a person event say ("STEVEN"), and A-text may not be able to show the text data properly when the name is looked for and the right instance is found. Again, wouldn't work fine with Poketext for instance since the strings (1. what people events say, and 2. these kind of strings) have different "endings". Poketext for instance assumes that all text datas end with byte 57 or 58, and most self-alone strings are hardcoded with different ending byte for specific reasons.
     
    Edit:
    Also what I possibly meant there is that the data for a string like what is used for 'STEVEN' here can be written differently in the rom than for example the "same" text string you could make a person event say ("STEVEN"), and A-text may not be able to show the text data properly when the name is looked for and the right instance is found. Again, wouldn't work fine with Poketext for instance since the strings (1. what people events say, and 2. these kind of strings) have different "endings". Poketext for instance assumes that all text datas end with byte 57 or 58, and most self-alone strings are hardcoded with different ending byte for specific reasons.

    In gen 3 afaik all text ends in FF so it's all the same. Everything is simpler on the GBA :)

    Edit: Just as I suspected, the name and trainer class in the tag battle is the same as when you face him in Meteor falls. You can change either in a trainer editor (no 324 hex) and it affects both battles.
     
    Last edited:
    Back
    Top