MZ No game over plugin for MZ?

Hi, i was just wondering if there was a decent plugin to allow for a " no game over " for all / random encounters? I instead would like for the character to sort of " faint " and then have the day switch, and transfer the player to their house. i do intend to have the same effect with someone staying up past a certain hour, i already have a functional day/night system that does this by itself ( i believe at like 3am? ) but i would like for the same thing to happen when someone who's HP drops to 0 in battle, instead of having a game over screen pop up and having to load a file.
I would really like for the game to only be able to " move forward " and never backwards or losing progress.
I have the free base pack of plugins from visustella but to my knowledge none of those do anything for the game over screen.

I did poke around online to try and find one, but i didn't come across too much, very few results and i'm not entirely sure if they would work because they're made for MV not MZ and i'm fairly new.

I might consider doing event encounters later, ( i do have a couple planned for mini-bosses ) but for now i have other aspects of the game i want to focus on more that take priority, and might leave random encounters as default for regular battles, so for now i just wanna setup an easy way to have no game over that fits what i'm currently working with.

TIA!!
it doesnt sound like it would be much more than a modification to the function that runs when youre defeated in a battle

Spoiler
Code:
BattleManager.updateBattleEnd = function() {
    if (this.isBattleTest()) {
        AudioManager.stopBgm();
        SceneManager.exit();
    } else if (!this._escaped && $gameParty.isAllDead()) {
        if (this._canLose) {
            $gameParty.reviveBattleMembers();
            SceneManager.pop();
        } else {
            $gameTemp.reserveCommonEvent(x); //Here
            SceneManager.pop();
        }
    } else {
        SceneManager.pop();
    }
    this._phase = null;
};

That change if saved as a plugin would make it so that when you lose a fight that isnt set with can lose, instead of a game over, it just takes you back to the map and runs common event x, which could just be a transfer event + whatever you do to advance time for your game
Seems like this could help you do what you want:
Also, Google is your friend.

Seems like this could help you do what you want:
Thank you, works like a charm!! exactly what i was looking for c:

Original thread: https://forums.rpgmakerweb.com/threads/no-game-over-plugin-for-mz.166649/