diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-07-07 20:36:00 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-07-07 20:36:00 -0300 |
commit | 6967b9e0b63d19141d4f59b7933a960ac81916d0 (patch) | |
tree | 8ecd9cd2461f3598cb7faece71eb77162aa4ef2a /npc/000-1/exit.txt | |
parent | 9877fd4ad81120af8e63e96d5d429092014dc017 (diff) | |
parent | 046c659193e1ca8bd13478678d1277df8bf9395c (diff) | |
download | serverdata-6967b9e0b63d19141d4f59b7933a960ac81916d0.tar.gz serverdata-6967b9e0b63d19141d4f59b7933a960ac81916d0.tar.bz2 serverdata-6967b9e0b63d19141d4f59b7933a960ac81916d0.tar.xz serverdata-6967b9e0b63d19141d4f59b7933a960ac81916d0.zip |
Merge branch 'master' into legacy
Override all files with 'master' version.
This version is meant to preserve git history as requested by bjorn.
Diffstat (limited to 'npc/000-1/exit.txt')
-rw-r--r-- | npc/000-1/exit.txt | 22 |
1 files changed, 22 insertions, 0 deletions
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; +} + |