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.txt23
1 files changed, 11 insertions, 12 deletions
diff --git a/world/map/npc/013-3/barrier.txt b/world/map/npc/013-3/barrier.txt
index 0ec3f86a..2d3cb5fe 100644
--- a/world/map/npc/013-3/barrier.txt
+++ b/world/map/npc/013-3/barrier.txt
@@ -1,19 +1,18 @@
//
-//013-3.gat,71,21,0 script #DemonMineBarrier1#_M 0,1,1,{
-013-3.gat,71,21,0 script #DemonMineBarrier1#_M 127,1,1,{
- if (QUEST_demon_mines >= 2) close;
+//013-3.gat,71,21,0|script|#DemonMineBarrier1#_M|0,1,1,{
+013-3.gat,71,21,0|script|#DemonMineBarrier1#_M|127,1,1,{
+ if (QUEST_demon_mines >= 2) close;
+ if (QUEST_demon_mines == 1 && countitem(1198) >= 1) goto L_Has_Jack_O_Soul;
- if (QUEST_demon_mines == 1 && countitem(1198) >= 1) goto L_Has_Jack_O_Soul;
+ mes "A barrier around the opening pushes you back as you approach.";
- mes "A barrier around the opening pushes you back as you approach.";
-
- warp "013-3.gat", 71, 25;
- close;
+ warp "013-3.gat", 71, 25;
+ close;
L_Has_Jack_O_Soul:
- mes "The barrier around the opening allows you passage.";
- set QUEST_demon_mines, 2;
- delitem "JackOSoul", 1;
- close;
+ mes "The barrier around the opening allows you passage.";
+ set QUEST_demon_mines, 2;
+ delitem "JackOSoul", 1;
+ close;
}