Save a range of switches and variables. And then restore them.

Hello guys, after a few months of development, I pretty much finished my game.
Given this, I thought of making others game mode. Like "HARD" and "VERY HARD"


For that, I thought about turning off all switches and variables. and copy and paste (ctrl c, ctrl v) all the maps that I created.

Done that the maps will be pasted with the same previous events. So, if I turn off all the switches, the game will be played as if it were the first time.

But my game has a "World Map", and I would like that the player could walk through the ""normal" and "hard" part of the game normally. So I can't just turn off all the switches...

The solution I found to this is that I could save somehow the switches and variables when the player switch between the game modes. And if the player go to the "HARD" mode for example, I could save all switches and variables data from the "NORMAL" mode. So, if the player returns to NORMAL mode, I simply restore the data.

That´s it, I hope I have clearly explained my thoughts haha

This was my idea, but if there is something different that solves my problem it will be very welcome!

Thank you very much in advance!
we can't asnwer that because you don't tell us the differences between the modes. Why do you even copy the maps?

For example a lot of people create different difficulties by simply giving all enemies modified values (which is easily done with a troop event that applies a state "easy" or "hard" or "nightmare" depending on difficulty setting.
another way is to make the quest events give different rewards, with a single quest event checking a single difficulty value before deciding what rewards to give, with more healing items and gold for the easier levels.

and and and

so give more details on what you want changed and we can give tips on how to do that.
SRD have even a plugin for the difficulty which attachs in the formula when easy is selected, when normal is select and hard (and so on)
this way, you just need a tiny modifcation to the codes that read it. this saves alot of time and there might be even a new game +
plugin by yanfly which you can tell which are transfered over and what not, so you can turn all things to false and everything is automatically
reset to 0 and switches to OFF. so whats the big deal by than?
Hello @ShadowDragon and @Andar Thank you for answering my request for help!!
The big problem is that my game is already done, and I made the whole game in ABS. Every enemie is an event on the map, and the way I did there is a lot of switches for each event, because the ABS that I use in my game uses switches to do different attacks and skills. So it would be very difficult (it would take a lot of time) for me to make the changes event by event now.

@Andar
About the changes you asked, I would change the way the enemies attack, like speed, strength and traits. And I would change some puzzles to get more difficult to solve. But I would like to have all the doors, autorun cutscenes, and NPCs interacting as if it were the first time.

@ShadowDragon about the SRD plugin it don't fit for me because I don't have title screen and I would have to change a lot of things to get it to work on my RPG. But I would like to see that yanfly plugin, could you give me a link? May be it can give me a north.

thank you very much in advance!
sure, New Game+ plugin by yanfly,

but im also very curious on ABS game, if its free to download, i would love to play it 🙂
I already do bug testing on a fully event abs system which is nice, so im curious at your game ^^
@ShadowDragon I'm very happy to hear that you have an interest in my game.
I have not finished it yet. I'm doing some tests and fixing some minor bugs. And I will implement the hard mode. As soon as I finish everything I'll send it to you for sure. Thank you very much!
if the game is good (story more than graphic) than i dont mind, i love a good action game (zelda based)
even though, its hard for me to do that, but i have a nice battle system in mind.

its not really interest in your game, but abs system interest me more because its in my opinion more
fun to play without getting in battle transition over and over 🙂

but if you need bug testing, im your guy (its free)

Original thread: https://forums.rpgmakerweb.com/threads/save-a-range-of-switches-and-variables-and-then-restore-them.110447/