From 40727e708d4cfee46c99becfc578c89d98bd2df5 Mon Sep 17 00:00:00 2001 From: PhiSigma Date: Sat, 4 Nov 2023 15:05:54 +0100 Subject: [PATCH] replaced tabs with spaces --- src/battle_script_commands.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c index ba58c8c134..4be5644a07 100644 --- a/src/battle_script_commands.c +++ b/src/battle_script_commands.c @@ -1222,16 +1222,16 @@ static void Cmd_ppreduce(void) break; default: #ifdef BUGFIX - //There is an issue with asymmetrical interaction between non-ghost curse and pressure, - //since the player controller changes the target of non-ghost curse to the user, - //but the opponent controller doesn't, so the player's non-ghost curse loses 1 PP - //against and opponent with pressure, but an opponent's non-ghost curse loses 2 PP - //against a player with pressure. - //This bugfix ensures that non-ghost curse always only deducts 1 PP against pressure, - //regardless of used by the player or opponent. + //There is an issue with asymmetrical interaction between non-ghost curse and pressure, + //since the player controller changes the target of non-ghost curse to the user, + //but the opponent controller doesn't, so the player's non-ghost curse loses 1 PP + //against and opponent with pressure, but an opponent's non-ghost curse loses 2 PP + //against a player with pressure. + //This bugfix ensures that non-ghost curse always only deducts 1 PP against pressure, + //regardless of used by the player or opponent. if (gBattlerAttacker != gBattlerTarget && gBattleMons[gBattlerTarget].ability == ABILITY_PRESSURE && !(gBattleMoves[gCurrentMove].effect == EFFECT_CURSE && gBattleMons[gBattlerAttacker].type1 != TYPE_GHOST && gBattleMons[gBattlerAttacker].type2 != TYPE_GHOST)) #else - if (gBattlerAttacker != gBattlerTarget && gBattleMons[gBattlerTarget].ability == ABILITY_PRESSURE) + if (gBattlerAttacker != gBattlerTarget && gBattleMons[gBattlerTarget].ability == ABILITY_PRESSURE) #endif ppToDeduct++; break;