summaryrefslogtreecommitdiff
path: root/world/map/npc/021-1/banu.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/021-1/banu.txt')
-rw-r--r--world/map/npc/021-1/banu.txt8
1 files changed, 2 insertions, 6 deletions
diff --git a/world/map/npc/021-1/banu.txt b/world/map/npc/021-1/banu.txt
index fac61bc1..e614fcae 100644
--- a/world/map/npc/021-1/banu.txt
+++ b/world/map/npc/021-1/banu.txt
@@ -5,9 +5,7 @@
021-1.gat,102,54,0|script|Banu|154,
{
- set @BanuNT_MASK, 0xC00;
- set @BanuNT_SHIFT, 10;
- set @state, ((QUEST_NorthTulimshar & @BanuNT_MASK) >> @BanuNT_SHIFT);
+ set @state, ((QUEST_NorthTulimshar & TWOBIT_5_MASK) >> TWOBIT_5_SHIFT);
set @EXP, 30;
set @money_water, 200;
set @money_knife, 60;
@@ -106,11 +104,9 @@ L_Close:
set @EXP, 0;
set @state, 0;
set @rand, 0;
- set @BanuNT_MASK, 0;
- set @BanuNT_SHIFT, 0;
close;
S_Update_Mask:
- set QUEST_NorthTulimshar, (QUEST_NorthTulimshar & ~(@BanuNT_MASK)) | (@state << @BanuNT_SHIFT);
+ set QUEST_NorthTulimshar, (QUEST_NorthTulimshar & ~(TWOBIT_5_MASK)) | (@state << TWOBIT_5_SHIFT);
return;
}