diff options
Diffstat (limited to 'npc/025-1/ctrl.c')
-rw-r--r-- | npc/025-1/ctrl.c | 44 |
1 files changed, 44 insertions, 0 deletions
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; +} + |