diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-07-28 21:57:50 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-07-28 21:57:50 -0300 |
commit | 3c221076267ae3b6a8559bfa2047793e73a17e09 (patch) | |
tree | d7e454f268c1cf83ab2dd290bba61ae2545b26c2 /npc/functions/savepoint.txt | |
parent | 6983ef990dad2faad1b0c65dc2ce4e3ca0eaee6f (diff) | |
download | serverdata-3c221076267ae3b6a8559bfa2047793e73a17e09.tar.gz serverdata-3c221076267ae3b6a8559bfa2047793e73a17e09.tar.bz2 serverdata-3c221076267ae3b6a8559bfa2047793e73a17e09.tar.xz serverdata-3c221076267ae3b6a8559bfa2047793e73a17e09.zip |
Move teleporthome() to utils
Diffstat (limited to 'npc/functions/savepoint.txt')
-rw-r--r-- | npc/functions/savepoint.txt | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/npc/functions/savepoint.txt b/npc/functions/savepoint.txt deleted file mode 100644 index 767476030..000000000 --- a/npc/functions/savepoint.txt +++ /dev/null @@ -1,16 +0,0 @@ -// TMW2 Script -// Author: Jesusalva -// Description: Save utils - -// TODO: Implement elsewhere -// Warps home and updates LOCATION$ -function script teleporthome { - warp "Save", 0, 0; - .@i=array_find($@LOCMASTER_MAP$, getmap()); - if (.@i >= 0) - EnterTown($@LOCMASTER_LOC$[.@i]); - else - debugmes("[ERROR] Invalid Town Map for Time Flask: %s", getmap()); - return; -} - |