From 3d5beb946b9556e982d492cc41e72aead534f960 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 18 Jun 2019 13:00:35 -0300 Subject: Replace return() with end() when appliable, and if you're redoing the quest, prevent access to Village. (Yeti challenge won't happen again iirc) --- npc/023-3/logic.txt | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'npc/023-3/logic.txt') 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; -- cgit v1.2.3-70-g09d2