mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-19 14:52:19 +02:00
Allow turning pages
This commit is contained in:
parent
08006138e3
commit
94b435f192
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user