diff --git a/test/battle/ability_swap.test.ts b/test/battle/ability_swap.test.ts index b9c609e89f6..72991dba6b0 100644 --- a/test/battle/ability_swap.test.ts +++ b/test/battle/ability_swap.test.ts @@ -64,4 +64,15 @@ describe("Test Ability Swapping", () => { expect(game.scene.getPlayerPokemon()?.getStatStage(Stat.ATK)).toBe(1); // would be 2 if passive activated again }); + + // Pickup and Honey Gather are special cases as they're the only abilities to be Unsuppressable but not Unswappable + it("should be able to swap pickup", async () => { + game.override.ability(Abilities.PICKUP).enemyAbility(Abilities.INTIMIDATE).moveset(Moves.ROLE_PLAY); + await game.classicMode.startBattle([Species.FEEBAS]); + + game.move.select(Moves.ROLE_PLAY); + await game.phaseInterceptor.to("BerryPhase"); + + expect(game.scene.getEnemyPokemon()?.getStatStage(Stat.ATK)).toBe(-1); + }); });