diff options
author | GriffinR <griffin.richards@comcast.net> | 2019-12-21 19:01:38 -0500 |
---|---|---|
committer | GriffinR <griffin.richards@comcast.net> | 2019-12-21 21:39:30 -0500 |
commit | 749965d56b00a33d988431eacf1405e8aeccb5bf (patch) | |
tree | 1d754df1c1c0dfe321b8ff55cd77ee857e915a78 /src/overworld.c | |
parent | 026e1108b26f4ce5cea362997135bd8efc7cb28a (diff) |
Document item_use.c
Diffstat (limited to 'src/overworld.c')
-rw-r--r-- | src/overworld.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/overworld.c b/src/overworld.c index 3d7f71f78..1cb264369 100644 --- a/src/overworld.c +++ b/src/overworld.c @@ -978,7 +978,7 @@ static u16 GetCenterScreenMetatileBehavior(void) bool32 Overworld_IsBikingAllowed(void) { - if (!(gMapHeader.flags & 1)) + if (!(gMapHeader.flags & MAP_ALLOW_BIKE)) return FALSE; else return TRUE; @@ -1702,7 +1702,7 @@ void sub_80861E8(void) static void sub_8086204(void) { - if ((gMapHeader.flags & 0xF8) == 8 && SecretBaseMapPopupEnabled() == TRUE) + if (SHOW_MAP_NAME_ENABLED && SecretBaseMapPopupEnabled() == TRUE) ShowMapNamePopup(); FieldCB_WarpExitFadeFromBlack(); } @@ -1948,7 +1948,7 @@ static bool32 load_map_stuff(u8 *state, u32 a2) (*state)++; break; case 11: - if ((gMapHeader.flags & 0xF8) == 8 && SecretBaseMapPopupEnabled() == TRUE) + if (SHOW_MAP_NAME_ENABLED && SecretBaseMapPopupEnabled() == TRUE) ShowMapNamePopup(); (*state)++; break; |