MV Show current and max TP?

I was wondering if there was a way to show current and max TP on the main menu, just like HP or MP. So, for example: 10/100, 50/100, 100/100 TP like the other two resources. I tried messing around with rpg_windows, but nothing I did seemed to work.
Is there a way to show max TP? Or, in case it isn't possibile, is there a way to hide max HP and MP and have them look like TP?
Generally you should not edit the core script files: that's what plugins are for.

I don't know of an existing plugin for this off the top of my head, but this may work (untested):
Spoiler: plugin code
JavaScript:
/*:
 * @target MV
 * @plugindesc Show current/max for actor TP.
 * @author Caethyril
 * @url https://forums.rpgmakerweb.com/threads/158423/
 * @help Free to use and/or modify for any project, no credit required.
 */
// Override! Swap drawText for drawCurrentAndMax.
Window_Base.prototype.drawActorTp = function(actor, x, y, width) {
    width = width || 96;
    var color1 = this.tpGaugeColor1();
    var color2 = this.tpGaugeColor2();
    this.drawGauge(x, y, width, actor.tpRate(), color1, color2);
    this.changeTextColor(this.systemColor());
    this.drawText(TextManager.tpA, x, y, 44);
    this.changeTextColor(this.tpColor(actor));
    this.drawCurrentAndMax(actor.tp, actor.maxTp(), x, y, width,
                           this.tpColor(actor), this.normalColor());
};
It works perfectly, thank you very much :hwink:

Original thread: https://forums.rpgmakerweb.com/threads/show-current-and-max-tp.158423/