Blank Name Inputs

By default, RPG MAKER MV won't allow the player to press "OK" on the Name Input screen if there's nothing input yet. But is there a way to disable this? I may or may not want to make an option where the player gets a surprise hardmode name if they refuse to put in a name. I already have conditional branches that check if the player's name is blank, but the game won't let them put a blank name.
@Slyferro Sure, we can remove the code which checks whether the name field is empty.

Code:
Window_NameInput.prototype.onNameOk = function() {
        SoundManager.playOk();
        this.callOkHandler();
};

You can drop that code into a .js file in the plugins folder and add it to your project. That should allow you to enter a blank name.
Thanks it worked!

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/blank-name-inputs.115493/