#==============================================================================
# ■ Window_Base
#==============================================================================
class Window_Base < Window
def draw_actor_simple_status(actor, dx, dy)
dy -= line_height / 2
draw_actor_full_name(actor, dx, dy)
draw_actor_icons(actor, dx, dy + line_height * 3)
dw = contents.width - dx - 124
draw_actor_class(actor, dx + 290, dy, dw)
draw_actor_hp(actor, dx, dy + line_height * 1, dw + 124)
if YEA::MENU:

RAW_TP_GAUGE && actor.draw_tp? && !actor.draw_mp?
draw_actor_tp(actor, dx, dy + line_height * 2, dw + 124)
elsif YEA::MENU:

RAW_TP_GAUGE && actor.draw_tp? && actor.draw_mp?
if $imported["YEA-BattleEngine"]
draw_actor_tp(actor, dx, dy + line_height * 2, dw/2 + 1 + 124)
draw_actor_mp(actor, dx + dw/2, dy + line_height * 2, dw/2 + 124)
else
draw_actor_mp(actor, dx, dy + line_height * 2, dw/2 + 1 + 124)
draw_actor_tp(actor, dx + dw/2, dy + line_height * 2, dw/2 + 124)
end
else
draw_actor_mp(actor, dx, dy + line_height * 2, dw + 124)
end
end
def draw_actor_full_name(actor, dx, dy, dw = 292)
change_color(hp_color(actor))
draw_text(dx, dy, dw, line_height, actor.name + " " + actor.nickname)
end
def draw_actor_class(actor, x, y, width = 112)
change_color(system_color)
draw_text(x, y, width, line_height, " " + Vocab::level_a)
counter = text_size(" " + Vocab::level_a).width
change_color(normal_color)
draw_text(x + counter -3, y, 24, line_height, actor.level, 2)
change_color(normal_color)
counter = text_size(actor.class.name).width
draw_text(x - counter, y, width, line_height, actor.class.name)
end
end # Window_Base