diff --git a/src/field/trainer.ts b/src/field/trainer.ts index 10991226dba..5c5b75daf51 100644 --- a/src/field/trainer.ts +++ b/src/field/trainer.ts @@ -394,6 +394,10 @@ export default class Trainer extends Phaser.GameObjects.Container { this.teraIndexes.push(index + 1); // If it's Shedinja and it's set to tera to something other than Bug, set tera index to the next mon } + if (this.config.specialtyType !== Type.UNKNOWN) { + ret!.teraType = this.config.specialtyType; + } + return ret!; // TODO: is this bang correct? }