trainer dialogue (#81)

pull/84/head
ARSOD-Z 2024-04-10 23:39:42 -03:00 committed by GitHub
parent 8dc96c0070
commit 7c8aed50cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1663 additions and 9 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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;
} }