TP Gauge - Remove 'TP' value from battle screen

Hello!


So as many others are, I am creating a TP limit break system but I can't get rid of the value that shows on the TP gauge.


I want to keep the gauge BUT i don't want to show the value next to it. I have tried going into the rpg_window.js file but to no avail!


If anyone can please tell me how to get rid of that scurvy number on my TP gauge, please do get intouch below!


Thank you!

printscreen.jpg
On rpg_windows.js look for this section around line 573:
 


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.drawText(actor.tp, x + width - 64, y, 64, 'right');
};


And try to comment out the drawText parts.
Thank you Oktchau!


So this works BUT I obviously have another plugin that isn't letting this work.


I found that the Yanfly Core Plugin has the same coding which replicates the TP hence it still showing!


The only thing I need to do now is hide the TP cost when the limit break is present...


Any ideas?!


Thanks so much!
Do not fear! I have done it!


So I changed the TP cost to = 0 and then just created a common event to run after the skill is used to remove the TP!


Thanks very much!

printscreen.jpg

Original thread: https://forums.rpgmakerweb.com/threads/tp-gauge-remove-tp-value-from-battle-screen.63126/