Fixed comment + flaky test

This commit is contained in:
Bertie690 2025-06-06 11:27:37 -04:00
parent f25e7d441c
commit 3212bf5882
2 changed files with 3 additions and 2 deletions

View File

@ -653,7 +653,7 @@ export class FlinchedTag extends BattlerTag {
} }
/** /**
* Cancels all subsequent moves used by this tag's Pokemon this turn. * Cancels the flinched Pokemon's currently used move this turn if called mid-execution, or removes the tag at end of turn.
* @param pokemon - The {@linkcode Pokemon} with this tag. * @param pokemon - The {@linkcode Pokemon} with this tag.
* @param lapseType - The {@linkcode BattlerTagLapseType | lapse type} used for this function call. * @param lapseType - The {@linkcode BattlerTagLapseType | lapse type} used for this function call.
* @returns Whether the tag should remain active. * @returns Whether the tag should remain active.

View File

@ -36,7 +36,8 @@ describe("Moves - Instruct", () => {
game.override game.override
.battleStyle("single") .battleStyle("single")
.enemySpecies(SpeciesId.SHUCKLE) .enemySpecies(SpeciesId.SHUCKLE)
.enemyAbility(AbilityId.NO_GUARD) .enemyAbility(AbilityId.BALL_FETCH)
.passiveAbility(AbilityId.NO_GUARD)
.enemyLevel(100) .enemyLevel(100)
.startingLevel(100) .startingLevel(100)
.disableCrits(); .disableCrits();