How to match sprite palettes

i have been using aseprite to inport sprites into pokemon platinum. this fail however because the front and back sprite need to have the exact same sprite palette but the front and back sprite have the same colors but aranged in diffirent orders. how do i fix this?

Hi @Santiago_Vasquez_van, you could try to convert one of those sprites to RGB color mode (Sprite > Color Mode > RGB Color), then loading the palette of the first sprite, and then converting the sprite back to Indexed (Sprite > Color Mode > Indexed).