• 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.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Cyndy, May, Hero (Conquest), or Wes - 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.

[ASM & Hex] Custom Text entry

ATechnoHazard

Contemplating existentialism beneath a bronze pant
  • 5
    Posts
    8
    Years
    I played Pokemon Glazed some time ago, and what really made me like it was the custom input feature. Apparently, the creator wrote an ASM routine that called the naming function and compared the entered text against a preset value. I saw a research thread by Touched on this a while back, but his routine only updated the trainer name in-game. I understand ASM, but I have no idea of the RAM offsets involved or the location of the naming function. If you could help me out, I would really appreciate it.
     
    I played Pokemon Glazed some time ago, and what really made me like it was the custom input feature. Apparently, the creator wrote an ASM routine that called the naming function and compared the entered text against a preset value. I saw a research thread by Touched on this a while back, but his routine only updated the trainer name in-game. I understand ASM, but I have no idea of the RAM offsets involved or the location of the naming function. If you could help me out, I would really appreciate it.

    There is a rather big function that allows you to enter a string of length of your choice. If you hack EM, I may give you the address of it later. As for the comparision, there's another function that compares strings, so you'd need to call it after a string is inserted.
     
    Thanks for the quick reply. Incidentally, is there a resource thread that contains addresses of common functions?
     
    Not a thread, but a IDB database. You need a program called IDA to open these.

    Okay, I'm having a little trouble getting a hold of IDA pro, but in the meantime could you post a link to the database? (Hope its for FR)
     
    Alright thanks for the help. I got a hold of both, and figured out the routine. Gonna post that soon.
     
    Back
    Top