class Window_MapStatus < Window_Base
def initialize
super(0, 0, Graphics.width/2, fitting_height(9))
refresh
end
def refresh
contents.clear
$game_party.members.each_with_index do |actor,i|
draw_actor_simple_status(actor,x,fitting_height(2)*i)
end
end
end
class Scene_Map < Scene_Base
alias hawkeye_start start
def start
hawkeye_start
@status_window = Window_MapStatus.new
end
alias hawkeye_update update
def update
hawkeye_update
@status_window.close if Input.press?(:L)
@status_window.open if Input.press?(:R)
end
end
class Window_MapStatus < Window_Base
def initialize
super(0, 0, Graphics.width/2, fitting_height(9))
refresh
end
def refresh
contents.clear
$game_party.members.each_with_index do |actor,i|
draw_actor_simple_status(actor,x,fitting_height(2)*i)
end
end
end
class Scene_Map < Scene_Base
alias hawkeye_start start
def start
hawkeye_start
@status_window = Window_MapStatus.new
end
alias hawkeye_update update
def update
hawkeye_update
@status_window.close if Input.press?(:L)
@status_window.open if Input.press?(:R)
end
end