Confere se isto resolve teu problema:
class Scene_Item < Scene_ItemBase
def start
super
create_help_window
create_item_window
end
def create_item_window
wh = Graphics.height - @help_window.height
@item_window = Window_ItemList.new(0, @help_window.height, Graphics.width, wh)
@item_window.viewport = @viewport
@item_window.help_window = @help_window
@item_window.set_handler(:ok, method(:on_item_ok))
@item_window.set_handler(:cancel, method(:return_scene))
@item_window.category = :item
@item_window.select(0)
@item_window.activate
end
end
class Window_MenuStatus < Window_Selectable
def window_width
160
end
def window_height
98 + line_height * 2 + standard_padding * 2
end
def draw_item(index)
actor = $game_party.members[index]
enabled = $game_party.battle_members.include?(actor)
rect = item_rect(index)
draw_item_background(index)
draw_actor_face(actor, rect.x + 1, rect.y + 1, enabled)
draw_actor_name(actor, rect.x + 1, 97)
draw_actor_level(actor, rect.x + 1, 97 + line_height)
end
def item_height
(height - standard_padding * 2) / $game_party.members.size
end
end
class Scene_Menu < Scene_MenuBase
alias start_aliased01 start
def start
start_aliased01
x = (Graphics.width - @command_window.width - @status_window.width) / 2
y = (Graphics.height - @command_window.height - @gold_window.height) / 2
@command_window.x = @gold_window.x = x
@status_window.x = x + @command_window.width
@command_window.y = @status_window.y = y
@gold_window.y = y + @command_window.height
end
end