class Scene_Map
$fade_time = 30
#--------------------------------------------------------------------------
# * Player Transfer Processing
#--------------------------------------------------------------------------
def update_transfer_player
return unless $game_player.transfer?
fade = (Graphics.brightness > 0) and $fade_time != 0
fadeout($fade_time) if fade
@spriteset.dispose # Dispose of sprite set
$game_player.perform_transfer # Execute player transfer
$game_map.autoplay # Automatically switch BGM and BGS
$game_map.update
Graphics.wait($fade_time / 2)
@spriteset = Spriteset_Map.new # Recreate sprite set
fadein($fade_time) if fade
Input.update
$fade_time = 30
end
end