Update src/battle_script_commands.c
Co-authored-by: LOuroboros <lunosouroboros@gmail.com>
This commit is contained in:
parent
1e2eeb4d79
commit
bca47a0891
1 changed files with 1 additions and 1 deletions
|
@ -6914,7 +6914,7 @@ bool32 ShouldPostponeSwitchInAbilities(u32 battlerId)
|
||||||
{
|
{
|
||||||
bool32 aliveOpposing1 = IsBattlerAlive(BATTLE_OPPOSITE(battlerId));
|
bool32 aliveOpposing1 = IsBattlerAlive(BATTLE_OPPOSITE(battlerId));
|
||||||
bool32 aliveOpposing2 = IsBattlerAlive(BATTLE_PARTNER(BATTLE_OPPOSITE(battlerId)));
|
bool32 aliveOpposing2 = IsBattlerAlive(BATTLE_PARTNER(BATTLE_OPPOSITE(battlerId)));
|
||||||
// No pokemon on opposing side - postopone.
|
// No pokemon on opposing side - postpone.
|
||||||
if (!aliveOpposing1 && !aliveOpposing2)
|
if (!aliveOpposing1 && !aliveOpposing2)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue