Set trainer mon tera types to specialty type

This commit is contained in:
AJ Fontaine 2025-02-21 12:14:40 -05:00
parent 009348d13d
commit 2e0fee5022

View File

@ -4846,6 +4846,10 @@ export class EnemyPokemon extends Pokemon {
}
this.aiType = boss || this.hasTrainer() ? AiType.SMART : AiType.SMART_RANDOM;
if (this.hasTrainer() && globalScene.currentBattle.trainer && globalScene.currentBattle.trainer.config.specialtyType > Type.UNKNOWN) {
this.teraType = globalScene.currentBattle.trainer.config.specialtyType;
}
}
initBattleInfo(): void {