diff --git a/js/plugins/YEP_BattleEngineCore.js b/js/plugins/YEP_BattleEngineCore.js index f4d028f..4d8e63d 100755 --- a/js/plugins/YEP_BattleEngineCore.js +++ b/js/plugins/YEP_BattleEngineCore.js @@ -4734,7 +4734,7 @@ Window_Help.prototype.drawBattler = function (battler) { var text = battler.name(); var wx = 0; var wy = (this.contents.height - this.lineHeight()) / 2; - this.drawText(text, wx, wy, this.contents.width, "center"); + this.drawTextEx(text, wx, wy); }; Window_Help.prototype.drawSpecialSelectionText = function (action) { @@ -5210,7 +5210,7 @@ Window_EnemyVisualSelect.prototype.refresh = function () { this.contents.fontSize = Yanfly.Param.BECEnemyFontSize; var text = this._battler.name(); var wy = this.contents.height - this.lineHeight(); - this.drawText(text, 0, wy, this.contents.width, "center"); + this.drawTextEx(text, 0, wy); }; //============================================================================= diff --git a/js/plugins/YEP_BuffsStatesCore.js b/js/plugins/YEP_BuffsStatesCore.js index 187f760..300f1ee 100644 --- a/js/plugins/YEP_BuffsStatesCore.js +++ b/js/plugins/YEP_BuffsStatesCore.js @@ -2134,7 +2134,7 @@ if (Imported.YEP_BattleEngineCore) { var text = battler.name(); var wx = 0; var wy = 0; - this.drawText(text, wx, wy, this.contents.width, "center"); + this.drawTextEx(text, wx, wy); wy += this.lineHeight(); var ww = icons.length * Window_Base._iconWidth; ww = Math.min(ww, this.contents.width); diff --git a/js/rpg_windows.js b/js/rpg_windows.js index fb9d5bf..192f689 100644 --- a/js/rpg_windows.js +++ b/js/rpg_windows.js @@ -608,7 +608,7 @@ Window_Base.prototype.drawItemName = function (item, x, y, width) { var iconBoxWidth = Window_Base._iconWidth + 4; this.resetTextColor(); this.drawIcon(item.iconIndex, x + 2, y + 2); - this.drawText(item.name, x + iconBoxWidth, y, width - iconBoxWidth); + this.drawTextEx(item.name, x + iconBoxWidth, y); } };