Fix not passing trainer name when loading data
parent
a33f54b7cb
commit
c0b1724b1e
|
@ -13,6 +13,7 @@ export const splashMessages = [
|
||||||
'Broken Egg Moves!',
|
'Broken Egg Moves!',
|
||||||
'Mubstitute!',
|
'Mubstitute!',
|
||||||
'That\'s Crazy!',
|
'That\'s Crazy!',
|
||||||
|
'Orance Juice!',
|
||||||
'Questionable Balancing!',
|
'Questionable Balancing!',
|
||||||
'Sudden Difficulty Spikes!',
|
'Sudden Difficulty Spikes!',
|
||||||
'Based on an Unfinished Flash Game!',
|
'Based on an Unfinished Flash Game!',
|
||||||
|
|
|
@ -19,6 +19,6 @@ export default class TrainerData {
|
||||||
}
|
}
|
||||||
|
|
||||||
toTrainer(scene: BattleScene): Trainer {
|
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