summaryrefslogtreecommitdiff
path: root/npc/015-8/sealedshrine.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-01 20:41:19 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-01 20:41:19 -0300
commita2b987c18639cf352839e6d726907350664d6d3e (patch)
tree2f18ed361091c02245756a4fae27fb70727e6cd3 /npc/015-8/sealedshrine.txt
parent25765c78caa010323f566de88a80480397894b77 (diff)
downloadserverdata-a2b987c18639cf352839e6d726907350664d6d3e.tar.gz
serverdata-a2b987c18639cf352839e6d726907350664d6d3e.tar.bz2
serverdata-a2b987c18639cf352839e6d726907350664d6d3e.tar.xz
serverdata-a2b987c18639cf352839e6d726907350664d6d3e.zip
Fix bugs
Diffstat (limited to 'npc/015-8/sealedshrine.txt')
-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;
+
+}
+