How to remove the party command window

Okay, so I've been wanting to remove the party command window from my project. Yanfly's Battle Engine Core has the ability to skip it, but some of us want it removed outright. I've tried finding plug-ins to no avail.

As I've discovered, thankfully, you don't need a plug-in. All you need to do is comment out two lines in rpg_scenes. The lines are:

2183: this.addWindow(this._partyCommandWindow);

^ Commenting this out removes the party command window. However, you can still cancel out of the actor command window, and since there is no more party command window, you'll be stuck unable to do anything. This leads us to the second line:

2192: this._actorCommandWindow.setHandler('cancel', this.selectPreviousCommand.bind(this));

^ Commenting this out will keep you in the actor command window, unable to go back.

I've tested it, and found no problems from these two simple changes. So if you are looking to remove the party command window, this is how you do it. Bear in mind you'll need to come up with a different way for your actors to escape from battle, since this removes the default option.
@C.W. Plainview This really doesn't have enough substance to be a tutorial, and it's also very bad advice to tell people to modify the base code. It should always be changed via plugins.
Wonderful fix! Thank you very much! I'm really happy to use this.

Edit: The insertions did literally nothing. Less happy.
@Spaceboy Old method might've worked at the time, maybe not with recent MV version.

You could try using a plugin, that is if it's compatible to yanfly's plugins.

SkipPartyCommand - https://forums.rpgmakerweb.com/index.php?threads/skippartycommand.102821/
I did find a plugin that worked! Then got my hand slapped for "necroposting". The one I used was from Zevia. Thank you for your help though!

Very helpful, thanks a lot for this!

Original thread: https://forums.rpgmakerweb.com/threads/how-to-remove-the-party-command-window.84979/