summaryrefslogtreecommitdiff
path: root/npc/026-3/ctrl.c
diff options
context:
space:
mode:
Diffstat (limited to 'npc/026-3/ctrl.c')
-rw-r--r--npc/026-3/ctrl.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/npc/026-3/ctrl.c b/npc/026-3/ctrl.c
index 059b903b6..c2fd79423 100644
--- a/npc/026-3/ctrl.c
+++ b/npc/026-3/ctrl.c
@@ -39,13 +39,6 @@ OnTouch:
close;
L_Warp:
- // Not unlocked
- if ($GAME_STORYLINE >= 3 && $MK_TEMPVAR < MKIF_LV_B4F) {
- mesc l("The gate is sealed shut."), 1;
- mesc l("The monster army is still strong on this floor!"), 1;
- mesc l("Minimum wins: %d/%d", $MK_TEMPVAR, MKIF_LV_B4F), 1;
- close;
- }
// This is a more complex warp
.@e = 0;
do {
@@ -54,7 +47,7 @@ L_Warp:
.@y = rand2(20, 40);
.@e+=1;
} while (!checknpccell("026-4", .@x, .@y, cell_chkpass));
- warp "026-4", .@x, .@y;
+ fortwarp(MKIF_LV_B4F, "026-4", .@x, .@y);
end;
// Reset the switches