Skill Tree
This commit is contained in:
parent
3504cfc6ec
commit
c9fa8d1b10
1 changed files with 10 additions and 29 deletions
|
|
@ -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, {
|
||||
|
|
|
|||
Loading…
Reference in a new issue