Adding functions to disable saving on command

This commit is contained in:
Michael Shirt 2016-11-04 14:04:38 -06:00
parent 7a8cd433bd
commit c0a3cda160
2 changed files with 5 additions and 1 deletions

View file

@ -6,7 +6,7 @@
at_exit do at_exit do
Wallpaper.reset Wallpaper.reset
save unless ($game_system.map_interpreter.running? || !$scene.is_a?(Scene_Map)) save unless $game_switches[99] || ($game_system.map_interpreter.running? || !$scene.is_a?(Scene_Map))
end end
begin begin

View file

@ -95,3 +95,7 @@ def quit_game_bed
$game_system.map_interpreter.index -= 1 $game_system.map_interpreter.index -= 1
$scene = nil $scene = nil
end end
def quit_game_no_save
$scene = nil
end