"Retry Battle"

Could someone please create a "Retry Battle" plugin? Something that allows you to automatically go back to the start of the battle if you go Game Over.

I guess we'd just have to make a save at the start of the battle and go back to that with a simple command window at the end, but I'm not really sure how to do that properly. ^_^;;

Thank you!
If you're using evented battles, you don't need a plugin for that.

Just make a label in the event before battleprocessing, activate the "continue if loose" on the battleprocessing command, and in the branch of "if loose" go to label (perhaps after a show choice to gameover or retry).

Only in case of random battles you'll need a plugin.
If you're using evented battles, you don't need a plugin for that.

Just make a label in the event before battleprocessing, activate the "continue if loose" on the battleprocessing command, and in the branch of "if loose" go to label (perhaps after a show choice to gameover or retry).

Only in case of random battles you'll need a plugin.
Yeah, I'm gonna need a plugin. ^_^; I use both random and scripted battles.

Also it would be better automatic, in other words, creating and loading a save file that is not accessible to the player in Scene_File. Otherwise there might be some issues.

I created something like this for a "Timer" sequence but it's kinda buggy and I also don't know how to add the Retry/Quit command window...
Please describe what happens when you "go back" to the beginning of battle.


What will be the battlers' HP/MP like?


And so on.
Please describe what happens when you "go back" to the beginning of battle.

What will be the battlers' HP/MP like?

And so on.
I think this would be cool too! There was a mechanic in one of my favorite games, The Legend of Heroes: Trails in the Sky, where if you lost a battle (Boss or normal) you could retry the battle with exactly the same stuff and hp and status and everything you had at the start of the fight! It was super duper useful!

Also in that mechanic (but harder to implement in MV) was the option in the options menu to "Decrease Difficulty on Retry" which meant the enemy's stats and sometimes it's skills were lowered and made easier! I think that might be possible in MV to a certain extent because of the fact you can lower stats and difficulty levels in some MV plugins EXAMPLE THREAD HERE.

This would be an amazing plugin if anyone could actually make it!
Please describe what happens when you "go back" to the beginning of battle.

What will be the battlers' HP/MP like?

And so on.
Exactly the same as when you started the game. Essentially the game would make a save right at the start of the battle, and if you lose (or perhaps at anytime..?) you can "Retry" and it will go back to that save at the start of the battle. (Not before the battle.)

I have this in XP but no clue how to do it in MV because of how saves are handled. :/
Bump. 🙂
If you're using evented battles, you don't need a plugin for that.

Just make a label in the event before battleprocessing, activate the "continue if loose" on the battleprocessing command, and in the branch of "if loose" go to label (perhaps after a show choice to gameover or retry).

Only in case of random battles you'll need a plugin.
BTW actually this wouldn't work, because it doesn't know what items/skills/stats/etc. you lost and give it back to you.

And doing a save file right before the fight is also bad because RMMV won't remember where is what, etc. So if you quit the game and load that save before the battle, if it was in a complicated cutscene, everything is messed up.

What is really needed is a temporary save file within the battle system itself.
I'll give this a try. I already created some savefiles for my achievement plugin, so that shouldn't be too different.


/edit: I won't create a "full" savegame, though. There is no reason to save $gameMap, for example, when i only care about the battle. For now i think $gameActors, $gameParty, $gameTroop, $gameVariables and $gameSwitches should be enough.


Obviously, this won't reset a running timer (which is stored in $gameTimer), so i'll add a plugin parameter, that can be used to enable or disable specific objects.


//edit: On second thought, i will do a full save, but give the option to disable the loading of certain objects, just in case it would be incompatible with other plugins.
"Commission filled"^_^
I also want that kind of plugin, and also an option to restart the battle automatically if the game was closed before end the battle (prompting a message like "Do you want to continue the previous battle?  Yes/No" in title windows instead of "New Game/Load Game/etc"), this will be really really useful on mobile games where specially the low-end Android ones the games are restarted when you opened another app and returns to the game again. Also for anticheat purposes for games that uses special items like a rainbow jewel to revive completely your party (a paid item for future online games), it should have a retry counter that can be resetted by plugin command and is automatically resetted after finish the battle, and when the retry counter has reached the limit specified on the plugin (for example: 1), the battle can't be resumed after reopen the game for second time. EDIT: The counter can be used also for when you lost the battle more than X times, would be better if the limit can be controlled by a plugin command too.

Thank you in advance 🙂
I'll give this a try. I already created some savefiles for my achievement plugin, so that shouldn't be too different.

/edit: I won't create a "full" savegame, though. There is no reason to save $gameMap, for example, when i only care about the battle. For now i think $gameActors, $gameParty, $gameTroop, $gameVariables and $gameSwitches should be enough.

Obviously, this won't reset a running timer (which is stored in $gameTimer), so i'll add a plugin parameter, that can be used to enable or disable specific objects.

//edit: On second thought, i will do a full save, but give the option to disable the loading of certain objects, just in case it would be incompatible with other plugins.
This is super cool! It would work amazingly with Hime's Game-over Common Event plugin!!
I remembered, why i don't like dealing with the battle system: It's a mess...


Currently, i see 2 options:


- I display the selection (retry/gameover) on top of the battle, before the gameover screen. Here i would need to decide how to handle fights, that the party is allowed to lose. Because those fights start the actual map music while processing defeat, meaning i would have to overwrite (not extend) BattleManager.processDefeat to not play that music.


- I display the selection on the gameover screen. This obviously won't work, when the party is allowed to lose, because the gameover screen is never seen.


In both cases, i need to at least alias Scene_Battle.startFadeOut, because the selection would be displayed in its own scene, which looks awkward with the fade.


Because this is your request, @Cinnamon, i would like to hear your option about the timing (before/during gameover) and how to handle fights, that redirect to the map after lose.


/edit: First version: http://pastebin.com/4wVPxspA
Ther was something like this in one of the Mario and Luigi's games, it was called the "Retry Clock". Basically, you had an item that if you failed a battle, the game would have asked you if you wanted to use it. If yes, then you will restart the battle with full HP and AP (in this case, mana)

AlexPlayer3000, please refrain from necro-posting in a thread. Necro-posting is posting in a thread that has not had posting activity in over 30 days. You can review our forum rules here. Thank you.


This topic is 3 years old.

Closing this.

Original thread: https://forums.rpgmakerweb.com/threads/retry-battle.52345/