mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-21 14:59:26 +02:00
Update src/test/moves/camouflage.test.ts
Co-authored-by: PigeonBar <56974298+PigeonBar@users.noreply.github.com>
This commit is contained in:
parent
c8f8f6a9c2
commit
a11f30d999
@ -39,6 +39,7 @@ describe("Moves - Camouflage", () => {
|
|||||||
const playerPokemon = game.scene.getPlayerPokemon()!;
|
const playerPokemon = game.scene.getPlayerPokemon()!;
|
||||||
|
|
||||||
game.move.select(Moves.CAMOUFLAGE);
|
game.move.select(Moves.CAMOUFLAGE);
|
||||||
|
await game.setTurnOrder([BattlerIndex.ENEMY, BattlerIndex.PLAYER]);
|
||||||
await game.phaseInterceptor.to("BerryPhase");
|
await game.phaseInterceptor.to("BerryPhase");
|
||||||
expect(game.scene.arena.getTerrainType()).toBe(TerrainType.PSYCHIC);
|
expect(game.scene.arena.getTerrainType()).toBe(TerrainType.PSYCHIC);
|
||||||
const pokemonType = playerPokemon.getTypes()[0];
|
const pokemonType = playerPokemon.getTypes()[0];
|
||||||
|
Loading…
Reference in New Issue
Block a user