Returning to the title screen now fades out the overworld first

This commit is contained in:
Maruno17
2022-08-07 14:39:10 +01:00
parent f22707f2f1
commit b423f34da6

View File

@@ -176,7 +176,6 @@ class Scene_Map
end end
updateSpritesets updateSpritesets
if $game_temp.title_screen_calling if $game_temp.title_screen_calling
$game_temp.title_screen_calling = false
SaveData.mark_values_as_unloaded SaveData.mark_values_as_unloaded
$scene = pbCallTitle $scene = pbCallTitle
return return
@@ -235,6 +234,8 @@ class Scene_Map
Graphics.freeze Graphics.freeze
dispose dispose
if $game_temp.title_screen_calling if $game_temp.title_screen_calling
pbMapInterpreter.command_end if pbMapInterpreterRunning?
$game_temp.title_screen_calling = false
Graphics.transition Graphics.transition
Graphics.freeze Graphics.freeze
end end