module REPLACE ALL = false # Set to true to replace all the faces in the game INMENU = true # Set to true to replace the face in the menu X_OFFSET = 12 Y_OFFSET = 12endclass Window_Base < Window def draw_actor_face(actor, x, y, enabled = true) if REPLACE::ALL == true draw_animated_actor(actor, x + 12, y + 12, 'left', enabled) else draw_face(actor.face_name, actor.face_index, x, y, enabled) end endenddef draw_item(index) actor = $game_party.members[index] enabled = $game_party.battle_members.include?(actor) rect = item_rect(index) draw_item_background(index) if REPLACE::INMENU == true draw_animated_actor(actor, rect.x + 12, rect.y + 12, 'left', enabled) else draw_actor_face(actor, rect.x + 1, rect.y + 1, enabled) end draw_actor_simple_status(actor, rect.x + 108, rect.y + line_height / 2) endclass Window_MenuStatus < Window_Selectable def draw_item(index) # // Method to draw item. actor = $game_party.members[index] rect = item_rect(index) # // Face if REPLACE::INMENU == true draw_animated_actor(actor, rect.x + REPLACE::X_OFFSET, rect.y + REPLACE::Y_OFFSET) #end else draw_actor_face(actor, rect.x + 1, rect.y + 1, true) end # // Name draw_font_text(actor.name, rect.x + 4, rect.y, rect.width, 0, XAIL::MENU_DELUX::FONT[0], 20, XAIL::MENU_DELUX::FONT[2]) # // Level lvl = "#{Vocab::level_a}: #{actor.level}" draw_font_text(lvl, rect.x + 4, rect.y + 64, rect.width, 0, XAIL::MENU_DELUX::FONT[0], 18, XAIL::MENU_DELUX::FONT[2]) # // Class draw_font_text(actor.class.name, rect.x - 4, rect.y + 76, rect.width, 2, XAIL::MENU_DELUX::FONT[0], 18, XAIL::MENU_DELUX::FONT[2]) # // Stats draw_menu_stats(actor, :hp, rect.x, rect.y + 90, XAIL::MENU_DELUX::BAR_HP[0], XAIL::MENU_DELUX::BAR_HP[1], rect.width - 2) draw_menu_stats(actor, :mp, rect.x, rect.y + 100, XAIL::MENU_DELUX::BAR_MP[0], XAIL::MENU_DELUX::BAR_MP[1], rect.width - 2) draw_menu_stats(actor, :tp, rect.x, rect.y + 110, XAIL::MENU_DELUX::BAR_TP[0], XAIL::MENU_DELUX::BAR_TP[1], rect.width - 2) end end