Make Aromatherapy work when user is not statused

This commit is contained in:
Konrad Borowski
2023-07-23 09:19:00 +02:00
parent 38ea210de7
commit bd11977c80

View File

@@ -409,12 +409,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!"))