summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/025-4/main.txt10
1 files changed, 4 insertions, 6 deletions
diff --git a/npc/025-4/main.txt b/npc/025-4/main.txt
index 68668ab0e..32a08b76f 100644
--- a/npc/025-4/main.txt
+++ b/npc/025-4/main.txt
@@ -298,17 +298,15 @@ OnKill:
end;
OnTouch:
- .@q=getq(General_Narrator);
+ .@q1=getq(General_Narrator);
.@q2=getq2(General_Narrator);
- .@q3=getq3(General_Narrator);
- if (.@q > 22) end;
- // Cheater Detected
- if (.@q < 22 || !(.@q2 & FRAG_EXPLOREDCAMP)) {
+ if (.@q1 < 22 || !(.@q2 & FRAG_EXPLOREDCAMP)) {
warp "Save", 0, 0;
die();
end;
}
- if (!(.@q2 & FRAG_LADDER) && .@q < 23) {
+
+ if (.@q1 < 23 && !(.@q2 & FRAG_LADDER)) {
slide 25, 57;
dispbottom l("The stair is broken; we cannot go up.");
end;