MV How to make it so that the player is able to Retry a battle that was from an Event after getting a Game Over using SumRndmDde's Game Over Core? RMMV

I have no idea if this is intended or not but SumRndmDde's Game Over Core doesnt seem to allow me to retry a battle that was forced by an Event and I dont know if there's a way to fix it or not. I know I can use the label option in events to kind of remake the same effect but it isnt as smooth so I would prefer if I had a way to make this plugin work with Event Battles too since they are mainly Boss Battles and for those I would REALLY like the player to be able to select Retry...

So, anyone got any ideas on how to do this?
If not, I'll just stick to using the labels even if it isnt as smooth and seamless as I would like it to be. It isnt too big of a deal.
Just would prefer for it to feel more smooth and natural
The way I do this is by using labels, yeah. General format tends to be:

Label: Retry
[code before a fight starts]
Fight
If win: Nothing
If lose: A show choice that asks the player if they want to retry, escape or give up (game over). If retry is picked, it jumps to retry label.
You don't really describe what you think is "smooth" or "seamless" or not, so it's not clear what you want to be different.

If you're trying to do it without leaving the battle scene, you could use HimeWorks' End Phase Triggers to make a troop event that goes off when all actors are dead and gives the option to retry.

If Yes, the script call would be:
Code:
BattleManager.setup(troopId, false, true);
SceneManager.push(Scene_Battle);

where troopId is the ID of the troop (no leading zeros).

Whether you do it this way or how @RCXGaming described, the trick is that "retrying" just starts the battle over, it doesn't actually know what your HP/MP/Items/whatever was like at the beginning of the battle.

If you want to do something like that, it's more involved. You can look at a time-rewind tutorial on the site's blog:
By default all events repeat unless you tell them not to repeat.

if you cannot repeat the event, then you used one of several possible ways to stop the event from repeating.
And in that case we would have to see screenshots of your event before we can tel you what to change.
You don't really describe what you think is "smooth" or "seamless" or not, so it's not clear what you want to be different.

If you're trying to do it without leaving the battle scene, you could use HimeWorks' End Phase Triggers to make a troop event that goes off when all actors are dead and gives the option to retry.

If Yes, the script call would be:
Code:
BattleManager.setup(troopId, false, true);
SceneManager.push(Scene_Battle);

where troopId is the ID of the troop (no leading zeros).

Whether you do it this way or how @RCXGaming described, the trick is that "retrying" just starts the battle over, it doesn't actually know what your HP/MP/Items/whatever was like at the beginning of the battle.

If you want to do something like that, it's more involved. You can look at a time-rewind tutorial on the site's blog:
Oh im fine with leaving the battle scene, also what I meant by "smooth and seamless" is just that using labels kinda messes with the pacing of my game over scene a little and I just wanted it to feel more like the normal game over you get when fighting random encounters. It's not a huge issue or deal, I just like having my game feel as best as it can feel!

Yeah that's the way im doing it for now until I find a solution! It's not too far off from the way I want my game over scene to play out and I just wanted it to be a little bit better paced but it isnt a huge issue if I cant have it be a normal game over scene thanks to this way of doing things
The way I do this is by using labels, yeah. General format tends to be:

Label: Retry
[code before a fight starts]
Fight
If win: Nothing
If lose: A show choice that asks the player if they want to retry, escape or give up (game over). If retry is picked, it jumps to retry label.
using labels kinda messes with the pacing of my game
How would that affect your game's pacing in any way? It's just a label to loop back to!
How would that affect your game's pacing in any way? It's just a label to loop back to!
I meant my game over scene, not just my game in general
Buddy, none of us know what your "game over scene" looks like.
We don't know anything about your game; how it operates, what it's about, what it looks like.

We cannot possibly assist you unless you explain these key details.

If you have a unique "game over scene", that sounds like pertinent information you should tell us. Otherwise we just assume you are operating within the vanilla bounds of the engine.

Please elaborate so people can help you.
I was just asking if there was a way to make SRD's Game Over Core plugin allow me to retry a battle caused by touching an Event. The reason I didnt go into detail about my game over scene is bc it doesnt matter what it does or looks like as regardless the retry command is unable to be selected if you get a game over in a battle caused by an Event. I only brought it up bc the label method kinda messes with the pace of the game over scene, not that the game over scene is the issue im having or need to go into detail about I think? ...I could be wrong as im still pretty new but I am pretty certain it is not the cause of my issue
Buddy, none of us know what your "game over scene" looks like.
We don't know anything about your game; how it operates, what it's about, what it looks like.

We cannot possibly assist you unless you explain these key details.

If you have a unique "game over scene", that sounds like pertinent information you should tell us. Otherwise we just assume you are operating within the vanilla bounds of the engine.

Please elaborate so people can help you.
Well, we don't really know either if it's important or not.
But you're saying that the current method that was recommended to you is not "smooth and seamless" due to circumstances that sound unique to the way you developed the game.
So if you want help making it "smooth and seamless" we need the information to know why it's not currently "smooth and seamless" which encompass all parts that go into the area you are having trouble with.

From what I have read of this thread...I don't understand what your problem is, and if I don't understand the problem, then I cannot possibly provide a solution.
I just, I dont know how to explain it. I just want this to be NOT grayed out and unselectable after a game over from a battle you were forced into by an event WITHOUT using the label method as I already have been using. I should've just took screenshots or something sooner instead of causing so much headache... im an idiot...

Screenshot 2024-05-02 032134.png
Screenshot 2024-05-02 032218.png
If you have a problem with a plugin or want a modification for it, then aloways provide a link to the website where you got the plugin from.
Because to solve problems like that, smeone needs to go reading the code of the plugin to understand what the command does, before they can even tell if your wish is possible or not.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-it-so-that-the-player-is-able-to-retry-a-battle-that-was-from-an-event-after-getting-a-game-over-using-sumrndmddes-game-over-core-rmmv.168244/