Title Screen Graphic/BGM Change Depending on Variable

Is there a script that allows me to change the title screen graphics and bgm depending on a variable?
Racheal - Dynamic Title Screen Music
Racheal - Dynamic Title Screen Music
I got it figured out for the most part for both title and music scripts, but it doesn't seem to change with the variable for some reason, it defaults back as if it were 0
Are you using a script to save variables outside the game?
When you change the variable in game, save the game and go back to the title screen the data is unloaded unless you are using a script to save the variables globally. Look for global variables script
If I recall correctly, that's what you need.
Are you using a script to save variables outside the game?
When you change the variable in game, save the game and go back to the title screen the data is unloaded unless you are using a script to save the variables globally. Look for global variables script
If I recall correctly, that's what you need.
I managed to edit the core title script, but it only updates after loading a game and going back to the title screen; so I'll try global variables and let you know how that goes; thanks for the help

Original thread: https://forums.rpgmakerweb.com/threads/title-screen-graphic-bgm-change-depending-on-variable.142019/