#-----------------------------------------------------------------------
# MAP LOADING

script, load map, n, begin
  teleport to map(n, 0, 0)
  variable(wl)
  wl := lookup slice(sl:walkabout layer)
  if(not(active)) then(active := create container(0,0))
  set parent(active, wl)
  fill parent(active, true)
end