change battle system from Time-Progress (Active) to Time-Progress (Wait) via player choice.

So I have a set fight at the beginning of the game that has a 3-minute song. It takes a little over 2 and a bit minutes for the boss to win and thus plays most of the song with lyrics. After this boss fight, however, I want to give the player a choice to change the battle system from Time-Progress (Active) to Time-Progress (Wait) if they want to. This is an option in database menu - system 1. Can I do this via the event script? I can't seem to find it if I can.
Untested but you could try this script call:
JavaScript:
$dataSystem.battleSystem = 1
0 turn-based
1 active tpb
2 wait tpb
Thank you! This works perfectly, and has also given me a bit more insight 🙂
Hi again, just to add to this. Although I am able to make the game change battle systems when you start it, when you load into it, it defaults back to the original one I chose on the database. Is there something I can do to have it always choose the correct battle system when loading the game?

I was thinking of adding it to a variable, but I don't know where the 'on load game' event of the game would be. Would I need a plugin for this?
Do you use VisuStella? Core Engine has plugin commands for that.
Do you use VisuStella? Core Engine has plugin commands for that.
I'm making a game for a small community and using this as a basis to learn about rpgmaker mz, before i look towards other resources to compliment this. I have a whole script, plan and everything for what I want to make, what sort of world and that, so at the moment I do not.
VisuStella is considered like the best resource to create a proper game with rpgmaker I presume?
Changes to all the $dataSystem data will not be stored in saves, so your observation that it will revert once you load is correct. If you want it to persist, you could use a plugin (Visustella is an option yes), or you could store the battle system in a user variable and set it to a parallel event that sets $dataSystem.battleSystem to the value in the user variable.

Original thread: https://forums.rpgmakerweb.com/threads/change-battle-system-from-time-progress-active-to-time-progress-wait-via-player-choice.176129/