Update src/test/abilities/wimp_out.test.ts

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
muscode 2024-11-23 12:59:45 -06:00 committed by GitHub
parent 5852038f7b
commit 524fe709f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -646,9 +646,7 @@ describe("Abilities - Wimp Out", () => {
Species.RAICHU,
Species.PIKACHU
]);
const enemyPokemon = game.scene.getEnemyField();
const wimpod0 = enemyPokemon[0];
const wimpod1 = enemyPokemon[1];
const [ wimpod0, wimpod1 ] = game.scene.getEnemyField();
game.move.select(Moves.FALSE_SWIPE, 0, BattlerIndex.ENEMY);
game.move.select(Moves.MATCHA_GOTCHA, 1);