Update src/battle_script_commands.c

Spacing refix

Co-authored-by: LOuroboros <lunosouroboros@gmail.com>
This commit is contained in:
SonikkuA-DatH 2022-12-18 22:26:51 -08:00 committed by GitHub
parent 03b5d36249
commit c81b702a86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8160,12 +8160,10 @@ static bool32 IsAbilityMotorAffected(void)
else
moveType = gBattleMoves[gCurrentMove].type;
if (moveType == TYPE_ELECTRIC && GetBattlerAbility(gBattlerTarget) == ABILITY_MOTOR_DRIVE) {
if (moveType == TYPE_ELECTRIC && GetBattlerAbility(gBattlerTarget) == ABILITY_MOTOR_DRIVE)
return TRUE;
}
else {
else
return FALSE;
}
}
static bool32 IsAbilityAbsorbAffected(void)