summaryrefslogtreecommitdiff
path: root/world/map/npc/011-4
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/011-4')
-rw-r--r--world/map/npc/011-4/bl_barrier.txt11
1 files changed, 9 insertions, 2 deletions
diff --git a/world/map/npc/011-4/bl_barrier.txt b/world/map/npc/011-4/bl_barrier.txt
index e7dfd98c..13524ee8 100644
--- a/world/map/npc/011-4/bl_barrier.txt
+++ b/world/map/npc/011-4/bl_barrier.txt
@@ -1,13 +1,20 @@
//bandit lord barrier
011-4.gat,111,121,0|script|#BL_Barrier|45,0,0,{
- if (TMW_Quest >= 44) goto L_Bandit_Lord_Barrier_Open;
+
+ set @state, ((QUEST_Hurnscald & NIBBLE_0_MASK) >> NIBBLE_0_SHIFT);
+
+ if (@state >= 4) goto L_Bandit_Lord_Barrier_Open;
message strcharinfo(0), "This entrance appears to be locked.";
- end;
+ goto L_End;
L_Bandit_Lord_Barrier_Open:
message strcharinfo(0), "You insert the silver arrow key and unlock the entrance.";
warp "011-6.gat",251,275;
+ goto L_End;
+
+L_End:
+ set @state, 0;
end;
}