diff options
Diffstat (limited to 'world/map/npc/functions/clear_vars.txt')
-rw-r--r-- | world/map/npc/functions/clear_vars.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/world/map/npc/functions/clear_vars.txt b/world/map/npc/functions/clear_vars.txt index b83ea630..a0c5e787 100644 --- a/world/map/npc/functions/clear_vars.txt +++ b/world/map/npc/functions/clear_vars.txt @@ -10,6 +10,8 @@ function|script|ClearVariables|, L_SetAllTut: if (FLAGS & FLAG_TUTORIAL_DONE) goto L_ResetAllTut; + if ((FLAGS & FLAG_TUTORIAL_DONE) && (!(TUTORIAL & $@HasanCompleteBit))) + set TUTORIAL, TUTORIAL | $@HasanCompleteBit; set @tutorial_tmp, (sorfina + tanisha + hasan + kaan); set TUTORIAL, (TUTORIAL & ~(NIBBLE_0_MASK) | (@tutorial_tmp << NIBBLE_0_SHIFT)); set @tutorial_tmp, 0; |