Window_Base.prototype.drawActorJp = function(actor, id, wx, wy, ww, align) {
var jp = actor.jp(id);
var icon = '\\i[' + Yanfly.Icon.Jp + ']';
var fmt = Yanfly.Param.JpMenuFormat;
var sp = $gameActors.actor(1).getTreesPoints(skillTree); //Shows actor's available Skill Points
var text = fmt.format(Yanfly.Util.toGroup(jp), Yanfly.Param.Jp, icon) + ' ' + sp + '\\i[157]';
if (align === 'left') {
wx = 0;
} else if (align === 'center') {
wx += (ww - this.textWidthEx(text)) / 2;
} else {
wx += ww - this.textWidthEx(text);
}
this.drawTextEx(text, wx, wy);
};