summaryrefslogtreecommitdiff
path: root/world/map/npc/021-1/imec.txt
diff options
context:
space:
mode:
authorwushin <pasekei@gmail.com>2014-08-24 22:11:43 -0500
committerwushin <pasekei@gmail.com>2014-08-24 22:40:14 -0500
commit1bc2566aee188c920d96b9b42b2df6db202d67ff (patch)
treeec5ee1455bb936a57d1fefa13bcec53a2159a7b9 /world/map/npc/021-1/imec.txt
parent2c07459b6d045f7a510811c507533e204319473a (diff)
downloadserverdata-1bc2566aee188c920d96b9b42b2df6db202d67ff.tar.gz
serverdata-1bc2566aee188c920d96b9b42b2df6db202d67ff.tar.bz2
serverdata-1bc2566aee188c920d96b9b42b2df6db202d67ff.tar.xz
serverdata-1bc2566aee188c920d96b9b42b2df6db202d67ff.zip
Quest Log Fix for QUEST_NorthTulimshar
Diffstat (limited to 'world/map/npc/021-1/imec.txt')
-rw-r--r--world/map/npc/021-1/imec.txt15
1 files changed, 2 insertions, 13 deletions
diff --git a/world/map/npc/021-1/imec.txt b/world/map/npc/021-1/imec.txt
index 61e1fca7..07965951 100644
--- a/world/map/npc/021-1/imec.txt
+++ b/world/map/npc/021-1/imec.txt
@@ -2,20 +2,9 @@
// after finishing this, daily quest with scorpion stingers
// Using bit 8 and 9 of QUEST_NorthTulimshar (first half of nibble 2)
// author: Jenalya
-
--|script|#ImecShopConfig|-1,
-{
- end;
-
-OnInit:
- set $@ImecShopNT_MASK, 0x300;
- set $@ImecShopNT_SHIFT, 8;
- end;
-}
-
021-1.gat,120,31,0|script|Imec|162,
{
- set @state, ((QUEST_NorthTulimshar & $@ImecShopNT_MASK) >> $@ImecShopNT_SHIFT);
+ set @state, ((QUEST_NorthTulimshar & TWOBIT_4_MASK) >> TWOBIT_4_SHIFT);
set @money, 500;
if (@state >= 3) goto L_Stingers;
@@ -117,6 +106,6 @@ L_Close:
close;
S_Update_Mask:
- set QUEST_NorthTulimshar, (QUEST_NorthTulimshar & ~($@ImecShopNT_MASK)) | (@state << $@ImecShopNT_SHIFT);
+ set QUEST_NorthTulimshar, (QUEST_NorthTulimshar & ~(TWOBIT_4_MASK)) | (@state << TWOBIT_4_SHIFT);
return;
}