blob: df2bed34c915b8e47f5d91806790731f1f82d338 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// TMW2 Script
// Author: Jesusalva
// Description: Save utils
function script savepointparticle {
debugmes "[ERROR] Usage of savepointparticle() is deprecated.";
return;
}
// 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;
}
|