JP total

I'm using the Yanfly learn skill engine, Yanfly class engine, and Yanfly JP manager. I was wondering how to show the amount of JP a class has because it's pretty annoying for the player to not now how much JP they have.
Use these two snipplets. (Or combine them into a single script section)

The JP Manager script already supplies the method for drawing JP, but doesn't implement it anywhere, so I did it myself.

Code:
class Window_Base < Window  #--------------------------------------------------------------------------  # alias method: draw_actor_simple_status  #--------------------------------------------------------------------------  alias game_window_draw_actor_simple_status_jp draw_actor_simple_status  def draw_actor_simple_status(actor, dx, dy)    dy -= line_height / 2 if !$imported["YEA-AceMenuEngine"]    game_window_draw_actor_simple_status_jp(actor, dx, dy)    draw_actor_jp(actor, dx, dy + 36, dw = 112)  endend
Code:
class Window_Status < Window_Selectable  #--------------------------------------------------------------------------  # alias method: draw_basic_info  #--------------------------------------------------------------------------  alias game_window_draw_basic_info_jp draw_basic_info  def draw_basic_info(x, y)    game_window_draw_basic_info_jp(x, y)    draw_actor_jp_class(@actor, @class_id, x, y + 24)  endend
Thanks.

Original thread: https://forums.rpgmakerweb.com/threads/jp-total.19383/