Fixed field animations relating to events and followers not showing if they're on a connected map, fixed grass not rustling if the player walks onto it directly from a connected map, fixed grass rustling appearing beneath the player

This commit is contained in:
Maruno17
2022-01-29 18:05:11 +00:00
parent 2372322c24
commit 7c7a6d91bd
5 changed files with 16 additions and 9 deletions

View File

@@ -204,7 +204,7 @@ class SpriteAnimation
sprite.src_rect.set(pattern % 5 * 192, pattern / 5 * 192, 192, 192)
case @_animation_height
when 0 then sprite.z = 1
when 1 then sprite.z = sprite.y + 32 + 15
when 1 then sprite.z = sprite.y + 32 + 17
when 2 then sprite.z = sprite.y + 32 + 32 + 17
else sprite.z = 2000
end