Fix not passing trainer name when loading data
parent
a33f54b7cb
commit
c0b1724b1e
|
@ -13,6 +13,7 @@ export const splashMessages = [
|
|||
'Broken Egg Moves!',
|
||||
'Mubstitute!',
|
||||
'That\'s Crazy!',
|
||||
'Orance Juice!',
|
||||
'Questionable Balancing!',
|
||||
'Sudden Difficulty Spikes!',
|
||||
'Based on an Unfinished Flash Game!',
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue