Fixes Neutralizing Gas activating again after switch-in (#6667)
This commit is contained in:
parent
d220459a01
commit
007d7e712e
@ -8179,6 +8179,7 @@ static bool32 DoSwitchInEffectsForBattler(u32 battler)
|
||||
{
|
||||
gBattleCommunication[MULTISTRING_CHOOSER] = B_MSG_SWITCHIN_NEUTRALIZING_GAS;
|
||||
gSpecialStatuses[battler].announceNeutralizingGas = TRUE;
|
||||
gDisableStructs[battler].neutralizingGas = TRUE;
|
||||
gBattlerAbility = battler;
|
||||
BattleScriptPushCursor();
|
||||
gBattlescriptCurrInstr = BattleScript_SwitchInAbilityMsgRet;
|
||||
|
||||
@ -84,7 +84,6 @@ SINGLE_BATTLE_TEST("Teraform Zero cannot be copied")
|
||||
|
||||
DOUBLE_BATTLE_TEST("Teraform Zero shouldn't cause Neutralizing Gas to show it's popup when trying to activate")
|
||||
{
|
||||
KNOWN_FAILING; // #5010
|
||||
GIVEN {
|
||||
PLAYER(SPECIES_TERAPAGOS_TERASTAL);
|
||||
PLAYER(SPECIES_ABSOL) {Ability(ABILITY_PRESSURE); }
|
||||
@ -95,8 +94,8 @@ DOUBLE_BATTLE_TEST("Teraform Zero shouldn't cause Neutralizing Gas to show it's
|
||||
TURN { SWITCH(playerRight, 2); MOVE(playerLeft, MOVE_CELEBRATE, gimmick: GIMMICK_TERA); }
|
||||
} SCENE {
|
||||
MESSAGE("Terapagos is storing energy!");
|
||||
MESSAGE("Terapagos terastalized into the Stellar type!");
|
||||
MESSAGE("Terapagos terastallized into the Stellar type!");
|
||||
NOT ABILITY_POPUP(playerRight, ABILITY_NEUTRALIZING_GAS);
|
||||
MESSAGE("Terapagos used Celebreate!");
|
||||
MESSAGE("Terapagos used Celebrate!");
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user