AAAprentice
Member
[No message]
#==============================================================================
# ** Window_BattleStatus Edit by Raziel
#------------------------------------------------------------------------------
# This window displays the status of all party members on the battle screen.
#==============================================================================
class Window_BattleStatus < Window_Base
#--------------------------------------------------------------------------
# * Refresh
#--------------------------------------------------------------------------
def refresh
self.contents.clear
@item_max = $game_party.actors.size
for i in 0...$game_party.actors.size
actor = $game_party.actors[i]
actor_x = i * 160 + 4
draw_actor_name(actor, actor_x, 0)
self.contents.draw_text(actor_x, 32, 150, 32, "#{$data_system.words.hp} #{actor.hp}/#{actor.maxhp}")
self.contents.draw_text(actor_x, 64, 150, 32, "#{$data_system.words.sp} #{actor.sp}/#{actor.maxsp}")
if @level_up_flags[i]
self.contents.font.color = normal_color
self.contents.draw_text(actor_x, 96, 120, 32, "LEVEL UP!")
else
draw_actor_state(actor, actor_x, 96)
end
end
end
end