diff options
Diffstat (limited to 'npc/000-1')
-rw-r--r-- | npc/000-1/_import.txt | 3 | ||||
-rw-r--r-- | npc/000-1/exit.txt | 22 |
2 files changed, 25 insertions, 0 deletions
diff --git a/npc/000-1/_import.txt b/npc/000-1/_import.txt new file mode 100644 index 00000000..ec2c18b7 --- /dev/null +++ b/npc/000-1/_import.txt @@ -0,0 +1,3 @@ +// Map 000-1: Jesusalva's Trap +// This file is generated automatically. All manually added changes will be removed when running the Converter. +"npc/000-1/exit.txt", diff --git a/npc/000-1/exit.txt b/npc/000-1/exit.txt new file mode 100644 index 00000000..d4a6821a --- /dev/null +++ b/npc/000-1/exit.txt @@ -0,0 +1,22 @@ +// TMW2 scripts. +// Author: +// Jesusalva +// Description: +// Special Soul Menhir which only allows leaving the map. + +000-1,22,22,0 script Emergency Exit NPC_NO_SPRITE,2,2,{ +OnTouch: +OnTalk: +OnTalkNearby: + if (LOCATION$ != "") goto L_ToLoc; + if (Sex) + warp "029-2", 25, 24; + else + warp "029-2", 22, 24; + end; +L_ToLoc: + // Possibly could warp to "Save" as well? + ReturnTown(); + end; +} + |