summaryrefslogtreecommitdiff
path: root/src/battle_script_commands.c
diff options
context:
space:
mode:
authorhjk321 <37224753+hjk321@users.noreply.github.com>2019-05-02 22:26:11 -0500
committerhuderlem <huderlem@gmail.com>2019-05-03 18:21:11 -0500
commitee4049d93edfeb24a315c40e3d6849278cdb33e5 (patch)
tree7c11e00c90d93d87b0338b480c39937f7406f290 /src/battle_script_commands.c
parent438c5432aa2c14cb54402071aa8b8cc3557decf5 (diff)
Fix indentation Error
Diffstat (limited to 'src/battle_script_commands.c')
-rw-r--r--src/battle_script_commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c
index f7eed0760..d2496881e 100644
--- a/src/battle_script_commands.c
+++ b/src/battle_script_commands.c
@@ -1277,7 +1277,7 @@ static void atk04_critcalc(void)
+ 2 * (holdEffect == HOLD_EFFECT_STICK && gBattleMons[gBattlerAttacker].species == SPECIES_FARFETCHD);
if (critChance > ARRAY_COUNT(sCriticalHitChance) - 1 )
- critChance = ARRAY_COUNT(sCriticalHitChance) - 1;
+ critChance = ARRAY_COUNT(sCriticalHitChance) - 1;
if ((gBattleMons[gBattlerTarget].ability != ABILITY_BATTLE_ARMOR && gBattleMons[gBattlerTarget].ability != ABILITY_SHELL_ARMOR)
&& !(gStatuses3[gBattlerAttacker] & STATUS3_CANT_SCORE_A_CRIT)