Thread: Research: Pre-Battle Mugshots in FireRed
View Single Post
  #23    
Old October 6th, 2012 (04:21 AM).
Jambo51's Avatar
Jambo51 Jambo51 is offline
Glory To Arstotzka
 
Join Date: Jun 2009
Gender: Male
Nature: Quiet
Posts: 730
Quote originally posted by tajaros:
Ohhh, but what about the palletes? :/
Read this very helpful post by shinyabsol1, it explains it rather well.

Quote originally posted by shinyabsol1:
All you have to do is change one thing in the trainerbattle command:

Code:
trainerbattle 0x[battle type] 0x[Trainer ID] 0x0 [pointers to messages]
That's the part in bold. Instead of that byte being 0x0 as it usually is, change it to 0x100, 0x200, 0x300, etc... depending on the slot of the palette you want to use in your table. So 0x100 would be the first palette...and so on.



If you have put 800000 in place of the Fs, then the ASM will think that your table is at 0x800000. So starting at that offset, put the pointers to your palettes.
__________________
Hey guys, please check out my recreations of the gen 1 and 2 music on my custom engine at my SoundCloud! - Here!
Reply With Quote