summaryrefslogtreecommitdiff
path: root/world/map/npc/022-1/anwar.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/022-1/anwar.txt')
-rw-r--r--world/map/npc/022-1/anwar.txt15
1 files changed, 2 insertions, 13 deletions
diff --git a/world/map/npc/022-1/anwar.txt b/world/map/npc/022-1/anwar.txt
index f01089aa..7c031d9c 100644
--- a/world/map/npc/022-1/anwar.txt
+++ b/world/map/npc/022-1/anwar.txt
@@ -16,20 +16,9 @@
// state 13: Anwar asked to bring present to Eomie
// state 14: gave present to Eomie
// state 15: reported back to Anwar and done
-
--|script|#magicfieldNTconfig|-1,
-{
- end;
-
-OnInit:
- set $@magicfieldNT_MASK, NIBBLE_3_MASK;
- set $@magicfieldNT_SHIFT, NIBBLE_3_SHIFT;
- end;
-}
-
022-1.gat,41,46,0|script|Anwar|156,
{
- set @state, ((QUEST_NorthTulimshar & $@magicfieldNT_MASK) >> $@magicfieldNT_SHIFT);
+ set @state, ((QUEST_NorthTulimshar & NIBBLE_3_MASK) >> NIBBLE_3_SHIFT);
set @cloth_amount, 3;
set @silk_amount, 30;
@@ -209,6 +198,6 @@ L_Close:
close;
S_Update_Mask:
- set QUEST_NorthTulimshar, (QUEST_NorthTulimshar & ~($@magicfieldNT_MASK)) | (@state << $@magicfieldNT_SHIFT);
+ set QUEST_NorthTulimshar, (QUEST_NorthTulimshar & ~(NIBBLE_3_MASK)) | (@state << NIBBLE_3_SHIFT);
return;
}