Update src/battle_script_commands.c

Co-authored-by: LOuroboros <lunosouroboros@gmail.com>
This commit is contained in:
ghoulslash 2021-10-30 11:54:09 -04:00 committed by GitHub
parent 915054e84e
commit bcf272353c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12290,7 +12290,6 @@ static void Cmd_trygetintimidatetarget(void)
static void Cmd_switchoutabilities(void)
{
gActiveBattler = GetBattlerForBattleScript(gBattlescriptCurrInstr[1]);
if (gBattleMons[gActiveBattler].ability == ABILITY_NEUTRALIZING_GAS)
{
gBattleMons[gActiveBattler].ability = ABILITY_NONE;