mirror of
https://github.com/rh-hideout/pokeemerald-expansion.git
synced 2026-03-21 18:04:50 -05:00
Add red and leaf icons to frlg map (#9357)
This commit is contained in:
parent
59776b997b
commit
edc164e247
19
graphics/pokenav/region_map/leaf_icon.pal
Normal file
19
graphics/pokenav/region_map/leaf_icon.pal
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
JASC-PAL
|
||||
0100
|
||||
16
|
||||
115 197 164
|
||||
172 123 65
|
||||
255 197 148
|
||||
222 148 115
|
||||
123 65 65
|
||||
65 65 213
|
||||
57 57 123
|
||||
115 164 197
|
||||
106 41 41
|
||||
238 238 255
|
||||
180 180 213
|
||||
255 106 74
|
||||
197 57 57
|
||||
255 222 90
|
||||
189 156 57
|
||||
0 0 0
|
||||
BIN
graphics/pokenav/region_map/leaf_icon.png
Normal file
BIN
graphics/pokenav/region_map/leaf_icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 244 B |
19
graphics/pokenav/region_map/red_icon.pal
Normal file
19
graphics/pokenav/region_map/red_icon.pal
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
JASC-PAL
|
||||
0100
|
||||
16
|
||||
115 197 164
|
||||
172 123 65
|
||||
255 197 148
|
||||
222 148 115
|
||||
123 65 65
|
||||
65 65 213
|
||||
57 57 123
|
||||
115 164 197
|
||||
106 41 41
|
||||
238 238 255
|
||||
180 180 213
|
||||
255 106 74
|
||||
197 57 57
|
||||
255 222 90
|
||||
189 156 57
|
||||
0 0 0
|
||||
BIN
graphics/pokenav/region_map/red_icon.png
Normal file
BIN
graphics/pokenav/region_map/red_icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 233 B |
|
|
@ -127,6 +127,10 @@ static const u16 sRegionMapPlayerIcon_BrendanPal[] = INCBIN_U16("graphics/pokena
|
|||
static const u8 sRegionMapPlayerIcon_BrendanGfx[] = INCBIN_U8("graphics/pokenav/region_map/brendan_icon.4bpp");
|
||||
static const u16 sRegionMapPlayerIcon_MayPal[] = INCBIN_U16("graphics/pokenav/region_map/may_icon.gbapal");
|
||||
static const u8 sRegionMapPlayerIcon_MayGfx[] = INCBIN_U8("graphics/pokenav/region_map/may_icon.4bpp");
|
||||
static const u16 sRegionMapPlayerIcon_RedPal[] = INCBIN_U16("graphics/pokenav/region_map/red_icon.gbapal");
|
||||
static const u8 sRegionMapPlayerIcon_RedGfx[] = INCBIN_U8("graphics/pokenav/region_map/red_icon.4bpp");
|
||||
static const u16 sRegionMapPlayerIcon_LeafPal[] = INCBIN_U16("graphics/pokenav/region_map/leaf_icon.gbapal");
|
||||
static const u8 sRegionMapPlayerIcon_LeafGfx[] = INCBIN_U8("graphics/pokenav/region_map/leaf_icon.4bpp");
|
||||
|
||||
#include "data/region_map/region_map_layout.h"
|
||||
#include "data/region_map/region_map_entries.h"
|
||||
|
|
@ -1736,11 +1740,21 @@ void CreateRegionMapPlayerIcon(u16 tileTag, u16 paletteTag)
|
|||
sRegionMap->playerIconSprite = NULL;
|
||||
return;
|
||||
}
|
||||
if (gSaveBlock2Ptr->playerGender == FEMALE)
|
||||
if (IS_FRLG && gSaveBlock2Ptr->playerGender == FEMALE)
|
||||
{
|
||||
sheet.data = sRegionMapPlayerIcon_LeafGfx;
|
||||
palette.data = sRegionMapPlayerIcon_LeafPal;
|
||||
}
|
||||
else if (gSaveBlock2Ptr->playerGender == FEMALE)
|
||||
{
|
||||
sheet.data = sRegionMapPlayerIcon_MayGfx;
|
||||
palette.data = sRegionMapPlayerIcon_MayPal;
|
||||
}
|
||||
else if (IS_FRLG)
|
||||
{
|
||||
sheet.data = sRegionMapPlayerIcon_RedGfx;
|
||||
palette.data = sRegionMapPlayerIcon_RedPal;
|
||||
}
|
||||
LoadSpriteSheet(&sheet);
|
||||
LoadSpritePalette(&palette);
|
||||
spriteId = CreateSprite(&template, 0, 0, 1);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user