From 1bc2566aee188c920d96b9b42b2df6db202d67ff Mon Sep 17 00:00:00 2001 From: wushin Date: Sun, 24 Aug 2014 22:11:43 -0500 Subject: Quest Log Fix for QUEST_NorthTulimshar --- world/map/npc/021-1/imec.txt | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'world/map/npc/021-1/imec.txt') 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; } -- cgit v1.2.3-70-g09d2