From 2e0fee5022630b33f244d2ee53109a337d5bb594 Mon Sep 17 00:00:00 2001 From: AJ Fontaine Date: Fri, 21 Feb 2025 12:14:40 -0500 Subject: [PATCH] Set trainer mon tera types to specialty type --- src/field/pokemon.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/field/pokemon.ts b/src/field/pokemon.ts index 6f9e2832466..d7263d272a9 100644 --- a/src/field/pokemon.ts +++ b/src/field/pokemon.ts @@ -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 {