From 139e57e56a31ca27c4d97ca47ea2e69653fca4e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bastos=20Dias?= <80102738+andrebastosdias@users.noreply.github.com> Date: Wed, 27 Aug 2025 19:22:41 +0100 Subject: [PATCH] Add test for Poison Puppeteer and Lum Berry interaction (#11375) --- test/sim/items/lumberry.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test/sim/items/lumberry.js b/test/sim/items/lumberry.js index 7e926d53ad..4cca997639 100644 --- a/test/sim/items/lumberry.js +++ b/test/sim/items/lumberry.js @@ -38,4 +38,14 @@ describe('Lum Berry', () => { assert.equal(attacker.status, ''); assert(attacker.volatiles['confusion']); }); + + it('should cure Poison and confusion after Poison Puppeteer activation', () => { + battle = common.createBattle(); + battle.setPlayer('p1', { team: [{ species: 'Charizard', item: 'lumberry', moves: ['sleeptalk'] }] }); + battle.setPlayer('p2', { team: [{ species: 'Pecharunt', ability: 'poisonpuppeteer', moves: ['toxic'] }] }); + const charizard = battle.p1.active[0]; + battle.makeChoices(); + assert.equal(charizard.status, ''); + assert(!charizard.volatiles['confusion']); + }); });