Adjust font
This commit is contained in:
parent
52377c9769
commit
2121ae0622
2 changed files with 42 additions and 26 deletions
|
|
@ -133,7 +133,7 @@
|
|||
"pitch": 100,
|
||||
"volume": 90
|
||||
},
|
||||
"locale": "ja_JP",
|
||||
"locale": "en_US",
|
||||
"magicSkills": [
|
||||
1
|
||||
],
|
||||
|
|
@ -1340,44 +1340,44 @@
|
|||
"EXP"
|
||||
],
|
||||
"commands": [
|
||||
"Fight♡",
|
||||
"Fight ♡",
|
||||
"Escape",
|
||||
"Punishment♡",
|
||||
"Defense♡",
|
||||
"Item♡",
|
||||
"Special Instruction ♡",
|
||||
"Equipment♡",
|
||||
"Status♡",
|
||||
"Sort♡",
|
||||
"Save♡",
|
||||
"Bye bye♡",
|
||||
"Option♡",
|
||||
"Punishment ♡",
|
||||
"Defense ♡",
|
||||
"Item ♡",
|
||||
"Special Instructions ♡",
|
||||
"Equipment ♡",
|
||||
"Status ♡",
|
||||
"Sort ♡",
|
||||
"Save ♡",
|
||||
"Bye Bye ♡",
|
||||
"Options ♡",
|
||||
"Oshioki Goods ♡",
|
||||
"Equipment ♡",
|
||||
"Important Items ♡",
|
||||
"Key Items ♡",
|
||||
"Equipment♡",
|
||||
"Strong Equipment ♡",
|
||||
"Remove all♡",
|
||||
"New Game♡",
|
||||
"Optimize ♡",
|
||||
"Clear ♡",
|
||||
"New Game ♡",
|
||||
"Continue ♡",
|
||||
null,
|
||||
"To Title ♡",
|
||||
"Stop♡",
|
||||
"Stop ♡",
|
||||
null,
|
||||
"Buy♡",
|
||||
"Sell♡"
|
||||
"Buy ♡",
|
||||
"Sell ♡"
|
||||
],
|
||||
"params": [
|
||||
"Max HP",
|
||||
"Maximum Stamina",
|
||||
"Max Stamina",
|
||||
"Attack",
|
||||
"Patience",
|
||||
"Technique Power",
|
||||
"Sexual Skill Endurance",
|
||||
"Tech Power",
|
||||
"Endurance",
|
||||
"Agility",
|
||||
"Luck",
|
||||
"Accuracy",
|
||||
"Evasion Rate"
|
||||
"Evasion"
|
||||
],
|
||||
"messages": {
|
||||
"actionFailure": "It didn't work on %1!",
|
||||
|
|
@ -1417,7 +1417,7 @@
|
|||
"loadMessage": "Which file to load?",
|
||||
"magicEvasion": "%1 canceled the technique!",
|
||||
"magicReflection": "%1 bounced back the technique!",
|
||||
"meVolume": "Volume",
|
||||
"meVolume": "ME Volume",
|
||||
"obtainExp": "",
|
||||
"obtainGold": "",
|
||||
"obtainItem": "Acquired %1!",
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ Window_Base.prototype.standardFontFace = function () {
|
|||
};
|
||||
|
||||
Window_Base.prototype.standardFontSize = function () {
|
||||
return 28;
|
||||
return 24;
|
||||
};
|
||||
|
||||
Window_Base.prototype.standardPadding = function () {
|
||||
|
|
@ -275,6 +275,22 @@ Window_Base.prototype.drawTextEx = function (text, x, y) {
|
|||
}
|
||||
};
|
||||
|
||||
Window_Base.prototype.drawTextExHelp = function (text, x, y) {
|
||||
if (text) {
|
||||
var textState = { index: 0, x: x, y: y, left: x };
|
||||
textState.text = this.convertEscapeCharacters(text);
|
||||
textState.height = this.calcTextHeight(textState, false);
|
||||
this.resetFontSettings();
|
||||
this.contents.fontSize = 18
|
||||
while (textState.index < textState.text.length) {
|
||||
this.processCharacter(textState);
|
||||
}
|
||||
return textState.x - x;
|
||||
} else {
|
||||
return 0;
|
||||
}
|
||||
};
|
||||
|
||||
Window_Base.prototype.convertEscapeCharacters = function (text) {
|
||||
text = text.replace(/\\/g, '\x1b');
|
||||
text = text.replace(/\x1b\x1b/g, '\\');
|
||||
|
|
@ -1502,7 +1518,7 @@ Window_Help.prototype.setItem = function (item) {
|
|||
|
||||
Window_Help.prototype.refresh = function () {
|
||||
this.contents.clear();
|
||||
this.drawTextEx(this._text, this.textPadding(), 0);
|
||||
this.drawTextExHelp(this._text, this.textPadding(), 0);
|
||||
};
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Reference in a new issue