Spoiler
#==============================================================================|# ** You need not edit this part as it's about how this snippet works |#------------------------------------------------------------------------------|#------------------------------------------------------------------------------|# * Edit class: Window_Base |#------------------------------------------------------------------------------|class Window_Base < Window #----------------------------------------------------------------------------| # Rewrite method: draw_actor_hp | #----------------------------------------------------------------------------| def draw_actor_hp(actor, x, y, width = 124) # Rewritten to fill the hp gauge from right to left draw_gauge(x + width * (1 - actor.hp_rate), y, width * actor.hp_rate, 1, 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) end # draw_actor_hp #----------------------------------------------------------------------------| # Rewrite method: draw_actor_mp | #----------------------------------------------------------------------------| def draw_actor_mp(actor, x, y, width = 124) # Rewritten to fill the mp gauge from right to left draw_gauge(x + width * (1 - actor.mp_rate), y, width * actor.mp_rate, 1, mp_gauge_color1, mp_gauge_color2) # change_color(system_color) draw_text(x, y, 30, line_height, Vocab::mp_a) draw_current_and_max_values(x, y, width, actor.mp, actor.mmp, mp_color(actor), normal_color) end # draw_actor_mp #----------------------------------------------------------------------------| # Rewrite method: draw_actor_tp | #----------------------------------------------------------------------------| def draw_actor_tp(actor, x, y, width = 124) # Rewritten to fill the tp gauge from right to left draw_gauge(x + width * (1 - actor.tp_rate), y, width * actor.tp_rate, 1, tp_gauge_color1, tp_gauge_color2) # change_color(system_color) draw_text(x, y, 30, line_height, Vocab::tp_a) change_color(tp_color(actor)) draw_text(x + width - 42, y, 42, line_height, actor.tp.to_i, 2) end # draw_actor_tpend # Window_Base#==============================================================================|