Is it possible to change message window height?

My problem here is that I really like how I have my maps set up, but my message window doesn't fit exactly the way I want.
At the moment, it looks like this.
MessageBoxHelp1.PNG


I'd like my message box to be a little taller to be a better fit to my screen, a bit more like this?

MessageBoxHelp2.png

My main issue is that I'm sure Yanfly has a script for it or that someone else has already made a plugin but I'm doing my best not to use user-made scripts. The more I think about it, a script to change the position of the message box would probably work too, but I'd prefer the window to just be taller.
Is there a way to do this without a plugin?

Any help here would be greatly appreciated, I've been stuck on this for a while. ; - ;
If you want the message window to show 5 lines of text instead of 4, use this:

JavaScript:
Window_Message.prototype.numVisibleRows = function() {
    return 5;
};

Note that it will never actually show 5 lines of text unless you use a word wrap plugin, but it will be the correct height to fit 5 lines.

If you want it to show 4 lines of text but be a little taller, use this:
JavaScript:
Window_Message.prototype.windowHeight = function() {
    return this.fittingHeight(this.numVisibleRows()) + 40; // make it 40 pixels taller
};

Either way you can just paste the code into any plugin file (maybe make a new one and call it whatever you want). In the second snippet you would change the 40 to something else. Note that this will affect all message windows both in and out of battle, and also middle or top messages.
JavaScript:
Window_Message.prototype.windowHeight = function() {
return this.fittingHeight(this.numVisibleRows()) + 40; // make it 40 pixels taller
};

Thank you so very much, this is exactly what I needed! : D

Original thread: https://forums.rpgmakerweb.com/threads/is-it-possible-to-change-message-window-height.123105/