diff options
author | Wushin <pasekei@gmail.com> | 2014-06-30 18:56:49 -0500 |
---|---|---|
committer | Wushin <pasekei@gmail.com> | 2014-06-30 18:56:49 -0500 |
commit | 0d8c9a3f43372de8302264207bf7fe4ee3a88579 (patch) | |
tree | 88f6b6f353f068e1fcf84b319c7d22a9476bc301 /world/map/npc/functions/clear_vars.txt | |
parent | a0cdf3e2821228f570bf339cd675c012ad4fea57 (diff) | |
parent | 623f98ef8f4efa72d6ff7355517b0ace7235ef72 (diff) | |
download | serverdata-0d8c9a3f43372de8302264207bf7fe4ee3a88579.tar.gz serverdata-0d8c9a3f43372de8302264207bf7fe4ee3a88579.tar.bz2 serverdata-0d8c9a3f43372de8302264207bf7fe4ee3a88579.tar.xz serverdata-0d8c9a3f43372de8302264207bf7fe4ee3a88579.zip |
Merge pull request #123 from wushin/starting-area-fix
Starting Area Redux
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; |