summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2016-03-29 12:03:30 -0400
committermekolat <mekolat@users.noreply.github.com>2016-03-29 12:03:30 -0400
commitd6125593fe05a94ccbfa46ded89210ccf1c396f7 (patch)
tree0408f32c1756f0a2a398ae51dae67a0122df29f9
parent278a05f28bdc2cfd0970a2e56993ac3634369374 (diff)
parentcabc21059b09f7d194cd82904f4ef3b7b5c03d86 (diff)
downloadserverdata-d6125593fe05a94ccbfa46ded89210ccf1c396f7.tar.gz
serverdata-d6125593fe05a94ccbfa46ded89210ccf1c396f7.tar.bz2
serverdata-d6125593fe05a94ccbfa46ded89210ccf1c396f7.tar.xz
serverdata-d6125593fe05a94ccbfa46ded89210ccf1c396f7.zip
Merge pull request #463 from wushin/blue-sage-patch
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;