geeilhan d5146a57b9
[Bug] Fix Lingering Arena Trap if Pokemon Switches Out (#4755)
* [P2 BUG] Fixed Lingering Arena Trap if Pokemon Switches Out (#3713)

* added switchOutStatus for all relevant moves

* Added Lingering Arena Trap Fix for Mystery Encounters

* Removing Redundant switchOutStatus Sets

* added automated test case to arena trap test

* Update src/field/pokemon.ts

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>

* Update src/test/abilities/arena_trap.test.ts

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>

---------

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
Co-authored-by: Moka <54149968+MokaStitcher@users.noreply.github.com>
2024-11-30 13:08:32 -08:00
..
2024-10-04 13:08:31 +08:00
2024-10-04 13:08:31 +08:00
2024-10-04 13:08:31 +08:00
2024-10-04 13:08:31 +08:00
2024-10-04 13:08:31 +08:00
2024-10-04 13:08:31 +08:00
2024-10-22 12:37:13 -04:00
2024-10-04 13:08:31 +08:00
2024-10-04 13:08:31 +08:00
2024-10-04 13:08:31 +08:00
2024-10-04 13:08:31 +08:00
2024-10-04 13:08:31 +08:00
2024-10-04 13:08:31 +08:00
2024-10-04 13:08:31 +08:00
2024-10-04 13:08:31 +08:00
2024-10-04 13:08:31 +08:00
2024-10-04 13:08:31 +08:00