English: Fix menus

This commit is contained in:
OleSTEEP 2024-01-15 20:46:11 +03:00
parent 4b93f9c439
commit f351db40b1
3 changed files with 16 additions and 14 deletions

View file

@ -942,12 +942,12 @@ plugins:
help: Change the resolution of the screen. help: Change the resolution of the screen.
spacing: 80 spacing: 80
fullScreen: # fullScreen:
text: FULLSCREEN # text: FULLSCREEN
options: ["ON", "OFF"] # options: ["ON", "OFF"]
help: Make the game fullscreen. # help: Make the game fullscreen.
boolIndex: true # boolIndex: true
spacing: 80 # spacing: 80
gamepadTips: gamepadTips:
text: GAME INPUT TYPE text: GAME INPUT TYPE

View file

@ -44,12 +44,12 @@ plugins:
help: Change the resolution of the screen. help: Change the resolution of the screen.
spacing: 80 spacing: 80
fullScreen: # fullScreen:
text: FULLSCREEN # text: FULLSCREEN
options: ["ON", "OFF"] # options: ["ON", "OFF"]
help: Make the game fullscreen. # help: Make the game fullscreen.
boolIndex: true # boolIndex: true
spacing: 80 # spacing: 80
commandRemember: commandRemember:
text: REMEMBER SELECTED COMMANDS text: REMEMBER SELECTED COMMANDS

View file

@ -387,15 +387,17 @@ Scene_OmoriTitleScreen.prototype.createTitleCommands = function () {
// Text Array // Text Array
var textList = LanguageManager.getMessageData("XX_BLUE.Omori_Title_Screen").commands var textList = LanguageManager.getMessageData("XX_BLUE.Omori_Title_Screen").commands
// Get Center X Position // Get Center X Position
var centerX = Math.floor((Graphics.width - (136 * textList.length)) / 1.8) var centerX = 43;
// Go Through Text Array // Go Through Text Array
var previous_width = 0;
for (var i = 0; i < textList.length; i++) { for (var i = 0; i < textList.length; i++) {
// Get Text // Get Text
var text = textList[i]; var text = textList[i];
// Create Window // Create Window
var win = new Window_OmoTitleScreenBox(text); var win = new Window_OmoTitleScreenBox(text);
// Set Wnidow Position // Set Wnidow Position
win.x = centerX + (i * (130 + 15)); win.x = centerX + previous_width;
previous_width += win.width + 30;
win.y = Graphics.height //(Graphics.height - win.height) - 22 win.y = Graphics.height //(Graphics.height - win.height) - 22
// Select Window // Select Window
if (i === this._commandIndex) { win.select(0) } if (i === this._commandIndex) { win.select(0) }