class Scene_Title
 alias old_main main
 def main
  old_main unless new_main
 end
 def new_main
  dir = Dir.glob('Save*.rvdata')
  if dir != []
   load_database
   create_game_objects
   file = File.open(dir[0], "rb")
   Scene_File.new(false, true, false).read_save_data(file)
   file.close
   $scene = Scene_Map.new
   Graphics.frame_count = 0
   $game_map.autoplay
   return true
  else
   return false
  end
 end
end