summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwushin <pasekei@gmail.com>2016-03-23 10:00:15 -0500
committerwushin <pasekei@gmail.com>2016-03-23 10:00:15 -0500
commitcabc21059b09f7d194cd82904f4ef3b7b5c03d86 (patch)
tree0408f32c1756f0a2a398ae51dae67a0122df29f9
parent278a05f28bdc2cfd0970a2e56993ac3634369374 (diff)
downloadserverdata-cabc21059b09f7d194cd82904f4ef3b7b5c03d86.tar.gz
serverdata-cabc21059b09f7d194cd82904f4ef3b7b5c03d86.tar.bz2
serverdata-cabc21059b09f7d194cd82904f4ef3b7b5c03d86.tar.xz
serverdata-cabc21059b09f7d194cd82904f4ef3b7b5c03d86.zip
Correct Old Var inhibited any further progress with Nikolai
-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;