Skip to content

Commit

Permalink
Merge pull request #1990 from NTx86/fix-hoenn-pokedex-pal
Browse files Browse the repository at this point in the history
Fix hoenn pokedex palette being split in two
  • Loading branch information
GriffinRichards authored Apr 19, 2024
2 parents 8c4b1a3 + 2b78a85 commit 9cfe9b1
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 54 deletions.
50 changes: 49 additions & 1 deletion graphics/pokedex/bg_hoenn.pal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
JASC-PAL
0100
48
96
123 131 0
255 255 255
222 222 222
Expand Down Expand Up @@ -49,3 +49,51 @@ JASC-PAL
49 139 255
189 156 90
0 0 0
123 131 0
255 255 255
255 238 0
255 189 0
255 115 0
98 98 115
41 57 65
41 57 106
0 0 41
255 255 255
238 246 57
255 0 189
49 213 74
24 131 32
189 156 90
0 0 0
123 131 0
255 255 255
197 32 32
189 189 189
164 164 164
98 98 115
41 57 65
41 57 106
0 0 41
255 255 255
238 246 57
189 0 0
74 148 180
8 90 131
189 156 90
0 0 0
123 131 0
255 255 255
197 32 32
189 189 189
164 164 164
98 98 115
41 57 65
41 57 106
0 0 41
255 255 255
238 246 57
255 0 189
180 205 246
49 139 255
189 156 90
0 0 0
51 changes: 0 additions & 51 deletions graphics/pokedex/caught_screen.pal

This file was deleted.

1 change: 0 additions & 1 deletion src/graphics.c
Original file line number Diff line number Diff line change
Expand Up @@ -1230,7 +1230,6 @@ const u16 gFrontierPassMedalsGold_Pal[] = INCBIN_U16("graphics/frontier_pass/gol

// Pokédex
const u16 gPokedexBgHoenn_Pal[] = INCBIN_U16("graphics/pokedex/bg_hoenn.gbapal");
const u16 gPokedexCaughtScreen_Pal[] = INCBIN_U16("graphics/pokedex/caught_screen.gbapal");
const u16 gPokedexSearchResults_Pal[] = INCBIN_U16("graphics/pokedex/search_results_bg.gbapal");
const u16 gPokedexBgNational_Pal[] = INCBIN_U16("graphics/pokedex/bg_national.gbapal");
const u32 gPokedexMenu_Gfx[] = INCBIN_U32("graphics/pokedex/menu.4bpp.lz");
Expand Down
2 changes: 1 addition & 1 deletion src/pokedex.c
Original file line number Diff line number Diff line change
Expand Up @@ -4036,7 +4036,7 @@ static void Task_HandleCaughtMonPageInput(u8 taskId)
}
else
{
LoadPalette(gPokedexCaughtScreen_Pal + 1, BG_PLTT_ID(3) + 1, PLTT_SIZEOF(7));
LoadPalette(gPokedexBgHoenn_Pal + 49, BG_PLTT_ID(3) + 1, PLTT_SIZEOF(7));
}
}

Expand Down

0 comments on commit 9cfe9b1

Please sign in to comment.