Starting tl of inrot

This commit is contained in:
dazedanon 2025-12-18 10:47:57 -06:00
parent c3f515efd4
commit 6970b28540
3 changed files with 210 additions and 427 deletions

File diff suppressed because it is too large Load diff

View file

@ -7,7 +7,7 @@
"uiAreaHeight": 720,
"numberFontFilename": "mplus-2p-bold-sub.woff",
"fallbackFonts": "Verdana, sans-serif",
"fontSize": 27,
"fontSize": 19,
"mainFontFilename": "Logotype.otf",
"windowOpacity": 255,
"screenScale": 1,

View file

@ -407,18 +407,18 @@ Window_Base.prototype.processDrawIcon = function(iconIndex, textState) {
Window_Base.prototype.makeFontBigger = function() {
if (this.contents.fontSize <= 96) {
this.contents.fontSize += 12;
this.contents.fontSize += 6;
}
};
Window_Base.prototype.makeFontSmaller = function() {
if (this.contents.fontSize >= 24) {
this.contents.fontSize -= 12;
this.contents.fontSize -= 6;
}
};
Window_Base.prototype.calcTextHeight = function(textState) {
const lineSpacing = this.lineHeight() - $gameSystem.mainFontSize();
const lineSpacing = this.lineHeight() - $gameSystem.mainFontSize() - 8;
const lastFontSize = this.contents.fontSize;
const lines = textState.text.slice(textState.index).split("\n");
const textHeight = this.maxFontSizeInLine(lines[0]) + lineSpacing;