Ohh, I missed
@Roninator2's post.
You made some errors in those variable names, they should be:
Code:
$data_system.battle_bgm.name
$data_system.battle_end_me.name
But these variables (including all
$data_object variables) should not be changed during runtime at all.
They are variables, that's true, but they act more like constants, because they are loaded only once on game startup and never again, and they are not saved in the savefiles either.
You can change them if you really want, but you will have to be extra careful with that, since if you forget to change it back or forget that the player can do something that skips your variable change triggers, than these variables will stay how they are until the player closes the game and reopens it again, or until he bumps into another variable changing event after he start a new game or loads a savefile.
And... probably the most important thing for the topic at hand... Those are the battle BGM and battle end ME sound settings, not the battle start SE setting, so it's not exactly what has been asked for.
😀
You can still try my snippet. Just put it below the default scripts, and use that script call to change that SE during the game anytime you want.
To play no SE, simply set the filename to an empty string which would look like this:
"" , so 2 quotation marks right next to each other.