How do I reduce the amount of text lines in dialogue?

I'd like to reduce the amount of text lines that can be shown in dialogue from 4 lines down to 2.

I know that there are a lot of user-made scripts out there that could probably do what I'm asking, but I'd rather just edit existing code in the Script Editor. I've been tinkering around with values in the "Window_Base" script, but no progress so far.
You'll need a script for that. Yanfly has one: https://yanflychannel.wordpress.com/rmvxa/core-scripts/ace-message-system/
You'll need a script for that.
Really? There's no possible way to show only two lines of text without a user-made script? I somehow doubt this.
Unintentional mistake. Apologies.

Try to modify the Window_Message script (if availiable).
yes and no - you don't need a full script with dozens of other options, but it is more than just changing a number - you need to draw the frame differently, prevent the face (which needs four lines) from messing up the sequence etc.

I suggest you look into the linked script from Yanfly to see what he changed to give those option (tip: check for the constant that sets the variable to different heights and you'll find all places where changes are neccessary) and learn from them
Thanks for both of your responses!

I didn't know if changing the height and width of the message window would just cause the text to spill over. When I find those values, I'll be sure to experiment with them. Poking around in Yanfly's script is actually a pretty good idea! I'll post a solution, if I find one, for anyone else who has the same problem in the future!

EDIT:
 

it is more than just changing a number
Actually, after doing some digging in Window_Message like AceofAces suggested, I found out that it is just a matter of changing a number! At line 53, just change "return 4" to be the desired number!

  #--------------------------------------------------------------------------
  # * Get Number of Lines to Show
  #--------------------------------------------------------------------------
  def visible_line_number
    return 4
  end

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-reduce-the-amount-of-text-lines-in-dialogue.54004/