Scene_Teleport.prototype.Teleport = function() {
SceneManager.goto(Scene_Map);
$gamePlayer.reservetransfer(1, 8, 9);
};
As it stands here it works but when i replace the numbers with there parameter versions
where '1' is replaced with Map1 it still works. However when replace 8 or 9 gamefreeze...
Scene_Teleport.prototype.Teleport = function() {
SceneManager.goto(Scene_Map);
$gamePlayer.reservetransfer(Map1, CoordsX1, CoordsY1);
};
the mapId seems to work but x and y just dont. have no idea why.
SceneManager.goto(Scene_Map);
$gamePlayer.reservetransfer(1, 8, 9);
};
As it stands here it works but when i replace the numbers with there parameter versions
where '1' is replaced with Map1 it still works. However when replace 8 or 9 gamefreeze...
Scene_Teleport.prototype.Teleport = function() {
SceneManager.goto(Scene_Map);
$gamePlayer.reservetransfer(Map1, CoordsX1, CoordsY1);
};
the mapId seems to work but x and y just dont. have no idea why.