trainer dialogue (#81)

This commit is contained in:
ARSOD-Z authored and GitHub committed 2024-04-10 22:39:42 -04:00
1 parent 8dc96c0070
commit 7c8aed50cd
2 files changed
+1663 -9

No files matched your search

+1662 -8
View File
File diff suppressed because it is too large. Load diff
+1 -1
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;
} }