trainer dialogue (#81)
parent
8dc96c0070
commit
7c8aed50cd
1670
src/data/dialogue.ts
1670
src/data/dialogue.ts
File diff suppressed because it is too large
Load Diff
|
@ -309,7 +309,7 @@ export class TrainerConfig {
|
||||||
}
|
}
|
||||||
|
|
||||||
setEncounterBgm(encounterBgm: TrainerType | string): TrainerConfig {
|
setEncounterBgm(encounterBgm: TrainerType | string): TrainerConfig {
|
||||||
this.encounterBgm = typeof encounterBgm === 'number' ? TrainerType[encounterBgm].toString().replace(/\_/g, ' ').toLowerCase() : encounterBgm;
|
this.encounterBgm = typeof encounterBgm === 'number' ? TrainerType[encounterBgm].toString().toLowerCase() : encounterBgm;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue