class Window_Base < Window
def draw_actor_class(actor, x, y, width = 112)
change_color(normal_color)
draw_text(x, y, width, line_height, actor.class.name)
if $game_switches[1]
contents.clear
draw_text(x, y, width, line_height, "111")
end
if $game_switches[2]
contents.clear
draw_text(x, y, width, line_height, "222")
end
if $game_switches[3]
contents.clear
draw_text(x, y, width, line_height, "333")
end
end
def draw_actor_simple_status(actor, x, y)
draw_actor_class(actor, x + 120, y)
draw_actor_name(actor, x, y)
draw_actor_level(actor, x, y + line_height * 1)
draw_actor_icons(actor, x, y + line_height * 2)
draw_actor_hp(actor, x + 120, y + line_height * 1)
draw_actor_mp(actor, x + 120, y + line_height * 2)
end
end
class Window_MenuStatus < Window_Selectable
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_simple_status(actor, rect.x + 108, rect.y + line_height / 2)
draw_actor_face(actor, rect.x + 1, rect.y + 1, enabled)
end
end
class Window_Base < Window
def draw_actor_class(actor, x, y, width = 112)
change_color(normal_color)
draw_text(x, y, width, line_height, actor.class.name)
if $game_switches[1]
contents.clear
draw_text(x, y, width, line_height, "111")
end
if $game_switches[2]
contents.clear
draw_text(x, y, width, line_height, "222")
end
if $game_switches[3]
contents.clear
draw_text(x, y, width, line_height, "333")
end
end
def draw_actor_simple_status(actor, x, y)
draw_actor_class(actor, x + 120, y)
draw_actor_name(actor, x, y)
draw_actor_level(actor, x, y + line_height * 1)
draw_actor_icons(actor, x, y + line_height * 2)
draw_actor_hp(actor, x + 120, y + line_height * 1)
draw_actor_mp(actor, x + 120, y + line_height * 2)
end
end
class Window_MenuStatus < Window_Selectable
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_simple_status(actor, rect.x + 108, rect.y + line_height / 2)
draw_actor_face(actor, rect.x + 1, rect.y + 1, enabled)
end
end