rendered paste bodyclass Window_CharacterStatus < Window_Selectable
#--------------------------------------------------------------------------
# * Object Initialization
#--------------------------------------------------------------------------
def initialize
super(0, 0, 480, 200)
self.contents = Bitmap.new(width - 32, height - 32)
refresh
self.active = false
self.index = -1
end
#--------------------------------------------------------------------------
# * Refresh
#--------------------------------------------------------------------------
def refresh
self.contents.clear
@item_max = $game_party.actors.size
for i in 0...$game_party.actors.size
x = 94
y = i * 110
actor = $game_party.actors[i]
#draw_actor_face(actor, 150, 0) #To get rid of the Face, put a "#" before the draw_ of this line
draw_actor_graphic(actor, 48, y + 65) #and delete the "#" infront of draw of this line
draw_actor_name(actor, 70, 20)
draw_actor_class(actor, 70, 50)
draw_actor_level(actor, 70, 60)
draw_actor_state(actor, 70, 100)
draw_actor_exp(actor, 70, 140)
draw_actor_hp(actor, 0, 150)
draw_actor_barz(actor, 150, 160, "horizontal", 100, 7, actor.hp, actor.maxhp)
draw_actor_sp(actor, 0, 180)
draw_actor_barz(actor, 150, 190, "horizontal", 100, 7, actor.sp, actor.maxsp)
end
end
#--------------------------------------------------------------------------
# * Cursor Rectangle Update
#--------------------------------------------------------------------------
def update_cursor_rect
if @index < 0
self.cursor_rect.empty
else
self.cursor_rect.set(0, @index * 116, self.width - 32, 96)
end
end
end