From 7e91a5df4912ad192beda9d997abea237e42f3b4 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 17 Jun 2019 14:00:30 -0300 Subject: Okay, I'm getting confuse with all these warps. --- npc/023-3-1/logic.txt | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) (limited to 'npc/023-3-1') diff --git a/npc/023-3-1/logic.txt b/npc/023-3-1/logic.txt index 8c73c23eb..9ce0bc4f0 100644 --- a/npc/023-3-1/logic.txt +++ b/npc/023-3-1/logic.txt @@ -44,6 +44,26 @@ OnTouch: end; } +023-3,45,27,0 script #Leave02331 NPC_HIDDEN,1,0,{ + end; +OnTouch: + .@q=getq(General_Narrator); + .@q2=getq2(General_Narrator); + // Cheater Detected + if (.@q < 15) { + warp "Save", 0, 0; + percentheal -100, -100; + return false; + } + if (.@q == 15) { + dispbottom lg("I'm not a coward! I must press forward!"); + end; + } + .@mapn$="001-7"; + warp .@mapn$, 59, 45; + end; +} + 001-7,59,44,0 script #Init02331 NPC_HIDDEN,0,0,{ end; @@ -56,10 +76,10 @@ OnTouch: percentheal -100, -100; return false; } - if (.@q == 15) { + /*if (.@q == 15) { dispbottom lg("I'm not a coward! I must press forward!"); end; - } + }*/ .@mapn$="023-3-1"; warp .@mapn$, any(45,46), 79; end; -- cgit v1.2.3-60-g2f50