Hey, I'm making a visual novel, which means events are running 24/7 with very few exceptions
I really want to add something similar to Undertale's Dogcheck, a feature that blocks you from loading the game if some variables have unusual values (for example map id is set to a number that usually shouldn't be accessible)
My first idea was to use Yanfly's utility common events plugin to run a common event on every save load, but the common event only runs after all other events are off, which defeats the whole purpose because, like i said, there's an event running 99% of the time.
Note: I don't want to end all running events, I still want them to run after the check (common event called on file load) is done. (If it detects unusual variable values it'll never stop running anyway, since it's supposed to be a looped animation)
Is there a way to make this common event bypass all other events and run before the usual event loads? Is there some kind of event running priority?
Or maybe I should run this variable check from the game itself, and not the save file?
Thanks in advance!
I really want to add something similar to Undertale's Dogcheck, a feature that blocks you from loading the game if some variables have unusual values (for example map id is set to a number that usually shouldn't be accessible)
My first idea was to use Yanfly's utility common events plugin to run a common event on every save load, but the common event only runs after all other events are off, which defeats the whole purpose because, like i said, there's an event running 99% of the time.
Note: I don't want to end all running events, I still want them to run after the check (common event called on file load) is done. (If it detects unusual variable values it'll never stop running anyway, since it's supposed to be a looped animation)
Is there a way to make this common event bypass all other events and run before the usual event loads? Is there some kind of event running priority?
Or maybe I should run this variable check from the game itself, and not the save file?
Thanks in advance!