summaryrefslogtreecommitdiff
path: root/world/map/npc/functions/clear_vars.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/functions/clear_vars.txt')
-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: