Changing layout of Yanfly's Battle Status Window + changing TP bar

I'm looking to change the layout a bit of Yanfly's Battle Status Window plugin, but am at a loss how to correctly configure it. I want to remove the action icon, and, instead of putting the MP and TP bars next to each other below the HP bar, I want to make each of them the same length as the HP bar and stack all 3 on top of each other, and I want the gauge for TP removed, showing only the number. I had achieved this with my previous project in VX Ace using Yanfly's Ace Battle Engine script. Like this:

Spoiler
6IARyBN.png



I've removed the action icon from Yanfly's Battle Status Window successfully enough, but stacking the resource bars and removing the gauge for TP like in the image above is proving more difficult for me. I believe I've found a couple of snippets from the plugin that handle it:

Spoiler
Window_BattleStatus.prototype.drawGaugeArea = function(rect, actor) {
this.contents.fontSize = Yanfly.Param.BSWParamFontSize;
this._enableYBuffer = true;
var wy = rect.y + rect.height - this.lineHeight();
var wymod = (Imported.YEP_CoreEngine) ? Yanfly.Param.GaugeHeight : 6;
var wymod = Math.max(16, wymod);
this.drawActorHp(actor, rect.x, wy - wymod, rect.width);
if (this.getGaugesDrawn(actor) <= 2) {
this.drawActorMp(actor, rect.x, wy, rect.width);
} else {
var ww = rect.width / 2;
this.drawActorMp(actor, rect.x, wy, ww);
this.drawActorTp(actor, rect.x + ww, wy, ww);
}
this._enableYBuffer = false;
};

Window_BattleStatus.prototype.getGaugesDrawn = function(actor) {
var value = 2;
if ($dataSystem.optDisplayTp) value += 1;
return value;



I just can't figure out how to achieve the effect I'm looking for.


How I would really love for the battle status window to look (specifically the TP bar) is like this (nevermind the fact that the pic of VX Ace):

Spoiler
00cAAov.png



In my project, the max TP for any character is 6. Every battle starts it at 0 and it must be built up only through attacking or defending. Using a bar for TP in this case seems pointless, and I could probably settle for just a number indicating current TP, but I think this looks much better. How to implement it though is beyond me at the moment, and I doubt it could be configured through Yanfly's Battle Status Window. Any ideas? At the very least, I am looking to change the ways the bars are arranged as mentioned above and shown in the first pic. Thanks!

Original thread: https://forums.rpgmakerweb.com/threads/changing-layout-of-yanflys-battle-status-window-changing-tp-bar.62492/