Pokemon name shown while in alt form is no more capitalized

This commit is contained in:
Wlowscha 2025-01-09 01:07:04 +01:00
parent 113d134b33
commit 215f9e8141
No known key found for this signature in database
GPG Key ID: 3C8F1AD330565D04
1 changed files with 1 additions and 1 deletions

View File

@ -1369,7 +1369,7 @@ export default class PokedexPageUiHandler extends MessageUiHandler {
this.battleForms.map(bf => { this.battleForms.map(bf => {
let label: string = this.getFormString(bf.formKey, this.lastSpecies); let label: string = this.getFormString(bf.formKey, this.lastSpecies);
if (!label && bf.formIndex === 0) { if (!label && bf.formIndex === 0) {
label = i18next.t(`pokemon:${Species[bf.speciesId].toUpperCase()}`); label = this.lastSpecies.name;
} }
options.push({ options.push({
label: label, label: label,