How easy is it to just skip the title screen and read from a variable (via a save file) to execute scripts based on the variable's value?

Urgh, sorry if the title made no sense. I'm having trouble decrypting whatever the hell my idea is supposed to be.
Moooooom sanamasako's making posts in the rpgmaker forums at 2 am again 🙁

I was thinking of adding a hidden route to my game, heavily inspired by the Genocide Route of Undertale, where if the player decides to be a total menace, at the very end of the game when the final battle starts, you instantly die and are sent to a cutscene (made with events) where the secondary antagonist (of all people) berates you for, well, being a dick the entire game, even if that's exactly what she did. , it's not supposed to make sense yet, it's just a concept right now, but anyway...

I was thinking that at the end of the cutscene, the game could take a variable (SecretRunEndingConvos), increase it by 1, save, force close the game, and...
upon my Pre-Title event triggering again by reopening the game (HIME_PreTitleEvents), check if SecretRunEndingConvos is set to 1 in the save file, if it is, halt original functionality of the pre-title event, load the save instantly, yeah, skipping the title screen, and let the player continue to have conversations with the secondary antagonist until I choose for something different to happen, or something, idk.

In less intense gibberish: secret route in game, at end you reach cutscene, save a variable value to verify you've seen the cutscene, force close game, and when you reopen game, check value of variable and do different depending on its value, increasing the variable's value more every time a cutscene ends
That is not as easy as you might think, because the game variables do not exist on the title screen.

the game variables are only defined and created when pressing "new game" on the title screen. And any savegame only comes after that.

So before anything like your idea can happen at all, you need to create that variable and find a way to store it outside the regular savegames before you can even try to load it on the title screen.


There are three different ways you can try to handle this.
1) Persistent Variables
there are plugins to create persistent variables, that means a number of game variables that keep their values outside the savefiles and as such are identical over all savefiles.
You would have to analyse those plugins to learn how they store those persistent variables, but they could be loaded on the title screen. Or it would be even easier to access them and their choices after new game depending on exactly what you want.

2) New Game Plus
Originally plugins of this type are intended to allow for a continuation of an extended game after the story has been finished once, but there is absolutely nothing preventing you from enabling newgame+ much earlier in the story.
However this type of plugin is often too specialised into after game content, so you should carefully check if that is the right solution for you.

3) create your own ini file
basically write your own functions to create, read and write a new ini file containing your values. Then add functions to the title screen to read the values before anything else.
This will probably require more javascript knowledge than using an existing plugin.
I don't want to write any code (especially because I don't know anything about coding) just for some ini file that triggers a completely useless cutscene. I think newgame+ (upon looking at your description for what it's about) is the best bet. As long as I can do whatever tf I want with values, setting them in a save and reading them outside a save is what I want to do. All I need in my pre-title event is a script that reads stuff from my save file in search of a value greater than 0 for my special little variable, and a script that just loads the save immediately if such a thing is detected.
if SecretRunEndingConvos > 0 then
blah blah load save
else do normal pre-title
I lost the Title Skip Plugin and cant find it at the moment, forgot the Name XD.
That was just plug and play plugin. Maybe someone can link one? Or i overlooked it in the standard Plugins of rpg Maker?

MV Script Call list helped to rebuild the Title Screen commmands with Event commands and Pictures on a Map.

For the Safe File thing: The same Andar said, and sorry i dont have a Link to a Plugin.

EDIT: HEUREKA i found it in the Script call list , a condition if a Safe File exists or not.
there is also more code for safing and loading such files.

DataManager.isAnySavefileExists()

that is like an On off value, true or false. now just the skip title screen is missing. if this is enough to solve the request.
Okay, seeing if a save file exists is a huge step. Problem is, it’s only half a solution. Now I need a way to look into the save data and check the value of a variable, and if it’s not greater than 0 continue normal functionality. If it is greater than 0, load the save with a command. I can also use “if save exists” to skip the “story” part of the pre-title event and jump to title screen (labels).

Original thread: https://forums.rpgmakerweb.com/threads/how-easy-is-it-to-just-skip-the-title-screen-and-read-from-a-variable-via-a-save-file-to-execute-scripts-based-on-the-variables-value.150194/