summaryrefslogtreecommitdiff
path: root/src/time_events.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/time_events.c')
-rw-r--r--src/time_events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/time_events.c b/src/time_events.c
index e1b9a2e9e..ab3d6b9d4 100644
--- a/src/time_events.c
+++ b/src/time_events.c
@@ -81,7 +81,7 @@ void UpdateShoalTideFlag(void)
1,
};
- if (is_light_level_1_2_3_5_or_6(get_map_light_from_warp0()))
+ if (is_map_type_1_2_3_5_or_6(get_map_type_from_warp0()))
{
RtcCalcLocalTime();
if (tide[gLocalTime.hours])