Suggestions from review

This commit is contained in:
Wlowscha 2025-02-02 18:36:25 +01:00
parent b0b900133a
commit a275636e76
No known key found for this signature in database
GPG Key ID: 3C8F1AD330565D04
2 changed files with 3 additions and 1 deletions

View File

@ -51,6 +51,7 @@ describe("Abilities - Desolate Land", () => {
game.move.select(Moves.SPLASH, 1, 2);
await game.forceEnemyMove(Moves.ROAR, 0);
await game.forceEnemyMove(Moves.SPLASH, 1);
await game.phaseInterceptor.to("TurnEndPhase");
@ -66,6 +67,7 @@ describe("Abilities - Desolate Land", () => {
game.move.select(Moves.SPLASH, 1, 2);
await game.forceEnemyMove(Moves.ROAR, 1);
await game.forceEnemyMove(Moves.SPLASH, 0);
await game.phaseInterceptor.to("TurnEndPhase");

View File

@ -467,7 +467,7 @@ export default class GameManager {
this.doSelectPokeball(ballIndex);
}
// ???
doSelectPokeball(ballIndex: number) {
this.onNextPrompt("CommandPhase", Mode.BALL, () => {
const ballHandler = this.scene.ui.getHandler() as BallUiHandler;