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

    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.
    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