[UI/UX] Pokédex - Move Pokédex option up the starter select screen menu #5376

This commit is contained in:
Wlowscha 2025-02-21 09:26:50 +01:00 committed by GitHub
parent bec73fd8d3
commit 97aeceab58
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 9 additions and 9 deletions

View File

@ -1984,15 +1984,6 @@ export default class StarterSelectUiHandler extends MessageUiHandler {
yOffset: 47
});
};
if (!pokemonPrevolutions.hasOwnProperty(this.lastSpecies.speciesId)) {
options.push({
label: i18next.t("starterSelectUiHandler:useCandies"),
handler: () => {
ui.setMode(Mode.STARTER_SELECT).then(() => showUseCandies());
return true;
}
});
}
options.push({
label: i18next.t("menuUiHandler:POKEDEX"),
handler: () => {
@ -2008,6 +1999,15 @@ export default class StarterSelectUiHandler extends MessageUiHandler {
return true;
}
});
if (!pokemonPrevolutions.hasOwnProperty(this.lastSpecies.speciesId)) {
options.push({
label: i18next.t("starterSelectUiHandler:useCandies"),
handler: () => {
ui.setMode(Mode.STARTER_SELECT).then(() => showUseCandies());
return true;
}
});
}
options.push({
label: i18next.t("menu:cancel"),
handler: () => {