mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 14:14:59 +00:00
Fixed: some items not working in battle, typo in Shell Trap's AI, Vs animation not triggering, Battle Factory Pokémon being chosen incorrectly, Battle Factory double mode being single battles, some game data not being cleared when compiling
This commit is contained in:
@@ -411,7 +411,7 @@ class PokeBattle_Battler
|
||||
def hasActiveItem?(check_item, ignore_fainted = false)
|
||||
return false if !itemActive?(ignore_fainted)
|
||||
return check_item.include?(@item_id) if check_item.is_a?(Array)
|
||||
return check_item == self.item
|
||||
return self.item == check_item
|
||||
end
|
||||
alias hasWorkingItem hasActiveItem?
|
||||
|
||||
|
||||
Reference in New Issue
Block a user