- 5
- Posts
- 8
- Years
- Germany
- Seen Jan 1, 2025
Update:
The issue has been resolved. I had included a file that doesn't exist in my project, in this case "pokemon_debug.h".
After that, I had to add the palettes from pokeemerald-expansion by adding the following lines to src/graphics.c:
My original post follows the underlined part.
______________________________________________________________________________________________________
I've changed the sprites and icons in my pokefirered project by using the unga-bunga caveman method of shamelessly copying the entire "/graphics/pokemon" folder from the pokeemerald-expansion.
Now some of my party icons have funky palettes. In the case of my attached screenshot, this would be Venusaur, Oddish, and Raticate. The other three Pokémon in my party have normal palettes, however.
![[PokeCommunity.com] [Pokefirered] Modifying party icon palettes [PokeCommunity.com] [Pokefirered] Modifying party icon palettes](https://data.pokecommunity.com/attachments/22/22295-278705ab41a5814409326a560bb5acb4.jpg)
The icons themselves have the correct colors in my "/graphics/pokemon/..." folders.
![[PokeCommunity.com] [Pokefirered] Modifying party icon palettes [PokeCommunity.com] [Pokefirered] Modifying party icon palettes](https://data.pokecommunity.com/attachments/22/22296-65c1f5d2f1814024c2ca5b2e4e874934.jpg)
Unlike with the battle sprites, the icon sprites do not have a dedicated ".pal" file in their respective Pokémon's folders.
There is, however, a folder called "/graphics/pokemon/icon_palettes".
The contents of this folder is different between vanilla pokefirered and pokeemerald-expansion. Because I did not know which files to delete and which to keep, I decided to Frankenstein('s monster) those two folders together for my project. The first image is the folder as it appears in my project, the second is from vanilla pokefirered, and the third from pokeemerald-expansion.
Is there something different about how pokeemerald (or pokeemerald-expansion) handles the party icon palettes? Which files do I need to modify in order to get the correct palettes? Why are some palettes perfectly fine, whereas some others are messed up, as opposed to either all or none being messed up?
The issue has been resolved. I had included a file that doesn't exist in my project, in this case "pokemon_debug.h".
After that, I had to add the palettes from pokeemerald-expansion by adding the following lines to src/graphics.c:
Spoiler:
Code:
const u16 gMonIconPalettes[][16] =
{
INCBIN_U16("graphics/pokemon/icon_palettes/pal0.gbapal"),
INCBIN_U16("graphics/pokemon/icon_palettes/pal1.gbapal"),
INCBIN_U16("graphics/pokemon/icon_palettes/pal2.gbapal"),
INCBIN_U16("graphics/pokemon/icon_palettes/pal3.gbapal"),
INCBIN_U16("graphics/pokemon/icon_palettes/pal4.gbapal"),
INCBIN_U16("graphics/pokemon/icon_palettes/pal5.gbapal"),
};
______________________________________________________________________________________________________
I've changed the sprites and icons in my pokefirered project by using the unga-bunga caveman method of shamelessly copying the entire "/graphics/pokemon" folder from the pokeemerald-expansion.
Now some of my party icons have funky palettes. In the case of my attached screenshot, this would be Venusaur, Oddish, and Raticate. The other three Pokémon in my party have normal palettes, however.
![[PokeCommunity.com] [Pokefirered] Modifying party icon palettes [PokeCommunity.com] [Pokefirered] Modifying party icon palettes](https://data.pokecommunity.com/attachments/22/22295-278705ab41a5814409326a560bb5acb4.jpg)
The icons themselves have the correct colors in my "/graphics/pokemon/..." folders.
![[PokeCommunity.com] [Pokefirered] Modifying party icon palettes [PokeCommunity.com] [Pokefirered] Modifying party icon palettes](https://data.pokecommunity.com/attachments/22/22296-65c1f5d2f1814024c2ca5b2e4e874934.jpg)
Unlike with the battle sprites, the icon sprites do not have a dedicated ".pal" file in their respective Pokémon's folders.
There is, however, a folder called "/graphics/pokemon/icon_palettes".
The contents of this folder is different between vanilla pokefirered and pokeemerald-expansion. Because I did not know which files to delete and which to keep, I decided to Frankenstein('s monster) those two folders together for my project. The first image is the folder as it appears in my project, the second is from vanilla pokefirered, and the third from pokeemerald-expansion.
Is there something different about how pokeemerald (or pokeemerald-expansion) handles the party icon palettes? Which files do I need to modify in order to get the correct palettes? Why are some palettes perfectly fine, whereas some others are messed up, as opposed to either all or none being messed up?
Last edited: