Remove @PokemonSpecies

This commit is contained in:
Sirz Benjie 2025-09-10 12:25:32 -05:00
parent e1462ed423
commit 84c67327c1
No known key found for this signature in database
GPG Key ID: 4A524B4D196C759E

View File

@ -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;
} }