Move trainer mon tera type generation to genPartyMember func

This commit is contained in:
AJ Fontaine 2025-02-21 16:51:35 -05:00
parent b895fb2e1b
commit 2aa38929bd

View File

@ -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 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? return ret!; // TODO: is this bang correct?
} }