class Interpreter
def command_209
# 获取角色
character = get_character(@parameters[0])
# 角色不存在的情况下
if character == nil
# 继续
return true
end
# 强制移动路线
if @parameters[0] == 1
for i in 1..$game_map.events.size
character = get_character(i)
character.force_move_route(@parameters[1]) if $game_map.events[i].x <= 20
end
else
character.force_move_route(@parameters[1])
end
# 继续
return true
end
end
class Interpreter
def command_209
# 获取角色
character = get_character(@parameters[0])
# 角色不存在的情况下
if character == nil
# 继续
return true
end
# 强制移动路线
if @parameters[0] == 1
for i in 1..$game_map.events.size
character = get_character(i)
character.force_move_route(@parameters[1]) if $game_map.events[i].x <= 20
end
else
character.force_move_route(@parameters[1])
end
# 继续
return true
end
end