parent
64d9c11713
commit
45d9c65a3e
|
@ -4917,7 +4917,6 @@ export class AttemptCapturePhase extends PokemonPhase {
|
|||
}
|
||||
},
|
||||
onComplete: () => {
|
||||
this.scene.gameData.setPokemonCaught(pokemon);
|
||||
this.catch();
|
||||
}
|
||||
});
|
||||
|
@ -5014,7 +5013,7 @@ export class AttemptCapturePhase extends PokemonPhase {
|
|||
}
|
||||
});
|
||||
};
|
||||
Promise.all([pokemon.hideInfo()]).then(() => {
|
||||
Promise.all([pokemon.hideInfo(), this.scene.gameData.setPokemonCaught(pokemon)]).then(() => {
|
||||
if (this.scene.getParty().length === 6) {
|
||||
const promptRelease = () => {
|
||||
this.scene.ui.showText(i18next.t("battle:partyFull", { pokemonName: getPokemonNameWithAffix(pokemon) }), null, () => {
|
||||
|
|
Loading…
Reference in New Issue