From 2f4183c57cb40be3488d78ecf8298d9dec363854 Mon Sep 17 00:00:00 2001 From: Wlowscha <54003515+Wlowscha@users.noreply.github.com> Date: Fri, 27 Dec 2024 11:35:07 +0100 Subject: [PATCH] Fixed move effectiveness test to assign mons to scene.field --- src/test/moves/effectiveness.test.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/moves/effectiveness.test.ts b/src/test/moves/effectiveness.test.ts index 5ad258d7990..92dacfcdfa5 100644 --- a/src/test/moves/effectiveness.test.ts +++ b/src/test/moves/effectiveness.test.ts @@ -21,6 +21,8 @@ function testMoveEffectiveness(game: GameManager, move: Moves, targetSpecies: Sp const user = game.scene.addPlayerPokemon(getPokemonSpecies(Species.SNORLAX), 5); const target = game.scene.addEnemyPokemon(getPokemonSpecies(targetSpecies), 5, TrainerSlot.NONE); + game.scene.field.add(user); + game.scene.field.add(target); if (teraType !== undefined) { overrideHeldItems(game.scene, target, false);