Conversation Between sonic1 and knizz
31 to 35 of 35
  1. sonic1
    August 6th, 2011 2:27 PM
    sonic1
    Hey knizz, i need your help please.

    I'm making an emerald IDA database like your Firered one, and i'm quite advanced. But one thing thats been bothering me for a long time its that IDA pro doesn't identify ASCII correctly. Eg: Instead of "EGG" it shows "+--" and some strange characters.
    I know that pokemon uses a table for identifying characters, but i cant find a way of IDA recognizing the characters correctly. But in your Firered Database its fine.

    Could you tell me how you do it please?

    ~Sonic1
  2. sonic1
    July 16th, 2011 4:04 PM
    sonic1
    Oh and it seems that the field 0A of the walkrun structure in your database is the current direction the player is facing. 01= Down ; 02= Up ;03= Left ;04= Right! But only when 02037078 is set to 2.
    ...Much like the playerfacing VAR.
    ;)
  3. sonic1
    July 3rd, 2011 4:51 AM
    sonic1
    Oh its fine as long as you keep releasing your wonderful database. Here's a little contribution:
    The offset 02022B4C and his following 2 bytes (02022B4D and 02022B4E), mainly 02022B4C, is the battle type flag/var/value (whatever you want to call it) See this thread starting with the 6th post to see how you have to change the values in the offsets to get the results in-battle. If you want to research or mess with that to research (that offset is very used by the game), those values work by bits.
    For 02022B4C
    bit 1 Double Bit
    bit 2 Wireless Bit
    bit 3 Wild Bit
    bit 4 Trainer bit
    bit 5 Oak tutorial Bit
    bit 6 Normal(?)
    bit 7 ??? Crash
    bit 8 Safari Bit

    For 02022B4D
    bit 1 Trainer Tower Bit
    bit 2 Old Man Bit
    bit 3 Roaming Byte
    bit 4 Trainer Tower Bit
    bit 5 Kinda legendary bit
    bit 6 Silph Scope bit
    bit 7 Nothing (?)
    bit 8 Ghost Bit

    Basically thats it. Good luck on your research and keep releasing your database :D
    With best regards, Sonic1
  4. knizz
    July 2nd, 2011 10:24 PM
    knizz
    Haha. I knew about the database notepad but I was afraid that people wouldn't find the button or even know that it exists. oac_ and unc_ are the same. They are callbacks for oam_thingies. uns (=unknown_structues) have callbacks too but are never called "raw". They are first copied into an oam_thingie. I should rename them.
  5. sonic1
    July 2nd, 2011 5:22 PM
    sonic1
    Hi there knizz. :D

    First i want to congratulate you on your sucess with your follow me achievement.
    Its really awesome.

    Second, i want to thank you for your marvelous database, and also thank you for updating from time to time. I always check for a new version on your signature :D
    I have a sugestion to keep things more understandable for other people and for keeping notes and stuff. Use the database notepad in IDA to keep information on your database and explain your abbreviations. Like c2. I know that it is the callback function 2, but other people might not recognize it. On the other hand, i dont know what is oac.
    But this is just a suggestion, i just came here to express my gratitude for you to share with all of us your marvelous database. :D
    With best regards,
    ~Sonic1