From 3b2bb2b88cf428e3167067200f9918ded1d77ca8 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 28 Jul 2020 22:04:43 -0300 Subject: teleporthome() function where it is useful --- npc/000-1/exit.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/000-1') diff --git a/npc/000-1/exit.txt b/npc/000-1/exit.txt index e1a73bf9f..565e1cf38 100644 --- a/npc/000-1/exit.txt +++ b/npc/000-1/exit.txt @@ -22,7 +22,7 @@ OnTalkNearby: } //if (getsavepoint(0) != "000-1") warp getsavepoint(0), getsavepoint(1), getsavepoint(2); - if (getsavepoint(0) != "000-1") warp "Save", 0, 0; + if (getsavepoint(0) != "000-1") teleporthome(); if (getsavepoint(0) != "000-1") end; //savepoint "002-1", 53, 38; warp "002-1", 53, 38; -- cgit v1.2.3-60-g2f50