mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-02-01 21:57:11 +00:00
chore: jsdoc formatting
This commit is contained in:
parent
7003d74d1f
commit
96d0df42fc
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user