Hey everyone!
This is probably the easiest script you'll ever find, but it's my first script (normally program in C++) and I needed it
Basically, it calls a common event whenever you exit the title menu. Do note that it calls only 1 common event, but you can call more common events from that event.
You can use this to set certain configuration that don't save for whatever reason. You can also use it to keep track of the amount of times that save has been played, etc...
module AnaskySystems
module CallCommonEvent
COMMON_EVENT_ID = 2
end
end
class Scene_Title
alias super_main main
def main
super_main
$game_temp.common_event_id = AnaskySystems::CallCommonEvent::COMMON_EVENT_ID
end
end
Hope you'll enjoy it!
~Anasky