Update src/data/mystery-encounters/utils/encounter-pokemon-utils.ts

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
ImperialSympathizer 2024-10-17 14:58:14 -04:00 committed by GitHub
parent 8e2fe08a85
commit 759a301fd9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -839,8 +839,6 @@ export function isPokemonValidForEncounterOptionSelection(pokemon: Pokemon, scen
/** /**
* Permanently overrides the ability (not passive) of a pokemon. * Permanently overrides the ability (not passive) of a pokemon.
* If the pokemon is a fusion, instead overrides the fused pokemon's ability. * If the pokemon is a fusion, instead overrides the fused pokemon's ability.
* @param pokemon
* @param ability
*/ */
export function applyAbilityOverrideToPokemon(pokemon: Pokemon, ability: Abilities) { export function applyAbilityOverrideToPokemon(pokemon: Pokemon, ability: Abilities) {
if (pokemon.isFusion()) { if (pokemon.isFusion()) {