From bd00df400ad0c7882d4c217a7fb555313e2c4e9a Mon Sep 17 00:00:00 2001 From: BuffelSaft Date: Sun, 22 May 2022 11:51:20 +1200 Subject: [PATCH] Fix indentation in IsMoveAffectedByParentalBond --- src/battle_script_commands.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c index e1f02c768..75a27c9de 100644 --- a/src/battle_script_commands.c +++ b/src/battle_script_commands.c @@ -14479,16 +14479,16 @@ bool8 IsMoveAffectedByParentalBond(u16 move, u8 battlerId) { switch (GetBattlerMoveTargetType(battlerId, move)) { - case MOVE_TARGET_BOTH: - if (CountAliveMonsInBattle(BATTLE_ALIVE_DEF_SIDE) >= 2) // Check for single target - return FALSE; - break; - case MOVE_TARGET_FOES_AND_ALLY: - if (CountAliveMonsInBattle(BATTLE_ALIVE_EXCEPT_ACTIVE) >= 2) // Count mons on both sides; ignore attacker - return FALSE; - break; - default: + case MOVE_TARGET_BOTH: + if (CountAliveMonsInBattle(BATTLE_ALIVE_DEF_SIDE) >= 2) // Check for single target + return FALSE; break; + case MOVE_TARGET_FOES_AND_ALLY: + if (CountAliveMonsInBattle(BATTLE_ALIVE_EXCEPT_ACTIVE) >= 2) // Count mons on both sides; ignore attacker + return FALSE; + break; + default: + break; } } return TRUE;