summaryrefslogtreecommitdiff
path: root/npc/026-6
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2023-10-13 17:38:07 -0300
committerJesusaves <cpntb1@ymail.com>2023-10-13 17:38:07 -0300
commit891bcdfa72b4093bfdb241b5a1a11ec7838b3d51 (patch)
treed6dcfd782bba8824b317eb9a2e92f8b5d8cabd0c /npc/026-6
parentbc7dfe9175842ddcdba8d7372341ba625ffa4036 (diff)
downloadserverdata-891bcdfa72b4093bfdb241b5a1a11ec7838b3d51.tar.gz
serverdata-891bcdfa72b4093bfdb241b5a1a11ec7838b3d51.tar.bz2
serverdata-891bcdfa72b4093bfdb241b5a1a11ec7838b3d51.tar.xz
serverdata-891bcdfa72b4093bfdb241b5a1a11ec7838b3d51.zip
At Monster King defeat, mana stone no longer kills
Diffstat (limited to 'npc/026-6')
-rw-r--r--npc/026-6/_import.txt1
-rw-r--r--npc/026-6/ctrl.c40
2 files changed, 41 insertions, 0 deletions
diff --git a/npc/026-6/_import.txt b/npc/026-6/_import.txt
index 6ac4f71ef..6f0d3f607 100644
--- a/npc/026-6/_import.txt
+++ b/npc/026-6/_import.txt
@@ -2,3 +2,4 @@
// This file is generated automatically. All manually added changes will be removed when running the Converter.
"npc/026-6/_mobs.txt",
"npc/026-6/_warps.txt",
+"npc/026-6/ctrl.c",
diff --git a/npc/026-6/ctrl.c b/npc/026-6/ctrl.c
new file mode 100644
index 000000000..f443e331a
--- /dev/null
+++ b/npc/026-6/ctrl.c
@@ -0,0 +1,40 @@
+// TMW2 scripts.
+// Author:
+// Jesusalva
+// Description:
+// The Impregnable Fortress Control Files
+// Quest: General_Fortress
+// (MaxFloor+2, internal, internal)
+
+// The antechamber has some traps you should avoid, but beyond the Blood Pact map
+// effect, it only has some support NPCs (banker and healer) if you completed the
+// Moubootaur Showdown earlier.
+
+// TODO: Validate the use of MKIF_LV_BXF
+// TODO: The main NPC which lets you out of here
+// TODO: The traps
+// TODO: The boss chamber (also, are mapflags working? This should be a Blood Pact)
+026-6,21,70,0, script #026-6Gate NPC_FANCY_CIRCLE,1,0,{
+ if (getq(General_Fortress) < 6) { die(); end; }
+ mesc l(".:: Impregnable Fortress, %sF ::.", "B6"), 3;
+ msObjective($MK_TEMPVAR >= MKIF_LV_B7F, l("Minimum wins: %d/%d", $MK_TEMPVAR, MKIF_LV_B7F));
+ mes "";
+ mesc l("Hint: The Boss Chamber lies herein ahead.");
+ close;
+
+L_Warp:
+ // Not unlocked
+ if ($GAME_STORYLINE >= 3 && $MK_TEMPVAR < MKIF_LV_B7F) {
+ 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_B7F), 1;
+ close;
+ }
+ //warp "026-7", X, Y; // Or maybe just a slide
+ end;
+
+OnInit:
+ .distance=3;
+ end;
+}
+