Validate full shiny party achievement on initial encounter
This commit is contained in:
parent
70a4d54ec9
commit
cc98d9da7d
|
@ -599,6 +599,9 @@ export class EncounterPhase extends BattlePhase {
|
|||
console.log(enemyPokemon.name, enemyPokemon.species.speciesId, enemyPokemon.stats);
|
||||
});
|
||||
|
||||
if (this.scene.getParty().filter(p => p.isShiny()).length === 6)
|
||||
this.scene.validateAchv(achvs.SHINY_PARTY);
|
||||
|
||||
if (battle.battleType === BattleType.TRAINER)
|
||||
loadEnemyAssets.push(battle.trainer.loadAssets().then(() => battle.trainer.initSprite()));
|
||||
else {
|
||||
|
|
Loading…
Reference in New Issue