Research & Development Got a well-founded knack with ROM hacking? Love reverse-engineering the Pokémon games? Or perhaps you love your assembly language. This is the spot for polling and gathering your ideas, and then implementing them! Share your hypothesis, get ideas from others, and collaborate to create!

TrollandToad.com
Reply
 
Thread Tools
  #1    
Old November 4th, 2010 (4:34 PM).
esperance's Avatar
esperance esperance is offline
  • Platinum Tier
 
Join Date: Mar 2010
Location: Ohio
Age: 20
Gender: Male
Nature: Relaxed
Posts: 3,830
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
0x23EA52-0x23EA57: Player
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)
__________________
What are you so afraid of?
Reply With Quote

Relevant Advertising!

  #2    
Old November 7th, 2010 (7:23 PM).
Shiny Quagsire's Avatar
Shiny Quagsire Shiny Quagsire is offline
I'm Still Alive, Elsewhere
     
    Join Date: May 2009
    Location: Hoenn Safari Zone
    Age: 19
    Gender: Male
    Nature: Jolly
    Posts: 700
    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
    __________________



    Reply With Quote
      #3    
    Old November 7th, 2010 (8:43 PM).
    DrFuji's Avatar
    DrFuji DrFuji is offline
    Heiki Hecchara‌‌
    • Crystal Tier
     
    Join Date: Sep 2009
    Location: Downia-upside
    Age: 24
    Gender: Male
    Nature: Jolly
    Posts: 1,328
    Quote:
    Originally Posted by shiny quagsire View Post
    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
    __________________
    Reply With Quote
      #4    
    Old November 8th, 2010 (2:31 PM).
    esperance's Avatar
    esperance esperance is offline
    • Platinum Tier
     
    Join Date: Mar 2010
    Location: Ohio
    Age: 20
    Gender: Male
    Nature: Relaxed
    Posts: 3,830
    Yes, but what I find odd is the "Trainer" thing. I believe that it was used to be "PKMN Trainer"
    __________________
    What are you so afraid of?
    Reply With Quote
      #5    
    Old November 9th, 2010 (7:30 AM). Edited November 9th, 2010 by knizz.
    knizz's Avatar
    knizz knizz is offline
       
      Join Date: Aug 2007
      Posts: 192
      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
      __________________
      Firered IDA 6.6 DB: https://www.dropbox.com/s/d856o3pyndyr5sr/firered.idb
      VBA-M with lua scripting support
      Reply With Quote
        #6    
      Old November 9th, 2010 (12:05 PM).
      esperance's Avatar
      esperance esperance is offline
      • Platinum Tier
       
      Join Date: Mar 2010
      Location: Ohio
      Age: 20
      Gender: Male
      Nature: Relaxed
      Posts: 3,830
      Quote:
      Originally Posted by knizz View Post
      You forgot 0823E558: PKMN Trainer
      Yeah, I just realized that. It was late when I made the list.
      __________________
      What are you so afraid of?
      Reply With Quote
        #7    
      Old February 5th, 2015 (7:36 AM).
      Urritguyz Urritguyz is offline
      What's going on everyone
         
        Join Date: Jan 2015
        Gender: Male
        Nature: Adamant
        Posts: 11
        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?
        Reply With Quote
          #8    
        Old February 12th, 2015 (9:01 PM).
        FBI's Avatar
        FBI FBI is offline
        Free supporter
        • Silver Tier
         
        Join Date: Jan 2013
        Location: Unknown Island
        Gender: Male
        Posts: 1,789
        Quote:
        Originally Posted by Urritguyz View Post
        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
        __________________
        ...
        Reply With Quote
          #9    
        Old February 14th, 2015 (5:52 AM).
        Urritguyz Urritguyz is offline
        What's going on everyone
           
          Join Date: Jan 2015
          Gender: Male
          Nature: Adamant
          Posts: 11
          Quote:
          Originally Posted by FBI agent View Post
          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.
          Reply With Quote
            #10    
          Old February 14th, 2015 (6:09 AM).
          Telinc1's Avatar
          Telinc1 Telinc1 is offline
          Weirdo Extraordinaire
             
            Join Date: Jun 2013
            Location: Sofia, Bulgaria
            Gender: Male
            Nature: Bold
            Posts: 167
            Quote:
            Originally Posted by Urritguyz View Post
            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)
            __________________

            Check out my hacks by clicking on the userbar!
            Check out my new website (this link now works!)!
            Reply With Quote
              #11    
            Old February 15th, 2015 (5:36 AM).
            Urritguyz Urritguyz is offline
            What's going on everyone
               
              Join Date: Jan 2015
              Gender: Male
              Nature: Adamant
              Posts: 11
              Quote:
              Originally Posted by Telinc1 View Post
              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.
              Reply With Quote
              Reply

              Quick Reply

              Join the conversation!

              Create an account to post a reply in this thread, participate in other discussions, and more!

              Create a PokéCommunity Account

              Sponsored Links
              Thread Tools

              Posting Rules
              You may not post new threads
              You may not post replies
              You may not post attachments
              You may not edit your posts

              BB code is On
              Smilies are On
              [IMG] code is On
              HTML code is Off

              Forum Jump


              All times are GMT -8. The time now is 1:37 PM.