mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 13:44:59 +00:00
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:
@@ -27,6 +27,10 @@ class Game_Player < Game_Character
|
||||
return $game_map
|
||||
end
|
||||
|
||||
def map_id
|
||||
return $game_map.map_id
|
||||
end
|
||||
|
||||
def screen_z(height = 0)
|
||||
ret = super
|
||||
return ret + 1
|
||||
|
||||
@@ -151,7 +151,8 @@ class Game_Follower < Game_Event
|
||||
was_jumping = jumping?
|
||||
super
|
||||
if was_jumping && !jumping?
|
||||
$scene.spriteset.addUserAnimation(Settings::DUST_ANIMATION_ID, self.x, self.y, true, 1)
|
||||
spriteset = $scene.spriteset(map_id)
|
||||
spriteset&.addUserAnimation(Settings::DUST_ANIMATION_ID, self.x, self.y, true, 1)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user