diff --git a/test/moves/recovery-moves.test.ts b/test/moves/recovery-moves.test.ts index 92a481f7a7e..b9a7bb4523d 100644 --- a/test/moves/recovery-moves.test.ts +++ b/test/moves/recovery-moves.test.ts @@ -35,7 +35,7 @@ describe("Moves - Recovery Moves", () => { game.override .ability(AbilityId.BALL_FETCH) .battleStyle("single") - .disableCrits() + .criticalHits(false) .enemySpecies(SpeciesId.MAGIKARP) .enemyAbility(AbilityId.BALL_FETCH) .enemyMoveset(MoveId.SPLASH) @@ -83,7 +83,7 @@ describe("Moves - Recovery Moves", () => { game.override .ability(AbilityId.BALL_FETCH) .battleStyle("single") - .disableCrits() + .criticalHits(false) .enemySpecies(SpeciesId.MAGIKARP) .enemyAbility(AbilityId.BALL_FETCH) .enemyMoveset(MoveId.SPLASH) @@ -151,7 +151,7 @@ describe("Moves - Recovery Moves", () => { game.override .ability(AbilityId.BALL_FETCH) .battleStyle("single") - .disableCrits() + .criticalHits(false) .enemySpecies(SpeciesId.MAGIKARP) .enemyAbility(AbilityId.BALL_FETCH) .enemyMoveset(MoveId.SPLASH) diff --git a/test/moves/swallow-spit-up.test.ts b/test/moves/swallow-spit-up.test.ts index 80b817723f5..4c73d23e766 100644 --- a/test/moves/swallow-spit-up.test.ts +++ b/test/moves/swallow-spit-up.test.ts @@ -196,7 +196,9 @@ describe("Swallow & Spit Up", () => { const player = game.field.getPlayerPokemon(); player.hp = 1; - player.addTag(BattlerTagType.STOCKPILING); + game.move.use(MoveId.STOCKPILE); + await game.toNextTurn(); + const stockpilingTag = player.getTag(StockpilingTag)!; expect(stockpilingTag).toBeDefined(); expect(player.getStatStage(Stat.DEF)).toBe(1);