mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-20 23:32:19 +02:00
Also changing catching for mystery encounters
This commit is contained in:
parent
7ff1ded78c
commit
22436ec839
@ -741,6 +741,26 @@ export async function catchPokemon(
|
|||||||
false,
|
false,
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
() => {
|
||||||
|
const attributes = {
|
||||||
|
shiny: pokemon.shiny,
|
||||||
|
variant: pokemon.variant,
|
||||||
|
form: pokemon.formIndex,
|
||||||
|
female: pokemon.gender === Gender.FEMALE,
|
||||||
|
};
|
||||||
|
globalScene.ui.setOverlayMode(
|
||||||
|
Mode.POKEDEX_PAGE,
|
||||||
|
pokemon.species,
|
||||||
|
pokemon.formIndex,
|
||||||
|
attributes,
|
||||||
|
null,
|
||||||
|
() => {
|
||||||
|
globalScene.ui.setMode(Mode.MESSAGE).then(() => {
|
||||||
|
promptRelease();
|
||||||
|
});
|
||||||
|
},
|
||||||
|
);
|
||||||
|
},
|
||||||
() => {
|
() => {
|
||||||
globalScene.ui.setMode(
|
globalScene.ui.setMode(
|
||||||
Mode.PARTY,
|
Mode.PARTY,
|
||||||
|
Loading…
Reference in New Issue
Block a user