From 6ef0af8489ca478c3a2e20d81d0816ff86629a11 Mon Sep 17 00:00:00 2001 From: Bertie690 <136088738+Bertie690@users.noreply.github.com> Date: Sat, 8 Nov 2025 21:08:37 -0500 Subject: [PATCH] [Docs] Fix `Pokemon#hasAbility` referencing outdated enum name https://github.com/pagefaultgames/pokerogue/pull/6766 --- src/field/pokemon.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/field/pokemon.ts b/src/field/pokemon.ts index 101db9307f3..1750dcae56f 100644 --- a/src/field/pokemon.ts +++ b/src/field/pokemon.ts @@ -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