Language…
10 users online: Danik2343, DinoMom, Firstnamebutt, masl, Odinstafel, pnaha, qantuum,  Ringo, Saibot1997, Zavok - Guests: 228 - Bots: 334
Users: 64,795 (2,380 active)
Latest user: mathew

Hardcoded ASM palette colors

There are many colors on several palettes that are hardcoded black. Why? And is there a way unhardcode these to be able to alter the global palette without using level palettes?

It's because SMW only writes to the areas which have been coloured. As it mostly uses 3bpp graphics, half of the palettes are de jure unused. Some of them are still used for special graphics like the second half of palettes 0 and 1 is used for layer 3, Mario is 4bpp which is why palette 8 uses all colours and the berries are located at the second half of the palette (but they're still 3bpp on their own).

The only way to write to them without local palettes is to write to palette during level load and even then, Lunar Magic doesn't display the colours, not to mention that Lunar Magic doesn't allow you to edit the palette loading code.
Thanks for the quick reply. On the same note, how do I change the 8 background color presets?

Edit: Nevermind I figured it out