From 0cc087b9fd3b70706ecd5bd2b96ab14c7c1295ab Mon Sep 17 00:00:00 2001 From: wushin Date: Fri, 29 Aug 2014 11:53:53 -0500 Subject: Fixed Heathin for Quest log --- world/map/npc/functions/clear_vars.txt | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'world/map/npc/functions/clear_vars.txt') 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: -- cgit v1.2.3-60-g2f50