From 664fddbcccfddb4d38cde539a07baa7f1377a4d2 Mon Sep 17 00:00:00 2001 From: mekolat Date: Wed, 19 Nov 2014 16:18:25 -0500 Subject: use builtin mapexit --- world/map/npc/annuals/halloween/config.txt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'world/map/npc/annuals/halloween') diff --git a/world/map/npc/annuals/halloween/config.txt b/world/map/npc/annuals/halloween/config.txt index 226d8bbb..0401fc3d 100644 --- a/world/map/npc/annuals/halloween/config.txt +++ b/world/map/npc/annuals/halloween/config.txt @@ -339,11 +339,11 @@ L_Main: if(gettime(6) <= $@halloween_end_month && gettime(5) > $@halloween_reward_end_day) goto L_NoEventTime; - if((gettime(6) == $@halloween_reward_start_month && gettime(5) >= $@halloween_reward_start_day + if((gettime(6) == $@halloween_reward_start_month && gettime(5) >= $@halloween_reward_start_day && (gettime(5) <= $@halloween_reward_end_day && $@halloween_reward_start_month == $@halloween_end_month || !($@halloween_reward_start_month == $@halloween_end_month))) - || (gettime(6) == $@halloween_end_month && gettime(5) <= $@halloween_reward_end_day - && (gettime(5) >= $@halloween_reward_start_day && $@halloween_reward_start_month == $@halloween_end_month + || (gettime(6) == $@halloween_end_month && gettime(5) <= $@halloween_reward_end_day + && (gettime(5) >= $@halloween_reward_start_day && $@halloween_reward_start_month == $@halloween_end_month || !($@halloween_reward_start_month == $@halloween_end_month))) || (gettime(6) < $@halloween_end_month && gettime(6) > $@halloween_reward_start_month)) goto L_RewardTime; @@ -372,6 +372,5 @@ L_Return: L_HalloweenError: debugmes "Halloween is Dead Jim."; - gmcommand "@mapexit"; - end; + mapexit; } -- cgit v1.2.3-70-g09d2