mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-10 14:44:58 +00:00
Fixed party order not being altered at the start of battle if there are unable Pokémon before the one(s) sent in initially
This commit is contained in:
@@ -8,7 +8,7 @@ class Battle
|
||||
return false
|
||||
end
|
||||
# Embargo
|
||||
if battler&.effects[PBEffects::Embargo] > 0
|
||||
if battler && battler.effects[PBEffects::Embargo] > 0
|
||||
if showMessages
|
||||
scene.pbDisplay(_INTL("Embargo's effect prevents the item's use on {1}!",
|
||||
battler.pbThis(true)))
|
||||
|
||||
Reference in New Issue
Block a user