diff --git a/test/moves/chilly_reception.test.ts b/test/moves/chilly_reception.test.ts index 4d15bfff284..8c54a4df85a 100644 --- a/test/moves/chilly_reception.test.ts +++ b/test/moves/chilly_reception.test.ts @@ -116,7 +116,7 @@ describe("Moves - Chilly Reception", () => { }); it("should succeed without message if called indirectly", async () => { - vi.spyOn(RandomMoveAttr.prototype, "getMoveOverride").mockReturnValue(MoveId.CHILLY_RECEPTION); + vi.spyOn(RandomMoveAttr.prototype, "getMove").mockReturnValue(MoveId.CHILLY_RECEPTION); await game.classicMode.startBattle([SpeciesId.SLOWKING, SpeciesId.MEOWTH]); const [slowking, meowth] = game.scene.getPlayerParty(); diff --git a/test/moves/nature-power.test.ts b/test/moves/nature-power.test.ts index 729e7fe991b..e0a70a2dc10 100644 --- a/test/moves/nature-power.test.ts +++ b/test/moves/nature-power.test.ts @@ -30,7 +30,7 @@ describe("Move - Nature Power", () => { game.override .ability(AbilityId.BALL_FETCH) .battleStyle("single") - .disableCrits() + .criticalHits(false) .enemySpecies(SpeciesId.MAGIKARP) .enemyAbility(AbilityId.NO_GUARD) .enemyMoveset(MoveId.SPLASH)