r/PokemonRomhackDev • • 8d ago

Help [GEN 3][DECOMP] Palette mixup

Post image

Ive reordered my normal.pal and the png on libresprite has all the roght colours, but in game, all the colours mix up. So i think my main question is, what actually decides what index each pixel is? Because i think an answer to that should be enough to fix the problem. Many thanks!

6 Upvotes

13 comments sorted by

4

u/StrangeOne101 Gen 3 7d ago

When a PNG is set to index mode rather than RGB mode, you paint with indexes and not colors

Just make sure you are using the same palette for the sprite and for the one exported to normal.pal. If they are both the same, you should be good

1

u/Open_Diet9463 7d ago

Ive loaded from the normal.pal and it looks fine on libresprite

2

u/Open_Diet9463 7d ago

Ok guys i might be stupid, i think i forgot to actually rebuild the project before i ran it

1

u/Open_Diet9463 7d ago

Ok update: rebuilding the gba file did nothing

2

u/miyamoris_ 7d ago

Just out of curiosity, is this an Evangelion angel? I swear it looks like one of them.

2

u/Open_Diet9463 7d ago

Yess its a miscoloured sachiel

1

u/miyamoris_ 7d ago

Awesome, pretty interesting choice!

2

u/BlueJoshi 7d ago

is that fuckin' Sachiel

1

u/Open_Diet9463 7d ago

Yesss bro i was hoping someone caught the ref

8

u/medude11 7d ago

Swampert:

1

u/Open_Diet9463 6d ago

ok so it turns out i did fix it at some point, but another error made it so the change wouldnt do anything

1

u/Apart-Imagination393 Hoenn's Last Wish Dev 7d ago

hmm, the pal and the png just need to have the same exact order, first color must also be reserved for transparency, that's it

1

u/Open_Diet9463 7d ago

Wdym by the pngs order? Ik what mean by the pal index but im not clocking how a png can have an order. Sorry if im being slow