PR Feedback

This commit is contained in:
Michael Li 2024-10-14 23:20:01 -04:00
parent b5a812b0e3
commit c017252bda
2 changed files with 4 additions and 4 deletions

View File

@ -789,7 +789,7 @@ export default class BattleScene extends SceneBase {
}
getEnemyParty(): EnemyPokemon[] {
return this.currentBattle?.enemyParty || [];
return this.currentBattle?.enemyParty ?? [];
}
getEnemyPokemon(): EnemyPokemon | undefined {

View File

@ -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);