summaryrefslogtreecommitdiff
path: root/world/map/npc/013-3/barrier.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/013-3/barrier.txt')
-rw-r--r--world/map/npc/013-3/barrier.txt29
1 files changed, 0 insertions, 29 deletions
diff --git a/world/map/npc/013-3/barrier.txt b/world/map/npc/013-3/barrier.txt
deleted file mode 100644
index d7875009..00000000
--- a/world/map/npc/013-3/barrier.txt
+++ /dev/null
@@ -1,29 +0,0 @@
-//
-
-013-3,71,21,0|script|#DemonMineBarrier1#_M|32767,1,0
-{
- set @state, ((QUEST_Hurnscald & NIBBLE_2_MASK) >> NIBBLE_2_SHIFT);
-
- if (@state >= 2) goto L_End;
- if (@state == 1 && countitem("Soul") >= 1) goto L_Has_Soul;
-
- message strcharinfo(0), "Barrier : ##3A barrier around the opening pushes you back as you approach.";
-
- warp "013-3", 71, 25;
- goto L_End;
-
-L_Has_Soul:
- message strcharinfo(0), "Barrier : ##3The barrier around the opening allows you passage.";
- set @state, 2;
- callsub S_Update_Mask;
- delitem "Soul", 1;
- goto L_End;
-
-L_End:
- set @state, 0;
- end;
-
-S_Update_Mask:
- set QUEST_Hurnscald, (QUEST_Hurnscald & ~(NIBBLE_2_MASK)) | (@state << NIBBLE_2_SHIFT);
- return;
-}