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.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/npc/026-3/ctrl.c b/npc/026-3/ctrl.c
index fd8c52138..820c50bb9 100644
--- a/npc/026-3/ctrl.c
+++ b/npc/026-3/ctrl.c
@@ -4,7 +4,7 @@
// Description:
// The Impregnable Fortress Control Files
// Quest: General_Fortress
-// (MaxFloor+1, internal, internal)
+// (MaxFloor+2, internal, internal)
// 0263Event(switchID)
function script 0263Event {
@@ -19,7 +19,7 @@ function script 0263Event {
// And if all switches are flipped...!
if (getq2(General_Fortress) == 15) {
setq General_Fortress, 5, 0, 0;
- specialeffect(FX_CIRCLE, SELF, getcharid(3));
+ specialeffect(FX_MGWARP, SELF, getcharid(3));
}
return;
}
@@ -30,13 +30,13 @@ function script 0263Event {
OnTouch:
dispbottom l("From this point forward, you'll no longer be able to return to the previous floor.");
- if (getq(General_Fortress) > 5) goto L_Warp;
+ if (getq(General_Fortress) > 4) goto L_Warp;
mesc l(".:: Impregnable Fortress, %sF ::.", "B3"), 3;
msObjective(getq(General_Fortress) == 5, l("* Flip all four switches"));
- msObjective($MK_TEMPVAR < MKIF_LV_B3F, l("Minimum wins: %d/%d", $MK_TEMPVAR, MKIF_LV_B4F));
+ msObjective($MK_TEMPVAR >= MKIF_LV_B3F, l("Minimum wins: %d/%d", $MK_TEMPVAR, MKIF_LV_B4F));
mes "";
mesc l("Hint: You cannot unflip a switch, but they unflip every 12 hours.");
- end;
+ close;
L_Warp:
// Not unlocked
@@ -60,3 +60,7 @@ OnClock1700:
end;
}
+
+// TODO: Miller system (otherwise, you can't reach the switches & platforms)
+
+