So that when you reload the autosave, you get a game over screen. All I see for official options is to disable autosaving completely, or I can use a plugin to disable autosaving after a battle, which is what I'm doing now. But I would prefer to have autosave after a battle but just not if you had lost that battle. Any way to do this?
MZ Game is autosaving before game over screen after losing
JS Plugin RequestsDoesn't that only happen if you use battle processing to start the battles and have selected the 'can lose' option? Is there some reason you're going to the game over screen through the 'can lose' branch?
If you have to do it like that, maybe you can add a line to the BattleManager processDefeat function can lose section to flip a switch and then check in the Scene_Battle terminate function shouldAutosave spot if that switch is on (and also turn it off after). That should work. Don't know if there's a simpler way to check it though.
If you have to do it like that, maybe you can add a line to the BattleManager processDefeat function can lose section to flip a switch and then check in the Scene_Battle terminate function shouldAutosave spot if that switch is on (and also turn it off after). That should work. Don't know if there's a simpler way to check it though.
that's one reason I hate autosave!
there is however a work around which require a plugin snippet which does
exist already.
once you load the game (or after game over) you start inside town or anywhere
you set the variables for the X and Y to avoid the issue.
that might be the best shot if you want to keep autosave and use this method
as well to avoid going to game over after load.
there is however a work around which require a plugin snippet which does
exist already.
once you load the game (or after game over) you start inside town or anywhere
you set the variables for the X and Y to avoid the issue.
that might be the best shot if you want to keep autosave and use this method
as well to avoid going to game over after load.
I had watched a vid on how to make event battles and it said to choose "Can Lose" and apply "Game Over" under "If Lose". Is there a way to "Game Over" without doing this that also avoids the autosave issue?
EDIT: Okay I think I've figured it out, if I don't tick "Can Lose" it looks like I don't get a "If Win" "If Lose" branch so it doesn't load back to the screen after combat? Going to set the event up again and test and get back to you.
EDIT2: Yep, that did it! Thanks for your help.
Original thread: https://forums.rpgmakerweb.com/threads/game-is-autosaving-before-game-over-screen-after-losing.174426/