def transfer(map_id,x,y,d)
$game_temp.player_transferring = true
# If appointment method is [direct appointment]
# Set player move destination
$game_temp.player_new_map_id = map_id
$game_temp.player_new_x = x
$game_temp.player_new_y = y
$game_temp.player_new_direction = d
end