mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 19:47:35 +01:00
Update src/battle_script_commands.c
Bracket fixing Co-authored-by: LOuroboros <lunosouroboros@gmail.com>
This commit is contained in:
parent
c81b702a86
commit
bf1a205661
@ -8141,12 +8141,10 @@ static bool32 IsAbilityRodAffected(void)
|
||||
else
|
||||
moveType = gBattleMoves[gCurrentMove].type;
|
||||
|
||||
if (moveType == TYPE_ELECTRIC && GetBattlerAbility(gBattlerTarget) == ABILITY_LIGHTNING_ROD) {
|
||||
if (moveType == TYPE_ELECTRIC && GetBattlerAbility(gBattlerTarget) == ABILITY_LIGHTNING_ROD)
|
||||
return TRUE;
|
||||
}
|
||||
else {
|
||||
else
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
static bool32 IsAbilityMotorAffected(void)
|
||||
|
Loading…
Reference in New Issue
Block a user