mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-02-21 03:33:36 +01:00
Update src/battle_script_commands.c
Co-authored-by: LOuroboros <lunosouroboros@gmail.com>
This commit is contained in:
parent
1e2eeb4d79
commit
bca47a0891
@ -6914,7 +6914,7 @@ bool32 ShouldPostponeSwitchInAbilities(u32 battlerId)
|
||||
{
|
||||
bool32 aliveOpposing1 = IsBattlerAlive(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)
|
||||
return TRUE;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user