CENTER_X = (320 - 16) * 4
CENTER_Y = (240 - 16) * 4
CENTER_X = (128 - 16) * 4
CENTER_Y = (96 - 16) * 4
max_x = ($game_map.width - 20) * 128
max_y = ($game_map.height - 15) * 128
max_x = ($game_map.width - 8) * 128
max_y = ($game_map.height - 6) * 128
def scroll_right(distance)
@display_x = [@display_x + distance, (self.width - 20) * 128].min
end
def scroll_down(distance)
@display_y = [@display_y + distance, (self.height - 15) * 128].min
end
def scroll_right(distance)
@display_x = [@display_x + distance, (self.width - 8) * 128].min
end
def scroll_down(distance)
@display_y = [@display_y + distance, (self.height - 6) * 128].min
end