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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pokenav_region_map.c b/src/pokenav_region_map.c
index 394b40907..e858fad4a 100755
--- a/src/pokenav_region_map.c
+++ b/src/pokenav_region_map.c
@@ -219,7 +219,7 @@ static u32 HandleRegionMapInput(struct Pokenav5Struct *state)
static u32 HandleRegionMapInputZoomDisabled(struct Pokenav5Struct *state)
{
- if (JOY_NEW(B_BUTTON))
+ if (gMain.newKeys & B_BUTTON)
{
state->callback = GetExitRegionMapMenuId;
return POKENAV_MAP_FUNC_EXIT;