From 211a10b9105d60e728a4fdec2e415436c662bcb9 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 31 May 2020 19:10:21 +0000 Subject: I need highlights I don't care for TXT --- npc/025-1/_import.txt | 2 +- npc/025-1/ctrl.c | 44 ++++++++++++++++++++++++++++++++++++++++++++ npc/025-1/ctrl.txt | 42 ------------------------------------------ 3 files changed, 45 insertions(+), 43 deletions(-) create mode 100644 npc/025-1/ctrl.c delete mode 100644 npc/025-1/ctrl.txt diff --git a/npc/025-1/_import.txt b/npc/025-1/_import.txt index 47899d4b6..dc7b2b6cf 100644 --- a/npc/025-1/_import.txt +++ b/npc/025-1/_import.txt @@ -1,4 +1,4 @@ // Map 025-1: Fortress Town - Holy Land // This file is generated automatically. All manually added changes will be removed when running the Converter. "npc/025-1/_mobs.txt", -"npc/025-1/ctrl.txt", +"npc/025-1/ctrl.c", diff --git a/npc/025-1/ctrl.c b/npc/025-1/ctrl.c new file mode 100644 index 000000000..d6326798f --- /dev/null +++ b/npc/025-1/ctrl.c @@ -0,0 +1,44 @@ +// TMW2 Script +// Notes: The Monster King will retake the town every +// OnTue0000 +// (Tuesday, midnight) +// Only the world hero may begin a siege. +// Only one siege per day is allowed +// Writes to MK Temp Var. This variable will unlock the castle gates +// Then the inner gates, and finally, will be a co-requisite to the floors + +// Main gate - Also where the World Hero can begin the siege +025-1,100,113,0 script #FortressTown NPC_NO_SPRITE,1,0,{ + end; + +OnTouch: + slide 100, 110; + end; + +OnInit: + end; + +OnTue0000: + end; +} + + + +// Exit - always work +025-1,99,111,0 script #FortressTownOut NPC_HIDDEN,1,0,{ + end; + +OnTouch: + slide 100, 114; + end; +} + + + + + +// FTCleanup() +function script FTCleanup { + return; +} + diff --git a/npc/025-1/ctrl.txt b/npc/025-1/ctrl.txt deleted file mode 100644 index 47df3d683..000000000 --- a/npc/025-1/ctrl.txt +++ /dev/null @@ -1,42 +0,0 @@ -// TMW2 Script -// Notes: The Monster King will retake the town every -// OnTue0000 -// (Tuesday, midnight) -// Only the world hero may begin a siege. -// Only one siege per day is allowed -// Writes to MK Temp Var. This variable will unlock the castle gates -// Then the inner gates, and finally, will be a co-requisite to the floors - -// Main gate - Also where the World Hero can begin the siege -025-1,100,113,0 script #FortressTown NPC_NO_SPRITE,1,0,{ - end; - -OnTouch: - slide 100, 110; - end; - -OnInit: - end; - -OnTue0000: - end; -} - -// Exit - always work -025-1,99,111,0 script #FortressTownOut NPC_HIDDEN,1,0,{ - end; - -OnTouch: - slide 100, 114; - end; -} - - - - - -// FTCleanup() -function script FTCleanup { - return; -} - -- cgit v1.2.3-60-g2f50