Fix not setting non initially visible party members as seen
parent
737499b1e9
commit
10f987cc5e
|
@ -615,10 +615,11 @@ export class EncounterPhase extends BattlePhase {
|
||||||
if (e < (battle.double ? 2 : 1)) {
|
if (e < (battle.double ? 2 : 1)) {
|
||||||
enemyPokemon.setX(-66 + enemyPokemon.getFieldPositionOffset()[0]);
|
enemyPokemon.setX(-66 + enemyPokemon.getFieldPositionOffset()[0]);
|
||||||
enemyPokemon.resetSummonData();
|
enemyPokemon.resetSummonData();
|
||||||
if (!this.loaded)
|
|
||||||
this.scene.gameData.setPokemonSeen(enemyPokemon);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!this.loaded)
|
||||||
|
this.scene.gameData.setPokemonSeen(enemyPokemon);
|
||||||
|
|
||||||
if (enemyPokemon.species.speciesId === Species.ETERNATUS) {
|
if (enemyPokemon.species.speciesId === Species.ETERNATUS) {
|
||||||
if (this.scene.gameMode.isClassic && (battle.battleSpec === BattleSpec.FINAL_BOSS || this.scene.gameMode.isWaveFinal(battle.waveIndex))) {
|
if (this.scene.gameMode.isClassic && (battle.battleSpec === BattleSpec.FINAL_BOSS || this.scene.gameMode.isWaveFinal(battle.waveIndex))) {
|
||||||
if (battle.battleSpec !== BattleSpec.FINAL_BOSS) {
|
if (battle.battleSpec !== BattleSpec.FINAL_BOSS) {
|
||||||
|
|
Loading…
Reference in New Issue