TL Most of the DrawTextS

This commit is contained in:
dazedanon 2025-11-03 09:24:57 -06:00
parent df92c76c57
commit 05b6ccc412
7 changed files with 42 additions and 42 deletions

View file

@ -1698,10 +1698,10 @@ Window_CBR_BattleResult.prototype.initialize = function (rect) {
this.contents.fontSize = 32;
if ($gameParty.members()[0].name() === "Shirayuki") {
this._chara_1.bitmap = ImageManager.loadSystem("battle_result_sira");
this.drawTextS("白雪・Lindblum", 134, 255, 400);
this.drawTextS("Shirayuki Lindblum", 134, 255, 400);
} else {
this._chara_1.bitmap = ImageManager.loadSystem("battle_result_yozu");
this.drawTextS("黒羽 夜鶴", 134, 255, 400);
this.drawTextS("Yozuru Kuroba", 134, 255, 400);
}
this.contents.fontSize = 32;
this._container.addChild(this._chara_1);
@ -1713,17 +1713,17 @@ Window_CBR_BattleResult.prototype.initialize = function (rect) {
this._chara_2.y = 370;
if ($gameParty.members()[1].name() === "Shirayuki") {
this._chara_2.bitmap = ImageManager.loadSystem("battle_result_sira");
this.drawTextS("白雪・Lindblum", 134, 365, 400);
this.drawTextS("Shirayuki Lindblum", 134, 365, 400);
} else {
this._chara_2.bitmap = ImageManager.loadSystem("battle_result_yozu");
this.drawTextS("黒羽 夜鶴", 134, 365, 400);
this.drawTextS("Yozuru Kuroba", 134, 365, 400);
}
this.contents.fontSize = 32;
this._container.addChild(this._chara_2);
}
this.drawTextS("獲得金額", 34, 133, 200);
this.drawTextS("獲得経験値", 34, 191, 200);
this.drawTextS("獲得アイテム", 34, 478, 200);
this.drawTextS("Acquired Money", 34, 133, 200);
this.drawTextS("Acquired EXP", 34, 191, 200);
this.drawTextS("Acquired Items", 34, 478, 200);
this._chara_3 = new Sprite();
this._chara_3.x = 530;
@ -1765,7 +1765,7 @@ Window_CBR_BattleResult.prototype.update = function () {
};
Window_CBR_BattleResult.prototype.updateResult = function () {
this.contents.fontSize = 32;
this.drawTextS(`+${BattleManager._rewards.gold}`, 400, 133, 200, "right");
this.drawTextS(`+${BattleManager._rewards.gold} Yen`, 400, 133, 200, "right");
this.drawTextS(`+${BattleManager._rewards.exp}`, 400, 191, 200, "right");
var ac_1 = $gameParty.members()[0];
@ -1781,9 +1781,9 @@ Window_CBR_BattleResult.prototype.updateResult = function () {
this.contents.fontSize = 24;
if (99 <= ac_1._level) {
this.drawTextS(`次のレベルまで${0}`, 200, 295, 400, "right");
this.drawTextS(`Until Next Level: ${0}`, 200, 295, 400, "right");
} else {
this.drawTextS(`次のレベルまで${ac_1.expForLevel(ac_1._level + 1) - ac_1.currentExp()}`, 200, 295, 400, "right");
this.drawTextS(`Until Next Level: ${ac_1.expForLevel(ac_1._level + 1) - ac_1.currentExp()}`, 200, 295, 400, "right");
}
}
this.contents.fontSize = 32;
@ -1799,9 +1799,9 @@ Window_CBR_BattleResult.prototype.updateResult = function () {
} else {
this.contents.fontSize = 24;
if (99 <= ac_2._level) {
this.drawTextS(`次のレベルまで${0}`, 200, 405, 400, "right");
this.drawTextS(`Until Next Level: ${0}`, 200, 405, 400, "right");
} else {
this.drawTextS(`次のレベルまで${ac_2.expForLevel(ac_2._level + 1) - ac_2.currentExp()}`, 200, 405, 400, "right");
this.drawTextS(`Until Next Level: ${ac_2.expForLevel(ac_2._level + 1) - ac_2.currentExp()}`, 200, 405, 400, "right");
}
}
}

View file

@ -55,11 +55,11 @@ function Window_EroStatus_kiroku() {
var sX2 = 622;
this.changeTextColor("#FFFFFF");
this.drawTextS("相手 ", sX + lineX, sY, 200);
this.drawTextS("種族 ", sX + lineX + lineX2, sY, 200);
this.drawTextS("Partner:", sX + lineX, sY, 200);
this.drawTextS("Race:", sX + lineX + lineX2, sY, 200);
this.drawTextS("相手 ", sX + sX2 + lineX, sY, 200);
this.drawTextS("種族 ", sX + sX2 + lineX + lineX2, sY, 200);
this.drawTextS("Partner:", sX + sX2 + lineX, sY, 200);
this.drawTextS("Race:", sX + sX2 + lineX + lineX2, sY, 200);
var ary = {
sira: {
@ -89,8 +89,8 @@ function Window_EroStatus_kiroku() {
}
this.changeTextColor("#000000");
this.drawTextS("処女喪失記録", sX, sY, 200);
this.drawTextS("アナル処女喪失記録", sX + sX2, sY, 200);
this.drawTextS("Virginity Loss Record", sX, sY, 200);
this.drawTextS("Anal Virginity Loss Record", sX + sX2, sY, 200);
this.contents.fontSize = 20;
@ -102,20 +102,20 @@ function Window_EroStatus_kiroku() {
var w = 288;
var sX2 = 144;
var width = this.textWidth("エッチ経験");
this.drawTextS("エッチ経験", sX - width / 2 + sX2, 0, width);
var width = this.textWidth("H Experience");
this.drawTextS("H Experience", sX - width / 2 + sX2, 0, width);
var width = this.textWidth("経験相手");
this.drawTextS("経験相手", sX - width / 2 + sX2 + lineX, 0, width);
var width = this.textWidth("絶頂・射精");
this.drawTextS("絶頂・射精", sX - width / 2 + sX2 + lineX, lineY * 4 + 2, width);
var width = this.textWidth("エロシチュ");
this.drawTextS("エロシチュ", sX - width / 2 + sX2 + lineX, lineY * 12 + 4, width);
var width = this.textWidth("Partners");
this.drawTextS("Partners", sX - width / 2 + sX2 + lineX, 0, width);
var width = this.textWidth("Climax/Ejaculation");
this.drawTextS("Climax/Ejaculation", sX - width / 2 + sX2 + lineX, lineY * 4 + 2, width);
var width = this.textWidth("Situations");
this.drawTextS("Situations", sX - width / 2 + sX2 + lineX, lineY * 12 + 4, width);
var width = this.textWidth("エロ商売");
this.drawTextS("エロ商売", sX - width / 2 + sX2 + lineX * 2, 0, width);
var width = this.textWidth("出産");
this.drawTextS("出産", sX - width / 2 + sX2 + lineX * 2, lineY * 7 + 2, width);
var width = this.textWidth("Sex Work");
this.drawTextS("Sex Work", sX - width / 2 + sX2 + lineX * 2, 0, width);
var width = this.textWidth("Births");
this.drawTextS("Births", sX - width / 2 + sX2 + lineX * 2, lineY * 7 + 2, width);
this.contents.fontSize = 18;
this.changeTextColor("#FFFFFF");

View file

@ -229,10 +229,10 @@ DataManager._databaseFiles.push({ name: "CBR_eroRireki", src: "CBR_h_event_data.
var lineX = 363;
var lineX2 = 62;
this.changeTextColor("#000000");
this.drawTextS("相手", sX, sY, 200);
this.drawTextS("種族", sX + lineX, sY, 200);
this.drawTextS("場所", sX + lineX * 2, sY, 200);
this.drawTextS("詳細", sX, sY + lineY - 4, 200);
this.drawTextS("Partner", sX, sY, 200);
this.drawTextS("Race", sX + lineX, sY, 200);
this.drawTextS("Location", sX + lineX * 2, sY, 200);
this.drawTextS("Details", sX, sY + lineY - 4, 200);
this.resetTextColor();
this.contents.fontFace = "serif";

View file

@ -224,10 +224,10 @@ DataManager._databaseFiles.push({ name: "CBR_eroRireki", src: "CBR_h_event_data.
var lineX = 363;
var lineX2 = 62;
this.changeTextColor("#000000");
this.drawTextS("相手", sX, sY, 200);
this.drawTextS("種族", sX + lineX, sY, 200);
this.drawTextS("場所", sX + lineX * 2, sY, 200);
this.drawTextS("詳細", sX, sY + lineY - 4, 200);
this.drawTextS("Partner", sX, sY, 200);
this.drawTextS("Race", sX + lineX, sY, 200);
this.drawTextS("Location", sX + lineX * 2, sY, 200);
this.drawTextS("Details", sX, sY + lineY - 4, 200);
this.resetTextColor();
this.contents.fontFace = "serif";

View file

@ -446,7 +446,7 @@
this.contents.fontSize = 20;
this.contents.textColor = "#FFFFFF";
if (this.CBR_ban) {
this.drawTextS("更衣条件:露出開発度がB以上", 224, 505, 300, "left");
this.drawTextS("Dress Condition: Exposure Development B or Higher", 224, 505, 300, "left");
} else {
const fuku_id = $gameParty.menuActor()._name == "Shirayuki" ? 204 : 205;
this.drawText(["制服", "裸", "制服", "裸"][$gameVariables.value(fuku_id)], 224, 505, 300, "left");

View file

@ -410,7 +410,7 @@
this.drawTextM("範囲", rect.x + 388, rect.y + 4, rect.width);
if (this.CBR_skill) {
this.changeTextColor("#FFFFFF");
this.drawTextS(["必中", "物理", "魔法"][this.CBR_skill.hitType], rect.x + 108, rect.y + 4, rect.width);
this.drawTextS(["Sure Hit", "Physical", "Magical"][this.CBR_skill.hitType], rect.x + 108, rect.y + 4, rect.width);
const scopeNames = [
"なし", // 0: None

View file

@ -367,10 +367,10 @@ function Window_SaveType() {
var line1 = 28;
for (var i = 0; i < 4; i++) {
this.drawTextS(["チャプタ―", "場所", "所持金", "プレイ時間"][i], x1, y1 + line1 * i, rect.width, "left");
this.drawTextS(["Chapter", "Location", "Money", "Play Time"][i], x1, y1 + line1 * i, rect.width, "left");
this.drawTextM(":", x2, y1 + line1 * i, rect.width, "left");
this.drawTextS(
[info.chapter, info.mapname || "不明", `${info.gold || 0} `, info.playtime][i],
[info.chapter, info.mapname || "Unknown", `${info.gold || 0} Yen`, info.playtime][i],
x3,
y1 + line1 * i,
Math.min(rect.width, 280),