mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-22 15:29:27 +02:00
PR Feedback
This commit is contained in:
parent
b5a812b0e3
commit
c017252bda
@ -789,7 +789,7 @@ export default class BattleScene extends SceneBase {
|
||||
}
|
||||
|
||||
getEnemyParty(): EnemyPokemon[] {
|
||||
return this.currentBattle?.enemyParty || [];
|
||||
return this.currentBattle?.enemyParty ?? [];
|
||||
}
|
||||
|
||||
getEnemyPokemon(): EnemyPokemon | undefined {
|
||||
|
@ -140,7 +140,7 @@ describe("The Expert Pokémon Breeder - Mystery Encounter", () => {
|
||||
}));
|
||||
}
|
||||
|
||||
return scene.currentBattle?.enemyParty || [];
|
||||
return scene.currentBattle?.enemyParty ?? [];
|
||||
});
|
||||
|
||||
await runMysteryEncounterToEnd(game, 1, undefined, true);
|
||||
@ -219,7 +219,7 @@ describe("The Expert Pokémon Breeder - Mystery Encounter", () => {
|
||||
}));
|
||||
}
|
||||
|
||||
return scene.currentBattle?.enemyParty || [];
|
||||
return scene.currentBattle?.enemyParty ?? [];
|
||||
});
|
||||
|
||||
await runMysteryEncounterToEnd(game, 2, undefined, true);
|
||||
@ -298,7 +298,7 @@ describe("The Expert Pokémon Breeder - Mystery Encounter", () => {
|
||||
}));
|
||||
}
|
||||
|
||||
return scene.currentBattle?.enemyParty || [];
|
||||
return scene.currentBattle?.enemyParty ?? [];
|
||||
});
|
||||
|
||||
await runMysteryEncounterToEnd(game, 3, undefined, true);
|
||||
|
Loading…
Reference in New Issue
Block a user