if !method_defined?(:create_battleback1_vga)
alias create_battleback1_vga create_battleback1
alias create_battleback2_vga create_battleback2
alias create_enemies_vga create_enemies
end
class Window_Base < Window
if !method_defined?(:draw_actor_name_vga)
alias draw_actor_name_vga draw_actor_name
alias draw_actor_class_vga draw_actor_class
alias draw_actor_hp_vga draw_actor_hp
alias draw_actor_mp_vga draw_actor_mp
alias draw_actor_tp_vga draw_actor_tp
alias draw_item_name_vga draw_item_name
end
#--------------------------------------------------------------------------
# ● 名前の描画
#--------------------------------------------------------------------------
def draw_actor_name(actor, x, y, width = 144)
draw_actor_name_vga(actor, x, y, width)
end
#--------------------------------------------------------------------------
# ● 職業の描画
#--------------------------------------------------------------------------
def draw_actor_class(actor, x, y, width = 144)
draw_actor_class_vga(actor, x, y, width)
end
#--------------------------------------------------------------------------
# ● HP の描画
#--------------------------------------------------------------------------
def draw_actor_hp(actor, x, y, width = 188)
draw_actor_hp_vga(actor, x, y, width)
end
#--------------------------------------------------------------------------
# ● MP の描画
#--------------------------------------------------------------------------
def draw_actor_mp(actor, x, y, width = 188)
draw_actor_mp_vga(actor, x, y, width)
end
#--------------------------------------------------------------------------
# ● TP の描画
#--------------------------------------------------------------------------
def draw_actor_tp(actor, x, y, width = 188)
draw_actor_tp_vga(actor, x, y, width)
end
#--------------------------------------------------------------------------
# ● シンプルなステータスの描画
#--------------------------------------------------------------------------
def draw_actor_simple_status(actor, x, 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_class(actor, x + 152, y)
draw_actor_hp(actor, x + 152, y + line_height * 1)
draw_actor_mp(actor, x + 152, y + line_height * 2)
end
#--------------------------------------------------------------------------
# ● 能力値の描画
#--------------------------------------------------------------------------
def draw_actor_param(actor, x, y, param_id)
change_color(system_color)
draw_text(x, y, 152, line_height, Vocab::param(param_id))
change_color(normal_color)
draw_text(x + 152, y, 36, line_height, actor.param(param_id), 2)
end
#--------------------------------------------------------------------------
# ● アイテム名の描画
# enabled : 有効フラグ。false のとき半透明で描画
#--------------------------------------------------------------------------
def draw_item_name(item, x, y, enabled = true, width = 236)
draw_item_name_vga(item, x, y, enabled, width)
end