Hey, everyone! This is kind of a minor thing, but is it possible to change the way HP, and MP, are displayed in a character's status menu? I'm using YEA's Adjust Limits script to break 9999 HP, but beyond that, the numbers get squished. This is what I mean:
I wanna make it so it's written out properly (and only shrinks when/if HP hits 100,000 and beyond). I've been looking around the Window_Base and Adjust Limits scripts and I'm getting it in my mind that I have to tamper with this bit from Window_Base:
#-------------------------------------------------------------------------- # * Draw Current Value/Maximum Value in Fractional Format # current : Current value # max : Maximum value # color1 : Color of current value # color2 : Color of maximum value #-------------------------------------------------------------------------- def draw_current_and_max_values(x, y, width, current, max, color1, color2) change_color(color1) xr = x + width if width < 96 draw_text(xr - 40, y, 42, line_height, current, 2) else draw_text(xr - 92, y, 42, line_height, current, 2) change_color(color2) draw_text(xr - 52, y, 12, line_height, "/", 2) draw_text(xr - 42, y, 42, line_height, max, 2) end end #-------------------------------------------------------------------------- # * Draw HP #-------------------------------------------------------------------------- def draw_actor_hp(actor, x, y, width = 124) draw_gauge(x, y, width, actor.hp_rate, hp_gauge_color1, hp_gauge_color2) change_color(system_color) draw_text(x, y, 30, line_height, Vocab::hp_a) draw_current_and_max_values(x, y, width, actor.hp, actor.mhp, hp_color(actor), normal_color)The reason I think this is because I took Adjust Limits and made a new project, set my Max, and Initial, Level at 160, and my HP was about 11,6xx and ended up the same way, so I don't think it's being influenced by any of my main project's scripts.
Any help is appreciated~
I wanna make it so it's written out properly (and only shrinks when/if HP hits 100,000 and beyond). I've been looking around the Window_Base and Adjust Limits scripts and I'm getting it in my mind that I have to tamper with this bit from Window_Base:
#-------------------------------------------------------------------------- # * Draw Current Value/Maximum Value in Fractional Format # current : Current value # max : Maximum value # color1 : Color of current value # color2 : Color of maximum value #-------------------------------------------------------------------------- def draw_current_and_max_values(x, y, width, current, max, color1, color2) change_color(color1) xr = x + width if width < 96 draw_text(xr - 40, y, 42, line_height, current, 2) else draw_text(xr - 92, y, 42, line_height, current, 2) change_color(color2) draw_text(xr - 52, y, 12, line_height, "/", 2) draw_text(xr - 42, y, 42, line_height, max, 2) end end #-------------------------------------------------------------------------- # * Draw HP #-------------------------------------------------------------------------- def draw_actor_hp(actor, x, y, width = 124) draw_gauge(x, y, width, actor.hp_rate, hp_gauge_color1, hp_gauge_color2) change_color(system_color) draw_text(x, y, 30, line_height, Vocab::hp_a) draw_current_and_max_values(x, y, width, actor.hp, actor.mhp, hp_color(actor), normal_color)The reason I think this is because I took Adjust Limits and made a new project, set my Max, and Initial, Level at 160, and my HP was about 11,6xx and ended up the same way, so I don't think it's being influenced by any of my main project's scripts.
Any help is appreciated~