summaryrefslogtreecommitdiff
path: root/world/map/npc/019-1/snowman.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/019-1/snowman.txt')
-rw-r--r--world/map/npc/019-1/snowman.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/world/map/npc/019-1/snowman.txt b/world/map/npc/019-1/snowman.txt
index 08513eae..529a7a50 100644
--- a/world/map/npc/019-1/snowman.txt
+++ b/world/map/npc/019-1/snowman.txt
@@ -2,8 +2,8 @@
// quest made seasonal and adapted to new scripting standards by Jenalya
019-1.gat,77,44,0|script|Snowman|129,{
- if( ChristmasQuest == 1) goto L_Done;
-
+ callfunc "ClearVariables";
+ if (FLAGS & FLAG_SNOWMAN) goto L_Done;
if ($@month == 12 || $@month == 1 || $@month == 2) goto L_Quest;
mes "A beautiful snowman. It looks almost alive.";
@@ -52,7 +52,7 @@ L_Sure:
mes "[Snowman]";
mes "\"Here you go, enjoy your new hat!\"";
getitem "SantaHat", 1;
- set ChristmasQuest, 1;
+ set FLAGS, FLAGS | FLAG_SNOWMAN;
goto L_Close;
L_Need: