Quick Research & Development Thread
View Single Post
March 24th, 2012 (6:27 PM).
Originally Posted by
Well, actually that's the routine that retrieves the pokemon data.
The one that i'm talking about is at 804037C, name's 'set_pokemon_data'
Pass adress at r0, pass index number r1, and the address which is located the data to set at r2. Thats why i was asking you about the stack. Game usually passes SP to R2, and the game uses the data present at the stack.
I updated my DB to include this and an enumeration with all numbers get/set_pokemon_data uses and the pokemon-properties they represent.
Also smaller changes and fixes.
Download link in the signature.
Firered IDA 6.6 DB:
VBA-M with lua scripting support
Joined Aug 2007
View Public Profile
Send a private message to knizz
Find all posts by knizz
Find threads started by knizz
Ignore Posts by knizz