mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-30 04:02:25 +02:00
Don't clearEffects when catching in a mystery encounter
This commit is contained in:
parent
a358902a20
commit
2eb092e85b
@ -592,7 +592,7 @@ export async function catchPokemon(pokemon: EnemyPokemon, pokeball: Phaser.GameO
|
|||||||
};
|
};
|
||||||
const removePokemon = () => {
|
const removePokemon = () => {
|
||||||
if (pokemon) {
|
if (pokemon) {
|
||||||
pokemon.leaveField(true, true, true);
|
pokemon.leaveField(false, true, true);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const addToParty = (slotIndex?: number) => {
|
const addToParty = (slotIndex?: number) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user