Fix Baton Pass achievement

pull/16/head
Flashfyre 2024-02-21 18:25:47 -05:00
parent e4bac55d75
commit 0bebccd625
1 changed files with 1 additions and 1 deletions

View File

@ -1292,7 +1292,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
this.summonData.battleStats[stat] = source.summonData.battleStats[stat];
for (let tag of source.summonData.tags)
this.summonData.tags.push(tag);
if (this instanceof PlayerPokemon && battleStats.filter(bs => bs === 6).length)
if (this instanceof PlayerPokemon && source.summonData.battleStats.find(bs => bs === 6))
this.scene.validateAchv(achvs.TRANSFER_MAX_BATTLE_STAT);
}