var _DJGame_Temp_setDestination = Game_Temp.prototype.setDestination;
Game_Temp.prototype.setDestination = function(x, y) {
if ($dataMap.meta.禁止点地移动) {
var id = Number($dataMap.meta.禁止点地移动);
if ($gameMap.regionId(x, y) == id) return;
}
return _DJGame_Temp_setDestination.call(this,x,y);
};
var _DJGame_Temp_setDestination = Game_Temp.prototype.setDestination;
Game_Temp.prototype.setDestination = function(x, y) {
if ($dataMap.meta.禁止点地移动) {
var id = Number($dataMap.meta.禁止点地移动);
if ($gameMap.regionId(x, y) == id) return;
}
return _DJGame_Temp_setDestination.call(this,x,y);
};