[Solved!]Visual Novel multiline player input \! displaying everything at once.

I'm making a simple visual novel side-game inside my game. I have everything working perfectly, the only problem is that when I type \! to wait for player input using yep message core, if the player presses Enter before the first part of the text
reaches the end(which I always do when playing VNs), the text is displayed all at once, making the VN almost unplayable, unlike most VNs where the player can press enter for the first section of text, and the second section will still slowly be displayed, not instantly.

Example:

ezgif.com-video-to-gif (4).gif


As you can see, if the player doesn't press enter while the text is filling up and waits for it to reach the segment end, there are no problems, but if they press enter while it's filling up, everything else will also be displayed instantly, unlike any VN. I want mine to be more like this.

Is there a solution?
Well I have no idea why it's behaving like this. But if nothing works out for you, you can try this plugin: https://github.com/triacontane/RPGMakerMV/blob/master/NobleMushroom.js
It seems this plugin is incompatible with one of my trillions of plugins 🙁, it increased my loading times for the game from 0.x seconds to over 2 minutes every time I launch it.

Although I think it wouldn't be very useful since I'm doing this for a minigame VN inside an RPG that doesn't have VN elements, and it doesn't seem like this plugin can be turned off(at least from my quick inspection).

Edit 1: Oh it seems this plugin might work! I have to test it a bit more first, will update here.
This behavior is meant to happen, if you send me your project to fiddle with I think I could come up with a solution.

If you press enter during a pause, fast text doesn't happen? Only when you press it before a pause?
My project is over 10gb atm, but the VN scene is basically only this with Yep Message core and Yep Message core extended 1.
Screenshot (80).png

And yes, if I press enter during a pause, as shown in the Gif, the fast text doesn't happen, it displays ideally like in most VNs. But if I press enter before a pause, it 'corrupts' the whole text box.

Edit: I isolated the scene and uploaded it to a new project so it's easy to download, Link.
Yep as I thought the solution was easy. Edit YEP_MessageCore, and add after line 1347 this:
JavaScript:
this._showFast = false;

This is how the code should look like:
JavaScript:
Yanfly.Message.Window_Message_processEscapeCharacter =
    Window_Message.prototype.processEscapeCharacter;
Window_Message.prototype.processEscapeCharacter = function(code, textState) {
    switch (code) {
    case '!':
      this._showFast = false;
      if (!this.isFastForward()) this.startPause();
      break;
    case 'W':
      this.startWait(this.obtainEscapeParam(textState));
    default:
      Yanfly.Message.Window_Message_processEscapeCharacter.call(this,
        code, textState);
      break;
    }
};
Yep as I thought the solution was easy. Edit YEP_MessageCore, and add after line 1347 this:
JavaScript:
this._showFast = false;

This is how the code should look like:
JavaScript:
Yanfly.Message.Window_Message_processEscapeCharacter =
    Window_Message.prototype.processEscapeCharacter;
Window_Message.prototype.processEscapeCharacter = function(code, textState) {
    switch (code) {
    case '!':
      this._showFast = false;
      if (!this.isFastForward()) this.startPause();
      break;
    case 'W':
      this.startWait(this.obtainEscapeParam(textState));
    default:
      Yanfly.Message.Window_Message_processEscapeCharacter.call(this,
        code, textState);
      break;
    }
};
It worked! You are amazing, now making VNs in RMMV is possible! 😀

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/solved-visual-novel-multiline-player-input-displaying-everything-at-once.127126/