class Scene_Map
def update_transfer_player
return unless $game_player.transfer?
fade = (Graphics.brightness > 0)
Graphics.freeze
white = Viewport.new(0, 0, 544, 416)
white.z = 9999
white.color.set(255, 255, 255)
Graphics.transition(15)
Graphics.freeze
@spriteset.dispose
$game_player.perform_transfer
$game_map.autoplay
$game_map.update
Graphics.freeze
@spriteset = Spriteset_Map.new
Input.update
white.dispose
white = nil
Graphics.transition(15)
end
end
ixis":391erg79 said:I can't change the transitions in the database.
Rather, I can't find where to change the transitions in the database.
class Scene_Map
FadeToWhiteSwitch = 60
def update_transfer_player
return unless $game_player.transfer?
fade = (Graphics.brightness > 0)
Graphics.freeze
white = Viewport.new(0, 0, 544, 416)
white.z = 9999
color = $game_switches[FadeToWhiteSwitch] ? 255 : 0
white.color.set(color, color, color)
Graphics.transition(15)
Graphics.freeze
@spriteset.dispose
$game_player.perform_transfer
$game_map.autoplay
$game_map.update
Graphics.freeze
@spriteset = Spriteset_Map.new
Input.update
white.dispose
white = nil
Graphics.transition(15)
end
end