Fix not setting non initially visible party members as seen

pull/57/head
Flashfyre 2024-04-07 20:16:03 -04:00
parent 737499b1e9
commit 10f987cc5e
1 changed files with 3 additions and 2 deletions

View File

@ -615,9 +615,10 @@ export class EncounterPhase extends BattlePhase {
if (e < (battle.double ? 2 : 1)) {
enemyPokemon.setX(-66 + enemyPokemon.getFieldPositionOffset()[0]);
enemyPokemon.resetSummonData();
}
if (!this.loaded)
this.scene.gameData.setPokemonSeen(enemyPokemon);
}
if (enemyPokemon.species.speciesId === Species.ETERNATUS) {
if (this.scene.gameMode.isClassic && (battle.battleSpec === BattleSpec.FINAL_BOSS || this.scene.gameMode.isWaveFinal(battle.waveIndex))) {