map_height = len(map_lines)
if map_height > view_height and center_y > view_height / 2:
if center_y > map_height - view_height / 2:
map_height = len(map_lines)
if map_height > view_height and center_y > view_height / 2:
if center_y > map_height - view_height / 2: