Fix not passing trainer name when loading data

This commit is contained in:
Flashfyre committed 2024-03-26 21:21:27 -04:00
1 parent a33f54b7cb
commit c0b1724b1e
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -19,6 +19,6 @@ export default class TrainerData {
}
toTrainer(scene: BattleScene): Trainer {
return new Trainer(scene, this.trainerType, this.variant, this.partyTemplateIndex);
return new Trainer(scene, this.trainerType, this.variant, this.partyTemplateIndex, this.name, this.partnerName);
}
}