summaryrefslogtreecommitdiff
path: root/world/map/npc/annuals/check_time.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/annuals/check_time.txt')
-rw-r--r--world/map/npc/annuals/check_time.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/world/map/npc/annuals/check_time.txt b/world/map/npc/annuals/check_time.txt
index 06de3038..1d37ecbc 100644
--- a/world/map/npc/annuals/check_time.txt
+++ b/world/map/npc/annuals/check_time.txt
@@ -5,7 +5,7 @@
// $@start_day
// $@end_day
// $@reward_start_month
-// $@reward_start_day
+// $@reward_start_day
function|script|GetEventTime
{
@@ -37,7 +37,7 @@ L_YearWrap:
|| !($@reward_start_month == $@end_month)))
|| ($@month < $@end_month && $@month > $@reward_start_month))
goto L_RewardTime;
- if(($@month >= $@start_month) || ($@month <= $@end_month && $@day <= $@reward_start_day))
+ if (($@month >= $@start_month && $@day >= $@start_day) || ($@month <= $@end_month && $@day <= $@end_day))
goto L_EventTime;
goto L_NoEventTime;