summaryrefslogtreecommitdiff
path: root/world/map/npc/033-1/yerrnk.txt
diff options
context:
space:
mode:
authorJessica Tölke <jtoelke@mail.upb.de>2012-01-17 20:23:02 +0100
committerJessica Tölke <jtoelke@mail.upb.de>2012-01-17 20:25:09 +0100
commitb9c76c51e9ba9c84a0bee23466901c6166569a67 (patch)
tree8c747da1c21467e7aad8d62002287a97da527b15 /world/map/npc/033-1/yerrnk.txt
parentaf937c6f932cdea5b56f0ee7c4976c7706e986a8 (diff)
downloadserverdata-b9c76c51e9ba9c84a0bee23466901c6166569a67.tar.gz
serverdata-b9c76c51e9ba9c84a0bee23466901c6166569a67.tar.bz2
serverdata-b9c76c51e9ba9c84a0bee23466901c6166569a67.tar.xz
serverdata-b9c76c51e9ba9c84a0bee23466901c6166569a67.zip
Barbarian quest: change some variables that are used as constants to global and put them in an init NPC
Diffstat (limited to 'world/map/npc/033-1/yerrnk.txt')
-rw-r--r--world/map/npc/033-1/yerrnk.txt11
1 files changed, 3 insertions, 8 deletions
diff --git a/world/map/npc/033-1/yerrnk.txt b/world/map/npc/033-1/yerrnk.txt
index 749350af..0ea375da 100644
--- a/world/map/npc/033-1/yerrnk.txt
+++ b/world/map/npc/033-1/yerrnk.txt
@@ -1,8 +1,5 @@
033-1.gat,66,28,0|script|Yerrnk|216,{
- set @Q_Barbarians_MASK, NIBBLE_0_MASK;
- set @Q_Barbarians_SHIFT, NIBBLE_0_SHIFT;
-
- set @state, ((QUEST_Barbarians & @Q_Barbarians_MASK) >> @Q_Barbarians_SHIFT);
+ set @state, ((QUEST_Barbarians & $@Q_Barbarians_MASK) >> $@Q_Barbarians_SHIFT);
set @yeti_level, 70;
@@ -168,15 +165,13 @@ L_Done:
goto L_Close;
L_Close:
- set @Q_Barbarians_MASK, 0;
- set @Q_Barbarians_SHIFT, 0;
set @state, 0;
set @yeti_level, 0;
close;
S_Update_Mask:
set QUEST_Barbarians,
- (QUEST_Barbarians & ~(@Q_Barbarians_MASK))
- | (@state << @Q_Barbarians_SHIFT);
+ (QUEST_Barbarians & ~($@Q_Barbarians_MASK))
+ | (@state << $@Q_Barbarians_SHIFT);
return;
}