mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-18 22:32:32 +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,
|
form: pokemon.formIndex,
|
||||||
female: pokemon.gender === Gender.FEMALE,
|
female: pokemon.gender === Gender.FEMALE,
|
||||||
};
|
};
|
||||||
globalScene.ui.setOverlayMode(
|
globalScene.ui.setOverlayMode(Mode.POKEDEX_PAGE, pokemon.species, attributes, null, null, () => {
|
||||||
Mode.POKEDEX_PAGE,
|
globalScene.ui.setMode(Mode.MESSAGE).then(() => {
|
||||||
pokemon.species,
|
promptRelease();
|
||||||
attributes,
|
});
|
||||||
[pokemon.species.speciesId],
|
});
|
||||||
null,
|
|
||||||
() => {
|
|
||||||
globalScene.ui.setMode(Mode.MESSAGE).then(() => {
|
|
||||||
promptRelease();
|
|
||||||
});
|
|
||||||
},
|
|
||||||
);
|
|
||||||
},
|
},
|
||||||
() => {
|
() => {
|
||||||
globalScene.ui.setMode(
|
globalScene.ui.setMode(
|
||||||
|
Loading…
Reference in New Issue
Block a user