mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-29 11:42:21 +02:00
Suggestions from review
This commit is contained in:
parent
b0b900133a
commit
a275636e76
@ -51,6 +51,7 @@ describe("Abilities - Desolate Land", () => {
|
|||||||
game.move.select(Moves.SPLASH, 1, 2);
|
game.move.select(Moves.SPLASH, 1, 2);
|
||||||
|
|
||||||
await game.forceEnemyMove(Moves.ROAR, 0);
|
await game.forceEnemyMove(Moves.ROAR, 0);
|
||||||
|
await game.forceEnemyMove(Moves.SPLASH, 1);
|
||||||
|
|
||||||
await game.phaseInterceptor.to("TurnEndPhase");
|
await game.phaseInterceptor.to("TurnEndPhase");
|
||||||
|
|
||||||
@ -66,6 +67,7 @@ describe("Abilities - Desolate Land", () => {
|
|||||||
game.move.select(Moves.SPLASH, 1, 2);
|
game.move.select(Moves.SPLASH, 1, 2);
|
||||||
|
|
||||||
await game.forceEnemyMove(Moves.ROAR, 1);
|
await game.forceEnemyMove(Moves.ROAR, 1);
|
||||||
|
await game.forceEnemyMove(Moves.SPLASH, 0);
|
||||||
|
|
||||||
await game.phaseInterceptor.to("TurnEndPhase");
|
await game.phaseInterceptor.to("TurnEndPhase");
|
||||||
|
|
||||||
|
@ -467,7 +467,7 @@ export default class GameManager {
|
|||||||
|
|
||||||
this.doSelectPokeball(ballIndex);
|
this.doSelectPokeball(ballIndex);
|
||||||
}
|
}
|
||||||
// ???
|
|
||||||
doSelectPokeball(ballIndex: number) {
|
doSelectPokeball(ballIndex: number) {
|
||||||
this.onNextPrompt("CommandPhase", Mode.BALL, () => {
|
this.onNextPrompt("CommandPhase", Mode.BALL, () => {
|
||||||
const ballHandler = this.scene.ui.getHandler() as BallUiHandler;
|
const ballHandler = this.scene.ui.getHandler() as BallUiHandler;
|
||||||
|
Loading…
Reference in New Issue
Block a user