mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 05:34:58 +00:00
Bug fixes: interacting with a follower in the same tile as the player; underline/strikethrough line mispositionings and added shadows to those lines; Toxic/Flame Orb replacing existing status problems; grown berry plants looking like sprouts; pbShowCommandsWithHelp not deactivating message windows it creates
This commit is contained in:
@@ -278,14 +278,8 @@ class Game_FollowerFactory
|
||||
facing_tile = $map_factory.getFacingTile
|
||||
# Assumes player is 1x1 tile in size
|
||||
each_follower do |event, follower|
|
||||
if event.at_coordinate?($game_player.x, $game_player.y) # Underneath player
|
||||
next if !event.over_trigger?
|
||||
elsif facing_tile && event.map.map_id == facing_tile[0] &&
|
||||
event.at_coordinate?(facing_tile[1], facing_tile[2]) # On facing tile
|
||||
next if event.over_trigger?
|
||||
else # Somewhere else
|
||||
next
|
||||
end
|
||||
next if !facing_tile || event.map.map_id != facing_tile[0] ||
|
||||
!event.at_coordinate?(facing_tile[1], facing_tile[2]) # Not on facing tile
|
||||
next if event.jumping?
|
||||
follower.interact(event)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user