mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-29 11:42:21 +02:00
Fix to pokemon number localization
This commit is contained in:
parent
aac5e2f704
commit
b5a3afdb91
@ -1727,7 +1727,7 @@ export default class PokedexUiHandler extends MessageUiHandler {
|
|||||||
|
|
||||||
if (species && (this.speciesStarterDexEntry?.seenAttr || this.speciesStarterDexEntry?.caughtAttr)) {
|
if (species && (this.speciesStarterDexEntry?.seenAttr || this.speciesStarterDexEntry?.caughtAttr)) {
|
||||||
|
|
||||||
this.pokemonNumberText.setText("pokedexUiHandler:pokemonNumber" + padInt(species.speciesId, 4));
|
this.pokemonNumberText.setText("pokedexUiHandler:pokemonNumber") + padInt(species.speciesId, 4);
|
||||||
|
|
||||||
if (starterAttributes?.nickname) {
|
if (starterAttributes?.nickname) {
|
||||||
const name = decodeURIComponent(escape(atob(starterAttributes.nickname)));
|
const name = decodeURIComponent(escape(atob(starterAttributes.nickname)));
|
||||||
|
Loading…
Reference in New Issue
Block a user