From bd60fb1d2ad465b21b26861609ba55c3b62302e1 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 23 Feb 2021 20:51:17 -0300 Subject: I'll think in something --- npc/026-0/ctrl.c | 2 +- npc/026-1/_import.txt | 1 + npc/026-1/ctrl.c | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 npc/026-1/ctrl.c diff --git a/npc/026-0/ctrl.c b/npc/026-0/ctrl.c index 633f2423c..bc12a502b 100644 --- a/npc/026-0/ctrl.c +++ b/npc/026-0/ctrl.c @@ -26,7 +26,7 @@ L_Warp: mesc l("Minimum wins: %d/%d", $MK_TEMPVAR, MKIF_LV_B1F), 1; close; } - //warp "026-1", 32, 97; + warp "026-1", 32, 97; dispbottom l("Coming Soon, in Moubootaur Legends!"); end; diff --git a/npc/026-1/_import.txt b/npc/026-1/_import.txt index c27654e25..62a2c2751 100644 --- a/npc/026-1/_import.txt +++ b/npc/026-1/_import.txt @@ -2,3 +2,4 @@ // This file is generated automatically. All manually added changes will be removed when running the Converter. "npc/026-1/_config.txt", "npc/026-1/_warps.txt", +"npc/026-1/ctrl.c", diff --git a/npc/026-1/ctrl.c b/npc/026-1/ctrl.c new file mode 100644 index 000000000..d10534859 --- /dev/null +++ b/npc/026-1/ctrl.c @@ -0,0 +1,34 @@ +// TMW2 scripts. +// Author: +// Jesusalva +// Description: +// The Impregnable Fortress Control Files +// Quest: General_Fortress +// (MaxFloor+1, internal, internal) + +026-1,60,26,0 script Impregnable#B0F NPC_HIDDEN,0,0,{ + end; + +OnTouch: + if (getq(General_Fortress) > 1) goto L_Warp; + mesc l(".:: Impregnable Fortress, %sF ::.", "B1"), 3; + msObjective(getq(General_Fortress) == 2, l("* TODO")); + msObjective($MK_TEMPVAR < MKIF_LV_B0F, l("Minimum wins: %d/%d", $MK_TEMPVAR, MKIF_LV_B2F)); + mes ""; + mesc l("Hint: TODO."); + end; + +L_Warp: + // Not unlocked + if ($GAME_STORYLINE >= 3 && $MK_TEMPVAR < MKIF_LV_B2F) { + 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_B2F), 1; + close; + } + //warp "026-2", X, Y; + dispbottom l("Coming Soon, in Moubootaur Legends!"); + end; + +} + -- cgit v1.2.3-60-g2f50