Merge pull request #100 from KamilaBorowska/fix-aromatherapy-bug

Make Aromatherapy work when user is not statused
This commit is contained in:
infinitefusion
2025-02-24 11:44:27 -05:00
committed by GitHub

View File

@@ -394,12 +394,10 @@ class PokeBattle_Move_019 < PokeBattle_Move
failed = false
break
end
if !failed
@battle.pbParty(user.index).each do |pkmn|
next if !pkmn || !pkmn.able? || pkmn.status == :NONE
failed = false
break
end
@battle.pbParty(user.index).each do |pkmn|
next if !pkmn || !pkmn.able? || pkmn.status == :NONE
failed = false
break
end
if failed
@battle.pbDisplay(_INTL("But it failed!"))