From c9fa8d1b10628ec149203cde41833299c0569ce4 Mon Sep 17 00:00:00 2001 From: dazedanon Date: Fri, 30 May 2025 08:36:58 -0500 Subject: [PATCH] Skill Tree --- js/plugins/FTKR_SkillTreeSystem.js | 39 ++++++++---------------------- 1 file changed, 10 insertions(+), 29 deletions(-) diff --git a/js/plugins/FTKR_SkillTreeSystem.js b/js/plugins/FTKR_SkillTreeSystem.js index ec51dea..aae0293 100644 --- a/js/plugins/FTKR_SkillTreeSystem.js +++ b/js/plugins/FTKR_SkillTreeSystem.js @@ -2397,36 +2397,17 @@ function Scene_STS() { this.contents.blt(bitmap, sx, sy, pw, ph, x, y, pw * scale, ph * scale); }; - // 制御文字を使えないフォーマットテキスト描画関数 - Window_Base.prototype.drawStsFormatText = function ( - fmt, - x, - y, - params, - width, - position - ) { - var text = fmt.format( - params[0], - params[1], - params[2], - params[3], - params[4] - ); - this.drawText(text, x, y, width - 4, position); - }; + // 制御文字を使えないフォーマットテキスト描画関数 + Window_Base.prototype.drawStsFormatText = function(fmt, x, y, params, width, position) { + var text = fmt.format(params[0], params[1], params[2], params[3], params[4]); + this.drawText(text, x, y, width, position); + }; - // 制御文字を使えるフォーマットテキスト描画関数 - Window_Base.prototype.drawFormatTextEx = function (fmt, x, y, params) { - var text = fmt.format( - params[0], - params[1], - params[2], - params[3], - params[4] - ); - return this.drawTextExSkillTree(text, x, y); - }; + // 制御文字を使えるフォーマットテキスト描画関数 + Window_Base.prototype.drawFormatTextEx = function(fmt, x, y, params) { + var text = fmt.format(params[0], params[1], params[2], params[3], params[4]); + return this.drawTextExSkillTree(text, x, y); + }; /* 2023.01.28 added by nekoma */ Object.defineProperties(Window_Base, {