In LeTBSWindows.js
Find
Window_TBSStatus.prototype.refresh = function () {
replace the whole if statement for if (Lecode.S_TBS.Windows.statusWindowShowTP) {
with
if (Lecode.S_TBS.Windows.statusWindowShowTP) {
y += this.lineHeight()-8;// / 4 + 4;
//this._gaugeHeight = 6;
this.drawActorTp(this._entity.battler(), x, y, 130);
}
Find
Window_TBSStatus.prototype.drawActorTp = function (actor, x, y, width)
Replace code with
Window_TBSStatus.prototype.drawActorTp = function (actor, x, y, width)
width = width || 186;
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');
};
This fixes the height of tp bar and does this:
Then to fix the window height
In Plugin Manager go to LeTBSWindows and change
Status Window Height to:
window.fittingHeight(4)
Finally to show TP in the party selection panel:
Find
Window_TBSPositioning.prototype.drawItem = function (index) {
in LeTBSWindows.js
Add
this.drawActorTp(actor, x, y, w);
right above
this.drawActorIcons(actor, x, y, Window_Base._iconWidth * 5);
Final Results
