mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-23 15:03:24 +02:00
Remove @PokemonSpecies
This commit is contained in:
parent
e1462ed423
commit
84c67327c1
@ -2002,9 +2002,7 @@ export class GameData {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/** Return whether the root species of a given `PokemonSpecies` has been unlocked in the dex */
|
||||||
* Checks whether the root species of a given {@PokemonSpecies} has been unlocked in the dex
|
|
||||||
*/
|
|
||||||
isRootSpeciesUnlocked(species: PokemonSpecies): boolean {
|
isRootSpeciesUnlocked(species: PokemonSpecies): boolean {
|
||||||
return !!this.dexData[species.getRootSpeciesId()]?.caughtAttr;
|
return !!this.dexData[species.getRootSpeciesId()]?.caughtAttr;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user