mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-02-05 19:00:01 +01:00
Update src/battle_script_commands.c
Co-authored-by: LOuroboros <lunosouroboros@gmail.com>
This commit is contained in:
parent
915054e84e
commit
bcf272353c
@ -12290,7 +12290,6 @@ static void Cmd_trygetintimidatetarget(void)
|
|||||||
static void Cmd_switchoutabilities(void)
|
static void Cmd_switchoutabilities(void)
|
||||||
{
|
{
|
||||||
gActiveBattler = GetBattlerForBattleScript(gBattlescriptCurrInstr[1]);
|
gActiveBattler = GetBattlerForBattleScript(gBattlescriptCurrInstr[1]);
|
||||||
|
|
||||||
if (gBattleMons[gActiveBattler].ability == ABILITY_NEUTRALIZING_GAS)
|
if (gBattleMons[gActiveBattler].ability == ABILITY_NEUTRALIZING_GAS)
|
||||||
{
|
{
|
||||||
gBattleMons[gActiveBattler].ability = ABILITY_NONE;
|
gBattleMons[gActiveBattler].ability = ABILITY_NONE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user