chore: jsdoc formatting

This commit is contained in:
Felix Staud 2024-07-17 15:11:17 -07:00
parent 7003d74d1f
commit 96d0df42fc

View File

@ -278,10 +278,10 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
} }
/** /**
* Check if this pokemon is allowed (no challenge exclusion) * Check if this pokemon is allowed (no challenge exclusion)
* This is frequently a better alternative to {@link isFainted} * This is frequently a better alternative to {@link isFainted}
* @returns {boolean} True if pokemon is allowed in battle * @returns {boolean} True if pokemon is allowed in battle
*/ */
isAllowed(): boolean { isAllowed(): boolean {
const challengeAllowed = new Utils.BooleanHolder(true); const challengeAllowed = new Utils.BooleanHolder(true);
applyChallenges(this.scene.gameMode, ChallengeType.POKEMON_IN_BATTLE, this, challengeAllowed); applyChallenges(this.scene.gameMode, ChallengeType.POKEMON_IN_BATTLE, this, challengeAllowed);