Allow turning pages

This commit is contained in:
Wlowscha 2025-03-29 00:28:12 +01:00
parent 08006138e3
commit 94b435f192
No known key found for this signature in database
GPG Key ID: 3C8F1AD330565D04

View File

@ -329,18 +329,11 @@ export class AttemptCapturePhase extends PokemonPhase {
form: pokemon.formIndex,
female: pokemon.gender === Gender.FEMALE,
};
globalScene.ui.setOverlayMode(
Mode.POKEDEX_PAGE,
pokemon.species,
attributes,
[pokemon.species.speciesId],
null,
() => {
globalScene.ui.setMode(Mode.MESSAGE).then(() => {
promptRelease();
});
},
);
globalScene.ui.setOverlayMode(Mode.POKEDEX_PAGE, pokemon.species, attributes, null, null, () => {
globalScene.ui.setMode(Mode.MESSAGE).then(() => {
promptRelease();
});
});
},
() => {
globalScene.ui.setMode(