mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-10 14:44:58 +00:00
Fixed X items not working, fixed Knock Off being able to remove usable Mega Stones
This commit is contained in:
@@ -485,7 +485,7 @@ class Battle
|
||||
|
||||
# This method only counts the player's Pokémon, not a partner trainer's.
|
||||
def pbPlayerBattlerCount
|
||||
return allSameSideBattlers(idxBattler).select { |b| b.pbOwnedByPlayer? }.length
|
||||
return allSameSideBattlers.select { |b| b.pbOwnedByPlayer? }.length
|
||||
end
|
||||
|
||||
def pbCheckGlobalAbility(abil)
|
||||
|
||||
Reference in New Issue
Block a user