summaryrefslogtreecommitdiff
path: root/npc/023-3
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-18 13:00:35 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-18 13:00:35 -0300
commit3d5beb946b9556e982d492cc41e72aead534f960 (patch)
tree4e37af8120aacb0a9359b7bb6f5bbddeb2424a08 /npc/023-3
parent9cdc8c3f9a9931cb8f8e55ed3e01768cbe2c423e (diff)
downloadserverdata-3d5beb946b9556e982d492cc41e72aead534f960.tar.gz
serverdata-3d5beb946b9556e982d492cc41e72aead534f960.tar.bz2
serverdata-3d5beb946b9556e982d492cc41e72aead534f960.tar.xz
serverdata-3d5beb946b9556e982d492cc41e72aead534f960.zip
Replace return() with end() when appliable, and if you're redoing the quest,
prevent access to Village. (Yeti challenge won't happen again iirc)
Diffstat (limited to 'npc/023-3')
-rw-r--r--npc/023-3/logic.txt11
1 files changed, 8 insertions, 3 deletions
diff --git a/npc/023-3/logic.txt b/npc/023-3/logic.txt
index 30efbf3a0..df2f05455 100644
--- a/npc/023-3/logic.txt
+++ b/npc/023-3/logic.txt
@@ -16,7 +16,7 @@ OnTouch:
if (.@q < 15) {
warp "Save", 0, 0;
percentheal -100, -100;
- return false;
+ end;
}
mesc l("Return to Frostia's Castle?");
@@ -35,11 +35,16 @@ OnTouch:
.@q=getq(General_Narrator);
.@q2=getq2(General_Narrator);
// Cheater Detected
- if (.@q < 13) {
+ if (.@q < 15) {
warp "Save", 0, 0;
percentheal -100, -100;
- return false;
+ end;
}
+ // Not allowed to proceed
+ if (.@q > 15) {
+ dispbottom l("Hmm, no, I shouldn't go back there...");
+ end;
+ }
.@mapn$="001-7";
warp .@mapn$, 91, 90;