summaryrefslogtreecommitdiff
path: root/world/map/npc/functions
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/functions')
-rw-r--r--world/map/npc/functions/clear_vars.txt14
1 files changed, 12 insertions, 2 deletions
diff --git a/world/map/npc/functions/clear_vars.txt b/world/map/npc/functions/clear_vars.txt
index eed42a44..14794c95 100644
--- a/world/map/npc/functions/clear_vars.txt
+++ b/world/map/npc/functions/clear_vars.txt
@@ -96,12 +96,22 @@ function|script|ClearVariables|{
//These lines are needed to migrate stuff from variables to flags
- if (Open_Underground_Palace_Barrier) set FLAGS, FLAGS | FLAG_OPENED_UNDERGROUND;
+ if (Open_Underground_Palace_Barrier)
+ set FLAGS, FLAGS | FLAG_OPENED_UNDERGROUND;
set Open_Underground_Palace_Barrier, 0;
- if (Naem_Quest_Done) set FLAGS, FLAGS | FLAG_GOT_NAEM_GLOVES;
+ if (Naem_Quest_Done)
+ set FLAGS, FLAGS | FLAG_GOT_NAEM_GLOVES;
set Naem_Quest_Done, 0;
+ if (ChristmasQuest)
+ set FLAGS, FLAGS | FLAG_SNOWMAN;
+ set ChristmasQuest, 0;
+
+ if (ChristmasQuest2)
+ set FLAGS, FLAGS | FLAG_SANTAS_HELPER;
+ set ChristmasQuest2, 0;
+
if (#BankAccount < 0)
goto FixBank;