Global Switches?

I was watching a playthrough of Undertale, and the idea of switches that can exist outside of the save file seems really fun to play with. However, I have no idea if this is even possible in RMMV.

Could anyone help me understand that? Is it script based, can I do it in the database? 

Thanks for reading.
http://forums.rpgmakerweb.com/index.php?/topic/47640-jackkels-persistent-switches/?hl=persistent

you mean this one?
Yes, that looks perfect, and also explains why I couldn't find it, because I kept looking for global switches and nothing came up.

Thank you so much! ^^

Original thread: https://forums.rpgmakerweb.com/threads/global-switches.53014/