summaryrefslogtreecommitdiff
path: root/world/map/npc/functions/clear_vars.txt
diff options
context:
space:
mode:
authorJessica Tölke <jtoelke@mail.upb.de>2013-01-09 18:12:52 +0100
committerJessica Tölke <jtoelke@mail.upb.de>2013-01-09 18:12:52 +0100
commit1623d7da9290f57bcd0dfe41f61a9581b5a78198 (patch)
tree8b962a4b07bc7cd9df14ac0f37fd2a4db5261260 /world/map/npc/functions/clear_vars.txt
parent0088f8b3c7522a06b77b21b1fe7e6d8fc73c63fb (diff)
downloadserverdata-1623d7da9290f57bcd0dfe41f61a9581b5a78198.tar.gz
serverdata-1623d7da9290f57bcd0dfe41f61a9581b5a78198.tar.bz2
serverdata-1623d7da9290f57bcd0dfe41f61a9581b5a78198.tar.xz
serverdata-1623d7da9290f57bcd0dfe41f61a9581b5a78198.zip
Katze quest: use bitmasking to be able to remove the variable LastHiss.
Nibble 0: Progress of quest Nibble 1: what was saved previously in LastHiss Add LastHiss to clear_vars Since the value in LastHiss is only needed to get some hint from Alice, taking over the value from LastHiss to Nibble 1 of Katze isn't needed.
Diffstat (limited to 'world/map/npc/functions/clear_vars.txt')
-rw-r--r--world/map/npc/functions/clear_vars.txt2
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 71d81fcb..7188c2d8 100644
--- a/world/map/npc/functions/clear_vars.txt
+++ b/world/map/npc/functions/clear_vars.txt
@@ -101,6 +101,8 @@ function|script|ClearVariables|{
set QUEST_clothdyer_state, 0;
// variable was moved to a temporary player variable
set KatzeBeenOutside, 0;
+ // variable was moved to Nibble 1 of the variable Katze
+ set LastHiss, 0;
//These lines are needed to migrate stuff from variables to flags
if (Open_Underground_Palace_Barrier)