summaryrefslogtreecommitdiff
path: root/src/pokenav_region_map.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pokenav_region_map.c')
-rwxr-xr-xsrc/pokenav_region_map.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/pokenav_region_map.c b/src/pokenav_region_map.c
index 2dd2e4408..3c210ed97 100755
--- a/src/pokenav_region_map.c
+++ b/src/pokenav_region_map.c
@@ -327,7 +327,9 @@ static u32 LoopedTask_OpenRegionMap(s32 taskState)
}
else
{
- sub_8123030(RGB_BLACK, 6);
+ // Dim the region map when zoom is disabled
+ // (when the player is off the map)
+ BlendRegionMap(RGB_BLACK, 6);
}
return LT_INC_AND_PAUSE;
case 2:
@@ -725,7 +727,7 @@ static void UpdateCityZoomTextPosition(void)
struct Pokenav5Struct_2 *state = GetSubstructPtr(POKENAV_SUBSTRUCT_REGION_MAP_ZOOM);
int y = 132 - (GetBgY(1) >> 8);
for (i = 0; i < (int)ARRAY_COUNT(state->cityZoomTextSprites); i++)
- state->cityZoomTextSprites[i]->pos1.y = y;
+ state->cityZoomTextSprites[i]->y = y;
}
static void SetCityZoomTextInvisibility(bool32 invisible)