var M5Script = window.M5Script || { alias : {}, imported : {} }
M5Script.imported["m5_20151016_fr"] = 20151016
M5Script.alias["m5_20151016_fr"] = {
method1 : Game_Character.prototype.searchLimit
}
M5Script.m5_20151016_fr = {
get_character : function (param){
if ( isNaN(param) ) return param
if (param == -1) return $gamePlayer
return $gameMap.event(param)
},
move_to : function (character,x,y){
var character = this.get_character(character)
direction = character.findDirectionTo(x, y)
if (direction > 0) character.moveStraight(direction)
}
}
var M5Script = window.M5Script || { alias : {}, imported : {} }
M5Script.imported["m5_20151016_fr"] = 20151016
M5Script.alias["m5_20151016_fr"] = {
method1 : Game_Character.prototype.searchLimit
}
M5Script.m5_20151016_fr = {
get_character : function (param){
if ( isNaN(param) ) return param
if (param == -1) return $gamePlayer
return $gameMap.event(param)
},
move_to : function (character,x,y){
var character = this.get_character(character)
direction = character.findDirectionTo(x, y)
if (direction > 0) character.moveStraight(direction)
}
}