blob: 7674760306be5d5d9706464202ee2e4a71d91596 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// 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;
}
|