summaryrefslogtreecommitdiff
path: root/world/map/npc/034-1/yetiSpawn.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/034-1/yetiSpawn.txt')
-rw-r--r--world/map/npc/034-1/yetiSpawn.txt12
1 files changed, 4 insertions, 8 deletions
diff --git a/world/map/npc/034-1/yetiSpawn.txt b/world/map/npc/034-1/yetiSpawn.txt
index f18e78be..7182c1af 100644
--- a/world/map/npc/034-1/yetiSpawn.txt
+++ b/world/map/npc/034-1/yetiSpawn.txt
@@ -2,9 +2,7 @@
// Author: Jenalya
034-1.gat,79,98,0|script|#Yerrnk_YetiTrigger|32767,1,3,{
- 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);
if (@state != 7)
end;
@@ -35,9 +33,7 @@ L_Abort:
OnYetiDeath:
set @MobID, 1072;
- 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);
if (@state != 7)
goto L_End;
set @state, 8;
@@ -51,7 +47,7 @@ L_End:
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;
}