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

Research: [Firered] Hex Values for Trainer Classes

3,830
Posts
14
Years
    • Age 27
    • OH
    • Seen Feb 26, 2024
    Okay, this is a document of all the trainer classes in Firered.

    Starts at: 0x23E558
    Code:
    Offset*: Name**
    0x23E55B-0x23E561: Trainer
    0x23E568-0x23E56E: Trainer
    0x23E572-0x23E57C: Aqua Leader
    0x23E57F-0x23E587: Team Aqua
    0x23E58C-0x23E595: Aroma Lady
    0x23E599-0x23E5A3: Ruin Maniac
    0x23E5A6-0x23E5B0: Interviewer
    0x23E5B3-0x23E5B7: Tuber
    0x23E5C0-0x23E5C4: Tuber
    0x23E5CD-0x23E5D7: Cooltrainer
    0x23E5DA-0x23E5E3: Hex Maniac
    0x23E5E7-0x23E5EA: Lady
    0x23E5FA-0x23E5F9: Beauty
    0x23E601-0x23E608: Rich Boy
    0x23E60E-0x23E617: Pokemaniac
    0x23E61B-0x23E621: Swimmer
    0x23E628-0x23E631: Black Belt
    0x23E635-0x23E63D: Guitarist
    0x23E642-0x23E648: Kindler
    0x23E64F-0x23E654: Camper
    0x23E65C-0x23E665: Bug Maniac
    0x23E669-0x23E66F: Psychic
    0x23E676-0x23E67E: Gentleman
    0x23E683-0x23E68C: Elite Four
    0x23E690-0x23E695: Leader
    0x23E69D-0x23E6A6: School Kid
    0x23E6AA-0x23E6B3: Sr and Jr
    0x23E6B7-0x23E6BD: Pokefan
    0x23E6C4-0x23E6C9: Expert
    0x23E6D1-0x23E6D9: Youngster
    0x23E6DE-0x23E6E5: Champion
    0x23E6EB-0x23E883: Fisherman
    0x23E6F8-0x23E701: Triathlete
    0x23E705-0x23E710: Dragon Tamer
    0x23E712-0x23E71C: Bird Keeper
    0x23E71F-0x23E727: Ninja Boy
    0x23E72C-0x23E736: Battle Girl
    0x23E739-0x23E744: Parasol Lady
    0x23E746-0x23E74C: Swimmer
    0x23E753-0x23E75B: Picknicker
    0x23E760-0x23E764: Twins
    0x23E76D-0x23E772: Sailor
    0x23E77A-0x23E780: Boarder
    0x23E787-0x23E78F: Collector
    0x23E797-0x23E79D: Trainer
    0x23E7A4-0x23E7AA: Breeder
    0x23E7B1-0x23E7B6: Ranger
    0x23E7BB-0x23E7C6: Magma Leader
    0x23E7C8-0x23E7D1: Team Magma
    0x23E7D5-0x23E7D8: Lass
    0x23E7E2-0x23E7EC: Bug Catcher
    0x23E7EF-0x23E7F3: Hiker
    0x23E7FC-0x23E807: Young Couple
    0x23E809-0x23E812: Old Couple
    0x23E816-0x23E820: Sis and Bro
    0x23E823-0x23E82C: Aqua Admin
    0x23E830-0x23E83A: Magma Admin
    0x23E83D-0x23E845: Youngster
    0x23E84A-0x23E854: Bug Catcher
    0x23E857-0x23E85A: Lass
    0x23E864-0x23E869: Sailor
    0x23E87E-0x23E886: Picknicker
    0x23E88B-0x23E894: Pokemaniac
    0x23E898-0x23E8A1: Super Nerd
    0x23E8A5-0x23E8A9: Hiker
    0x23E8B2-0x23E8B6: Biker
    0x23E8BF-0x23EBC5: Burglar
    0x23E8CC-0x23E8D3: Engineer
    0x23E8D9-0x23E8E1: Fisherman
    0x23E8E6-0x23E8EC: Swimmer
    0x23E8FC-0x23E8FA: Cue Ball
    0x23E900-0x23E904: Gamer
    0x23E90D-0x23E912: Beauty
    0x23E914-0x23E914: Swimmer
    0x23E927-0x23E92D: Psychic
    0x23E934-0x23E939: Rocker
    0x23E941-0x23E947: Juggler
    0x23E94E-0x23E952: Tamer
    0x23E95B-0x23E965: Bird Keeper
    0x23E968-0x23E971: Black Belt
    0x23E975-0x23E979: Rival
    0x23E982-0x23E546: Scientist
    0x23E98F-0x23E992: Boss
    0x23E99C-0x23E9A1: Leader
    0x23E9A9-0x23E9B3: Team Rocket
    0x23E9B6-0x23E9C0: Cooltrainer
    0x23E9C3-0x23E9CC: Elite Four
    0x23E9D0-0x23E9D8: Gentleman
    0x23E9DD-0x23E9E1: Rival
    0x23E9EA-0x23E9F1: Champion
    0x23E9F7-0x23E9FF: Channeler
    0x23EA04-0x23EA08: Twins
    0x23EA11-0x23EA1B: Cool Couple
    0x23EA1E-0x23EA29: Young Couple
    0x23EA2B-0x23EA33: Crush Kin
    0x23EA38-0x23EA42: Sis and Bro
    0x23EA48-0x23EA4B: Prof
    [U][B]0x23EA52-0x23EA57: Player[/B][/U]
    0x23EA5F-0x23EA68: Crush Girl
    0x23EA6C-0x23EA70: Tuber
    0x23EA7C-0x23EA82: Breeder
    0x23EA89-0x23EA8E: Ranger
    0x23EA93-0x23EA9C: Aroma Lady
    0x23EAA0-0x23EAAA: Ruin Maniac
    0x23EAAD-0x23EAB0: Lady
    0x23EABA-0x23EAC0: Painter
    
    End
    *Offset 1=starting byte, offset 2=ending byte
    ** This includes spaces, and all letters are capital.

    Ruby Trainer Classes (Not done)
     

    DrFuji

    [I]Heiki Hecchara‌‌[/I]
    1,691
    Posts
    14
    Years
  • What I really find funny is "Hex Maniac." I don't think that was ever used, and perhaps it was a joke from Nintendo :p

    Nah, it was a pretty rare trainer class but they did appear a couple of times in R/S/E mainly around Mt Pyre. They were no joke :P
    RSE_HexManiac.png
     
    3,830
    Posts
    14
    Years
    • Age 27
    • OH
    • Seen Feb 26, 2024
    Yes, but what I find odd is the "Trainer" thing. I believe that it was used to be "PKMN Trainer"
     

    knizz

    192
    Posts
    16
    Years
    • Seen Oct 28, 2020
    You forgot 0823E558: PKMN Trainer

    EDIT:
    Just read the post above ^^

    EDIT2:
    Trainer class name table: 0823E558 (length per entry = 0xD)
    Pointer to table: 080D80A0 (for repointing)

    Ability name table: 0824FC40
    Pointer to table: 080D8004 (for repointing)

    Move name table: 08247094
    Offset table to move types: (e.g. "a FIGHTING move") 083FEA28
    " BERRY": 083FD8AF

    You see... I'm bored
     
    Last edited:

    Urritguyz

    What's going on everyone
    11
    Posts
    9
    Years
    • Seen Jan 5, 2018
    I have a question when it comes to these trainer classes.

    I've noticed that a few of these trainer classes (mainly the leader, elite four and champion) have a few qualities that differentiates them from all the other classes
    - gym leaders: Special battle theme
    - elite 4: Special battle theme + intro mugshots
    - champion: Special battle theme + intro mugshots + Name of Rival

    The champion class is especially interesting as it ignores the name you give it in a Trainer Editor and automatically gives it the name of your rival (since in FRLG, your rival is the champion.) However, in my hack I want to have a different champion.

    Now for my question: Would it be possible to have a trainer class with all the qualities of the Champion, but without the rival name?
     

    Blah

    Free supporter
    1,924
    Posts
    11
    Years
  • I have a question when it comes to these trainer classes.

    I've noticed that a few of these trainer classes (mainly the leader, elite four and champion) have a few qualities that differentiates them from all the other classes
    - gym leaders: Special battle theme
    - elite 4: Special battle theme + intro mugshots
    - champion: Special battle theme + intro mugshots + Name of Rival

    The champion class is especially interesting as it ignores the name you give it in a Trainer Editor and automatically gives it the name of your rival (since in FRLG, your rival is the champion.) However, in my hack I want to have a different champion.

    Now for my question: Would it be possible to have a trainer class with all the qualities of the Champion, but without the rival name?

    Did you try giving a random trainer the trainer class Champion? I think I remember reading somewhere that it didn't matter about the class. My mind could be playing tricks though, please confirm :D
     

    Urritguyz

    What's going on everyone
    11
    Posts
    9
    Years
    • Seen Jan 5, 2018
    Did you try giving a random trainer the trainer class Champion? I think I remember reading somewhere that it didn't matter about the class. My mind could be playing tricks though, please confirm :D

    Yeah, I've done that. What happens is it ignores the name I give and says "Champion (Rival) wants to battle!". I believe what matters is the specific offset of the trainer class. For Champion, it's 0x5A (in firered). So if I would change that class name to e.g. "Team Rocket Leader", it would have all the same qualities (mugshots, music and rival name).

    I suppose this can be changed with hex editing, although I have no idea how to approach that or what the values would be.
     

    Telinc1

    Weirdo Extraordinaire
    168
    Posts
    10
    Years
  • Yeah, I've done that. What happens is it ignores the name I give and says "Champion (Rival) wants to battle!". I believe what matters is the specific offset of the trainer class. For Champion, it's 0x5A (in firered). So if I would change that class name to e.g. "Team Rocket Leader", it would have all the same qualities (mugshots, music and rival name).

    I suppose this can be changed with hex editing, although I have no idea how to approach that or what the values would be.
    It is indeed done with a hex editor and it's actually a really simple change. See this post for details. Also, (not too sure, off of memory) if you don't want any classes to be forced to the rival's name, just change everything from D8142 to D814D to 00. (and just a note, anything can be changed with a hex editor provided you know what to change)
     

    Urritguyz

    What's going on everyone
    11
    Posts
    9
    Years
    • Seen Jan 5, 2018
    It is indeed done with a hex editor and it's actually a really simple change. See this post for details. Also, (not too sure, off of memory) if you don't want any classes to be forced to the rival's name, just change everything from D8142 to D814D to 00. (and just a note, anything can be changed with a hex editor provided you know what to change)

    Thanks for the help, I got it.
     
    Back
    Top