summaryrefslogtreecommitdiff
path: root/world/map/npc/functions
diff options
context:
space:
mode:
authorwushin <pasekei@gmail.com>2014-08-29 11:53:53 -0500
committerwushin <pasekei@gmail.com>2014-08-29 11:53:53 -0500
commit0cc087b9fd3b70706ecd5bd2b96ab14c7c1295ab (patch)
treed6d70ff4be5445929e8cab7bd607fc31de616433 /world/map/npc/functions
parent1bc2566aee188c920d96b9b42b2df6db202d67ff (diff)
downloadserverdata-0cc087b9fd3b70706ecd5bd2b96ab14c7c1295ab.tar.gz
serverdata-0cc087b9fd3b70706ecd5bd2b96ab14c7c1295ab.tar.bz2
serverdata-0cc087b9fd3b70706ecd5bd2b96ab14c7c1295ab.tar.xz
serverdata-0cc087b9fd3b70706ecd5bd2b96ab14c7c1295ab.zip
Fixed Heathin for Quest log
Diffstat (limited to 'world/map/npc/functions')
-rw-r--r--world/map/npc/functions/clear_vars.txt10
1 files changed, 8 insertions, 2 deletions
diff --git a/world/map/npc/functions/clear_vars.txt b/world/map/npc/functions/clear_vars.txt
index 8bae5481..289b7a75 100644
--- a/world/map/npc/functions/clear_vars.txt
+++ b/world/map/npc/functions/clear_vars.txt
@@ -5,7 +5,7 @@ function|script|ClearVariables|,
// Tutorial
if ((TUTORIAL) || (sorfina))
goto L_ResetTut;
- goto L_Easter;
+ goto L_Heathin;
L_ResetTut:
//TUTORIAL to STARTAREA
@@ -48,7 +48,7 @@ L_ResetTut:
// Nibble 6 (Barrels)
set STARTAREA, (STARTAREA & ~(NIBBLE_6_MASK) | (@tutorial_tmp << NIBBLE_6_SHIFT));
set TUTORIAL, 0;
- goto L_Easter;
+ goto L_Heathin;
L_ResetAllTut:
set sorfina, 0;
@@ -58,6 +58,12 @@ L_ResetAllTut:
set TUTORIAL, 0;
set STARTAREA, 0;
set FLAGS, FLAGS &~ FLAG_TUTORIAL_DONE;
+ goto L_Heathin;
+
+L_Heathin:
+ if (HEATHIN_QUEST > 0)
+ set QUEST_NorthTulimshar, (QUEST_NorthTulimshar & ~(NIBBLE_6_MASK)) | (HEATHIN_QUEST << NIBBLE_6_SHIFT);
+ set HEATHIN_QUEST, 0;
goto L_Easter;
L_Easter: