summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--world/map/npc/functions/clear_vars.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/world/map/npc/functions/clear_vars.txt b/world/map/npc/functions/clear_vars.txt
index 76365f07..ee09071e 100644
--- a/world/map/npc/functions/clear_vars.txt
+++ b/world/map/npc/functions/clear_vars.txt
@@ -17,6 +17,7 @@ function|script|ClearVariables
callsub S_Angus;
callsub S_Flags;
callsub S_Bitmask;
+ callsub S_BlueSage;
callsub S_Easter;
callsub S_Easter2008;
@@ -214,6 +215,11 @@ S_Bitmask:
set @inspector, 0;
return;
+S_BlueSage:
+ if (QUEST_BlueSage & (1 << 7))
+ set QUEST_BlueSage, QUEST_BlueSage & ~((1<<5)|(1<<6)|(1<<7));
+ return;
+
S_Flags:
if (Open_Underground_Palace_Barrier)
set FLAGS, FLAGS | FLAG_OPENED_UNDERGROUND;