def col_max
if item_max % 2 == 1 ; item_max / 2 + 1
else ; item_max / 2 end
end
end
class Window_Playtime < Window_Base
def initialize(x, y, width)
super(x, y, width, fitting_height(1))
update
end
def update
super
contents.clear
draw_text(contents.rect, $game_system.playtime_s, 1)
end
end
class Scene_Menu < Scene_MenuBase
alias :hawkeye_start :start
def start
hawkeye_start
x = @gold_window.width
y = @status_window.height
w = Graphics.width - @gold_window.width
@playtime = Window_Playtime.new(x, y, w)
end