Thread: Research: Pre-Battle Mugshots in FireRed
View Single Post
Old October 1st, 2011 (2:05 PM).
shinyabsol1's Avatar
shinyabsol1 shinyabsol1 is offline
Pokemon DarkJasper!?
Join Date: Aug 2010
Gender: Male
Nature: Calm
Posts: 330
Originally Posted by Jambo51
Hello, my friend. A table (in Pokemon ROM hacking) is a list of data stored in the rom in a consistent format, usually used when there are multiple possible items which can use a piece of data.

In this case, you want to point the 0x08FFFFFF (either in the ASM file or in the ROM, just remember that doing it in the ROM means you need to reverse hex the pointer, while if you do it in the ASM file, it will be done automatically by the compiler) to some aligned free space (that is, the pointer ends with a 0, 4, 8 or C) and fill in the entries of the table with little endian pointers to the pallets which are to be used in the background of the mugshot.

Little Endian = Reverse Hex.

That should help you!
Thanks Jambo51. Now I understand what I was doing wrong and it works. Nice work figuring out how to do this, by the way.
Reply With Quote