Language…
9 users online: 15Tails, germdove, its_4life, OnlySpaghettiCode,  patcdr, schema_tuna, Shiki_Makiro, Tulip Time Scholarship Games, Zavok - Guests: 88 - Bots: 90
Users: 68,449 (2,269 active)
Latest user: Liamo82

Palette Problem: Layer 2 Lava [Solved]

Nobody responded to my previous thread about this topic, so I've decided to make a new one.

I am building a level that has rising lava, requiring me to put the lava on Layer 2. It all works fine except that the lava is an ugly purple color. I was able to fix this by going into the palette editor and changing the colors, but doing so changed the colors of the Status Bar on Layer 3.

How do I get lava on Layer 2 to look right without changing the Status Bar colors?
Can you post a ingame picture? Also the status bar uses palettes 0 and 1, not palette 7.



What palette is your lava using?

----------------

I'm working on a hack! Check it out here. Progress: 64/95 levels.
Originally posted by Luansilva12
Can you post a ingame picture? Also the status bar uses palettes 0 and 1, not palette 7.

Whatever palette the Status Bar uses, it's the same palette that Layer 2 lava uses.

Here's a screencap of the lava ingame.


Originally posted by imamelia
What palette is your lava using?

Here's the palette I'm using. I've circled the Layer 2 lava colors in red.
You're using the wrong palette. Copy and paste a row of the correct colors to the palette. Well, you need to find a level with lava, and copy the row of the lava (it should be where the same as the palette you circled), then, go back to your level, and paste the palette to there.

If someone can explain clearer, it would be appreciated.
formerly known as TheBasicASMGuy or TBASMGuy for short. hi.
By the working wise of how the palettes work, it's impossible. While layer 3 has got eight palette sets of colours just like the other layers and sprites (usually), each set only contain three colours + transparency as opposide to the others which have got fifteen colours and transparency, and the first colour is colour 0 i.e. the only way to mess with the layer 3 palette are colour 0x00-0x1F or in other words: the first two palette rows.
The lava uses usually palette row 3 but the first cave tileset sets bit 2 of the colour (i.e. you have to add 4 to the palette number if it isn't already 4 or higher) if the tile is located on layer 2 (that's, why the moving ground in layer 2 cave levels are yellow whereas these in e.g. castles aren't).
In other words: The problem must lie somewhere else so you certainly have some messed something terribly up.

Originally posted by TheBasicASMGuy
You're using the wrong palette. Copy and paste a row of the correct colors to the palette. Well, you need to find a level with lava, and copy the row of the lava (it should be where the same as the palette you circled), then, go back to your level, and paste the palette to there.

If someone can explain clearer, it would be appreciated.

The problem is not that the lava uses a purple colour in general, it's actually that all layer 2 tiles in cave levels use the scond half of the layer colour (i.e. tiles using palette 0-3 uses colour 4-7 but not vice versa) and NathanWarford recolours palette row 7 but (somehow) manage to recolour the status bar too despide being, as explained above, impossible.
I got a new, clean ROM and the palette swap is working properly now. I have no idea what was wrong with my previous ROM. Could it possibly have been a glitch with ZSNES? I've heard that ZSNES can be buggy, so I've switched over ZMZ.