Map as title screen, not working with switches that save regardless of save file.

To preface, I am trying to make a title screen, that adapts to what point you are in at the game, however it doesn't seem to be compatible with the script I am using to save what point in the game you are in, this script lets you have certain switches that are globally saved. For whatever reason, the game seems to think that ALL of the switches are completely off. Can anyone give advice/resources to fix this issue?

Scripts in question:
Map as Title Screen - Acezon
Global Save System - TheLeech
Map as Title Screen - Acezon
Doesn't use switches. It would have to be added in and the map id will need to be adjusted based on where you are.
Do you have a variable saving the map id for where the player is located?

You will need to use variables for this
here is a solution
Ruby:
#==============================================================================
# ** START Configuration
#==============================================================================
module Config
 
    # The id of the variable you want to hold the map id
    Starting_Map_VAR = 31
    Starting_Map_X = 32
    Starting_Map_Y = 33

end

#==============================================================================
# ** Scene_MapTitle
#==============================================================================
class Scene_MapTitle < Scene_Map

    #--------------------------------------------------------------------------
    # * Start
    #--------------------------------------------------------------------------
    def start
    map = Config::Starting_Map_ID
        DataManager.create_game_objects
    LGlobalSave.load
    map = $game_variables[Config::Starting_Map_VAR] if $game_variables[Config::Starting_Map_VAR] != 0
        $game_party.setup_starting_members
        $game_map.setup(map)
        $game_player.moveto($game_variables[Config::Starting_Map_X], $game_variables[Config::Starting_Map_Y])
        $game_player.followers.visible = false
        $game_player.refresh
        $game_player.make_encounter_count

        @character_name = $game_player.character_name
        @character_index = $game_player.character_index
        $game_player.set_graphic('', 0)

        $game_system.menu_disabled = true
        Graphics.frame_count = 0

        super
        create_foreground
        create_background
        create_command_window
        play_title_music
  end
 
end

#==============================================================================
# ** DataManager
#==============================================================================
module DataManager

  #--------------------------------------------------------------------------
  # overwrite method: self.save_game(index)
  #--------------------------------------------------------------------------
  class << self
  alias :r2_save_game_global_var    :save_game
  end
  def self.save_game(index)
    $game_variables[Config::Starting_Map_VAR] = $game_map.map_id
    $game_variables[Config::Starting_Map_X] = $game_player.x
    $game_variables[Config::Starting_Map_Y] = $game_player.y
    r2_save_game_global_var(index)
  end

end # end of module DataManager
Place below both scripts
Thanks a lot, this really helps!

Original thread: https://forums.rpgmakerweb.com/threads/map-as-title-screen-not-working-with-switches-that-save-regardless-of-save-file.165451/