mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 13:15:01 +00:00
Fixed playing the credits/changing $scene leaving a ghost image of the old map behind, fixed Pokémon icons sometimes disappearing in storage screen
This commit is contained in:
@@ -45,6 +45,14 @@ class Scene_Map
|
||||
@spritesets = {}
|
||||
end
|
||||
|
||||
def dispose
|
||||
disposeSpritesets
|
||||
@map_renderer.dispose
|
||||
@map_renderer = nil
|
||||
@spritesetGlobal.dispose
|
||||
@spritesetGlobal = nil
|
||||
end
|
||||
|
||||
def autofade(mapid)
|
||||
playingBGM = $game_system.playing_bgm
|
||||
playingBGS = $game_system.playing_bgs
|
||||
@@ -225,7 +233,7 @@ class Scene_Map
|
||||
break if $scene != self
|
||||
end
|
||||
Graphics.freeze
|
||||
disposeSpritesets
|
||||
dispose
|
||||
if $game_temp.title_screen_calling
|
||||
Graphics.transition
|
||||
Graphics.freeze
|
||||
|
||||
Reference in New Issue
Block a user