Language…
18 users online: anonimzwx, bradcomp, codfish1002, Danik2343, deported, Domokun007, Golden Yoshi, Heitor Porfirio, iamtheratio, Irondill, Knight of Time, koffe190, ModernKiwi, MorrieTheMagpie, mtheordinarygamer,  StayAtHomeStegosaurus, Tomi P, xxxblackangel2208xxx - Guests: 283 - Bots: 265
Users: 64,795 (2,375 active)
Latest user: mathew

Modifying Hardcoded Colors on Shared Palettes

A while ago I found a trick to modify hardcoded colors on shared palettes. I thought I'd share it!

Step 1:
Make sure you have the level palette box unchecked in #lm{pal}.


Step 2:
Make sure you have "Enable Lunar Magic's Global Animations" checked at #lm{aniset}.


Step 3:
Find somewhere to make a color. This could be on a black spot in the current palette, another Lunar Magic, or temporarily enabling level palette. Make your color there.

Step 4:
Hover over the color and look at the SNES RGB Value. Remember it!


Step 5:
Open "Edit Global ExAnimated Frames". (#lm{exang}) Find an open slot and set "Type" to "Palette", "Trigger" to "None", "Frames" to 1, and "Destination" to where you want the color. (Can be found by hovering on the palette window)


Step 6:
If you know what this dialogue does, you should probably know what's coming next. Copy the SNES RGB Value you remembered (hopefully) into this first frame slot!


Step 7:
On step 3, if you used freespace on the current palette, don't forget to change the color back to how it was. If you didn't use the freespace method, don't read this.

Now we can change the hardcoded colors when using shared palettes! This was useful for me to copy colors from the green sprite palette to the red one so I could edit GFX00.bin to allow for classic plants globally.

Why Lunar Magic doesn't include a patch for this, I have no idea. (Someone shoud tell FuSoYa!)
The only problem is that global exanimation takes up a lot of space.
That is true but it could be fine as long as you don't go crazy with them.
We have now reached the point where we have high-quality tutorials for obscure and almost-useless things. Cool.

allow shy guy emojis in post footers you cowards!
Originally posted by Von Fahrenheit
We have now reached the point where we have high-quality tutorials for obscure and almost-useless things. Cool.

I specialize in that area.

But I actually am using this in my hack.
Thanks!!! Now I don't need to go change the same hardcoded colors for every level!
Hello world!