- Joined
- Feb 22, 2020
- Messages
- 9
- Reaction score
- 1
- First Language
- English
- Primarily Uses
- RMMV
Window_Base.prototype.systemColor = function() {
return this.textColor(16);
};
Window_Base.prototype.drawActorHp = function(actor, x, y, width) {
width = width || 186;
var color1 = this.hpGaugeColor1();
var color2 = this.hpGaugeColor2();
this.drawGauge(x, y, width, actor.hpRate(), color1, color2);
this.changeTextColor(this.systemColor());
this.drawText(TextManager.hpA, x, y, 44);
this.drawCurrentAndMax(actor.hp, actor.mhp, x, y, width,
this.hpColor(actor), this.normalColor());
};