Fixed dynamic shadows not disappearing after a transfer, fixed events not seeing the player at a distance if facing left, fixed crash when starting a battle against two trainers

This commit is contained in:
Maruno17
2021-04-28 23:25:35 +01:00
parent 17d1344e74
commit 1685bbc4d4
4 changed files with 12 additions and 6 deletions

View File

@@ -149,6 +149,11 @@ class Sprite_Character < RPG::Sprite
update
end
def clearShadows
@ombrelist.each { |s| s.dispose if s }
@ombrelist.clear
end
alias shadow_update update
def update