[Docs] Fix Pokemon#hasAbility referencing outdated enum name

https://github.com/pagefaultgames/pokerogue/pull/6766
This commit is contained in:
Bertie690 2025-11-08 21:08:37 -05:00 committed by GitHub
parent e438536dc3
commit 6ef0af8489
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2232,7 +2232,7 @@ export abstract class Pokemon extends Phaser.GameObjects.Container {
/**
* Check whether a pokemon has the specified ability in effect, either as a normal or passive ability.
* Accounts for all the various effects which can disable or modify abilities.
* @param ability - The {@linkcode Abilities | Ability} to check for
* @param ability - The {@linkcode AbilityId | Ability} to check for
* @param canApply - Whether to check if the ability is currently active; default `true`
* @param ignoreOverride - Whether to ignore any overrides caused by {@linkcode MoveId.TRANSFORM | Transform}; default `false`
* @returns Whether this {@linkcode Pokemon} has the given ability