Thread: Research: Pre-Battle Mugshots in FireRed
View Single Post
Old September 15th, 2012 (1:51 AM).
LugiaMZ's Avatar
LugiaMZ LugiaMZ is offline
Join Date: Dec 2011
Gender: Male
Posts: 72
Originally Posted by shinyabsol1 View Post
All you have to do is change one thing in the trainerbattle command:

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.

Thanks for your help! Now I can add mugshot to my gym leader or some important character, thanks you very much.
Reply With Quote