Expanding the FR Pokedex...
View Single Post
July 1st, 2010, 08:23 PM
Join Date: Jan 2006
Location: Melbourne, Australia
Originally Posted by
One of the techniques that I've found is really helpful in locating routines that display information is setting breakpoints on writes to the VRAM.
The code will usually use BIOS functions (swi 0xX) to uncompress or write text to the VRAM areas, which usually have their own subroutines (bl #0x08abcde) as they're general code.
It's then a matter of just following the link register returns (usually bx lr/bx r0/bx r1) until you find some code that's just after the code run to save to VRAM...usually you'll find some sort of comparison code, index gatherer or something.
It'd be easier with No$GBA if you have that, but you should still be able to use VBA-SDL-H if my memory serves.
Yeah, I use No$GBA.
The method I currently used was just a check if the address the Pokedex data is stored at was ever called and then just looking for checks around there. It's really not very efficient. Thanks for the tip.
あなた は しきしゃ です
わたし は ばか です
View Public Profile
Send a private message to Darthatron
Visit Darthatron's homepage!
Find all posts by Darthatron
Find threads started by Darthatron
Ignore Posts by Darthatron