Don't clearEffects when catching in a mystery encounter

This commit is contained in:
Wlowscha 2025-01-27 00:43:51 +01:00
parent a358902a20
commit 2eb092e85b
No known key found for this signature in database
GPG Key ID: 3C8F1AD330565D04

View File

@ -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) => {