Lol, you're lucky! I've just had five minutes of time.
Put it under the Window_Base script.
#==============================================================================
# Window_Base
#==============================================================================
class Window_Base < Window
def draw_actor_hp(actor, x, y, width = 144)
self.contents.font.color = system_color
self.contents.draw_text(x, y, 32, 32, $data_system.words.hp)
if width - 32 >= 108
hp_x = x + width - 108
flag = true
elsif width - 32 >= 48
hp_x = x + width - 48
flag = false
end
self.contents.font.color = actor.hp == 0 ? knockout_color :
actor.hp <= actor.maxhp / 4 ? crisis_color : normal_color
if flag
self.contents.draw_text(hp_x, y+1, 48, 32, actor.hp.to_s, 2)
self.contents.font.color = normal_color
self.contents.draw_text(hp_x + 48, y+1, 12, 32, "/", 1)
self.contents.draw_text(hp_x + 60, y+1, 48, 32, actor.maxhp.to_s)
else
self.contents.font.size -= 4
self.contents.draw_text(hp_x - 48, y+1, 48, 32, actor.hp.to_s, 2)
self.contents.font.color = normal_color
self.contents.draw_text(hp_x + 48 - 48, y+1, 12, 32, "/", 1)
self.contents.draw_text(hp_x + 60 - 48, y+1, 48, 32, actor.maxhp.to_s)
self.contents.font.size += 4
end
end
def draw_actor_sp(actor, x, y, width = 144)
# Draw "SP" text string
self.contents.font.color = system_color
self.contents.draw_text(x, y, 32, 32, $data_system.words.sp)
if width - 32 >= 108
sp_x = x + width - 108
flag = true
elsif width - 32 >= 48
sp_x = x + width - 48
flag = false
end
self.contents.font.color = actor.sp == 0 ? knockout_color :
actor.sp <= actor.maxsp / 4 ? crisis_color : normal_color
if flag
self.contents.draw_text(sp_x, y+1, 48, 32, actor.sp.to_s, 2)
self.contents.font.color = normal_color
self.contents.draw_text(sp_x + 48, y+1, 12, 32, "/", 1)
self.contents.draw_text(sp_x + 60, y+1, 48, 32, actor.maxsp.to_s)
else
self.contents.font.size -= 4
self.contents.draw_text(sp_x - 48, y+1, 48, 32, actor.sp.to_s, 2)
self.contents.font.color = normal_color
self.contents.draw_text(sp_x + 48 - 48, y+1, 12, 32, "/", 1)
self.contents.draw_text(sp_x + 60 - 48, y+1, 48, 32, actor.maxsp.to_s)
self.contents.font.size += 4
end
end
end
You might also like this add-on in that case:
http://rmrk.net/index.php?topic=3271.0