From 1623d7da9290f57bcd0dfe41f61a9581b5a78198 Mon Sep 17 00:00:00 2001 From: Jessica Tölke Date: Wed, 9 Jan 2013 18:12:52 +0100 Subject: 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. --- world/map/npc/functions/clear_vars.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'world/map/npc/functions') 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) -- cgit v1.2.3-60-g2f50