summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/015-8/sealedshrine.txt24
1 files changed, 22 insertions, 2 deletions
diff --git a/npc/015-8/sealedshrine.txt b/npc/015-8/sealedshrine.txt
index eb0eb0c75..9b0a5ccf4 100644
--- a/npc/015-8/sealedshrine.txt
+++ b/npc/015-8/sealedshrine.txt
@@ -470,7 +470,7 @@ OnInit:
end;
}
-015-8,91,100,0 script #SaggyBarrier NPC_HIDDEN,5,0,{
+015-8,91,109,0 script #SaggyBarrier NPC_HIDDEN,5,0,{
end;
OnTouch:
@@ -489,7 +489,7 @@ OnTouch:
slide 93, 106;
} else {
getmapxy(.@m$, .@x, .@y, 0);
- slide .@x, .@y-3;
+ slide .@x, .@y+3;
dispbottom l("A powerful magic barrier repels you!");
addtimer(200, "Dog Statue#Saggy::OnDialog");
}
@@ -497,3 +497,23 @@ OnTouch:
}
+
+015-8,91,107,0 script #SaggyBarrier2 NPC_HIDDEN,5,0,{
+ end;
+
+OnTouch:
+ // You should not be on this side of the barrier
+ if (SaggySealCheck()) {
+ setq HurnscaldQuest_Sagratha, 0, 0, 0;
+ sc_end SC_CASH_PLUSEXP;
+ sc_end SC_OVERLAPEXPUP;
+ sc_start SC_OVERLAPEXPUP, 300000, -20;
+ warp "Save", 0, 0;
+ closeclientdialog;
+ end;
+ }
+ slide 93, 110;
+ end;
+
+}
+