mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 14:14:59 +00:00
Added "airborne" event name tag, can have Safari battles with no party, fixed Micle Berry, fixed data box not refreshing when Illusion is broken, added triggers for more EoR animations
This commit is contained in:
@@ -206,11 +206,12 @@ class Game_Character
|
||||
end
|
||||
|
||||
def bush_depth
|
||||
return 0 if respond_to?("name") && name[/airborne/i]
|
||||
return @bush_depth || 0
|
||||
end
|
||||
|
||||
def calculate_bush_depth
|
||||
if @tile_id > 0 || @always_on_top || jumping?
|
||||
if @tile_id > 0 || @always_on_top || jumping? || (respond_to?("name") && name[/airborne/i])
|
||||
@bush_depth = 0
|
||||
return
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user