diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-09-23 22:48:42 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-23 22:48:42 -0400 |
commit | 09fd4fc4c57796036905cdc5caaa53fb96c436f8 (patch) | |
tree | 80223c0832436e94babed9b6471c01ec6f358db9 /src | |
parent | 9d0f9042febd46d506110778a3beeec90c8c9c1e (diff) | |
parent | ac599589ec8e04b788885cbcfae5c8abe7036f7f (diff) |
Merge pull request #1504 from LOuroboros/staticRegionMapSecIdToPopUpThemeIdMapping
Renamed gRegionMapSectionId_To_PopUpThemeIdMapping
Diffstat (limited to 'src')
-rw-r--r-- | src/map_name_popup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map_name_popup.c b/src/map_name_popup.c index cd92bbac1..97b02acf6 100644 --- a/src/map_name_popup.c +++ b/src/map_name_popup.c @@ -68,7 +68,7 @@ static const u16 sMapPopUp_PaletteTable[][16] = static const u16 sMapPopUp_Palette_Underwater[16] = INCBIN_U16("graphics/interface/map_popup/underwater.gbapal"); -static const u8 gRegionMapSectionId_To_PopUpThemeIdMapping[] = +static const u8 sRegionMapSectionId_To_PopUpThemeIdMapping[] = { [MAPSEC_LITTLEROOT_TOWN] = MAPPOPUP_THEME_WOOD, [MAPSEC_OLDALE_TOWN] = MAPPOPUP_THEME_WOOD, @@ -378,7 +378,7 @@ static void LoadMapNamePopUpWindowBg(void) else regionMapSectionId = 0; // Discard kanto region sections; } - popUpThemeId = gRegionMapSectionId_To_PopUpThemeIdMapping[regionMapSectionId]; + popUpThemeId = sRegionMapSectionId_To_PopUpThemeIdMapping[regionMapSectionId]; LoadBgTiles(GetWindowAttribute(popupWindowId, WINDOW_BG), sMapPopUp_OutlineTable[popUpThemeId], 0x400, 0x21D); CallWindowFunction(popupWindowId, DrawMapNamePopUpFrame); |