How to make the text of the title screen command box be aligned to the center

The title already sums up what i'm needing help with. As you can see the text of the command box is aligned to the left but it would look much better if it were more on the center.
1615414121542.png
1615414473549.png

How can i do that? I tried to search around and I didn't find anything that could help me.
Moved to: RGSS Script Requests
Spoiler
Code:
class Window_TitleCommand < Window_Command

  def alignment
    return 1
  end

end
Add this right below the default scripts, but above the Main slot.

Edit: Ohh, didn't see this was for XP. No idea if this will work there, probably not.
I committed my first "didn't check the forum section" crime before replying. 😮
Google searches gave me a few results, so I took a look at how others were doing it. This post by Mobius is what I would do.

Copy the Window_CommandCentered class from the script and add it somewhere in your project (as long as it's below Window_Command). Then open Scene_Title and locate the line
Code:
@command_window = Window_Command.new(192, [s1, s2, s3])
replacing it with the new window class:
Code:
@command_window = Window_CommandCentered.new(192, [s1, s2, s3])
Google searches gave me a few results, so I took a look at how others were doing it. This post by Mobius is what I would do.

Copy the Window_CommandCentered class from the script and add it somewhere in your project (as long as it's below Window_Command). Then open Scene_Title and locate the line
Code:
@command_window = Window_Command.new(192, [s1, s2, s3])
replacing it with the new window class:
Code:
@command_window = Window_CommandCentered.new(192, [s1, s2, s3])
IT WORKED!! THANK YOU!!
1615731126086.png

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-the-text-of-the-title-screen-command-box-be-aligned-to-the-center.134288/