mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-28 11:12:24 +02:00
Adding Pokedéx option in starter select screen
This commit is contained in:
parent
1d234c790d
commit
05d11b40fc
@ -1981,6 +1981,21 @@ export default class StarterSelectUiHandler extends MessageUiHandler {
|
||||
}
|
||||
});
|
||||
}
|
||||
options.push({
|
||||
label: i18next.t("menuUiHandler:POKEDEX"),
|
||||
handler: () => {
|
||||
ui.setMode(Mode.STARTER_SELECT).then(() => {
|
||||
const attributes = {
|
||||
shiny: starterAttributes.shiny,
|
||||
variant: starterAttributes.variant,
|
||||
form: starterAttributes.form,
|
||||
female: starterAttributes.female
|
||||
};
|
||||
ui.setOverlayMode(Mode.POKEDEX_PAGE, this.lastSpecies, starterAttributes.form, attributes);
|
||||
return true;
|
||||
});
|
||||
}
|
||||
});
|
||||
options.push({
|
||||
label: i18next.t("menu:cancel"),
|
||||
handler: () => {
|
||||
|
Loading…
Reference in New Issue
Block a user