Done Protean/Libero switching in on Neutralizing Gas causes ability flag not to be reset

Mathy

graphic design is my passion
is a Programmeris a Forum Moderatoris a Battle Simulator Moderator
What type of bug are you reporting? Mechanics

What is the bug?
If a Protean/Libero Pokemon activates its ability once, switches out, then switches back in while a Neutralizing Gas Pokemon is active, Protean/Libero won't activate even after Neutralizing Gas stops working.

This is because Protean/Libero use an event callback to reset the flag, which Neutralizing Gas suppresses.

Are you able to replicate it? If so, how?
https://replay.pokemonshowdown.com/gen9anythinggoes-2249829058
Code:
>version baf9aa68cbe18cf25f290680a08c9ad9c5e3e828
>start {"formatid":"gen9anythinggoes","seed":[40791,64612,63041,20612]}
>player p1 {"name":"Mathy","avatar":"#psstaffm","team":"Woah fuckin ho|Koffing||NeutralizingGas|SleepTalk||1,,,,,|F|,0,,,,|||,,,,,Poison]Chaw fuckin haw|Skuntank||Stench|SleepTalk||1,,,,,|M|,0,,,,|||,,,,,Poison","rating":0}
>player p2 {"name":"Chillet","avatar":"170","team":"Cinderace|||Libero|Agility||1,,,,,|M|,0,,,,|||,,,,,Fire]Furret|||RunAway|SleepTalk||1,,,,,|M|,0,,,,|||,,,,,Normal","rating":0}
>p1 team 2, 1
>p2 team 1, 2
>p1 move sleeptalk
>p2 move agility
>p1 switch 2
>p2 switch 2
>p1 move sleeptalk
>p2 switch 2
>p1 switch 2
>p2 move agility
>p1 move sleeptalk
>p2 move agility
>p1 move sleeptalk
>p2 move agility
>forcelose p2
 
Back
Top