From 28aa875e78bfa7b0fd8979d716a68d036a102fed Mon Sep 17 00:00:00 2001 From: Bertie690 <136088738+Bertie690@users.noreply.github.com> Date: Sun, 11 May 2025 15:36:08 -0400 Subject: [PATCH] Update pokemon-species.ts Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com> --- src/data/pokemon-species.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/pokemon-species.ts b/src/data/pokemon-species.ts index de4c630a684..2a471ee6132 100644 --- a/src/data/pokemon-species.ts +++ b/src/data/pokemon-species.ts @@ -83,7 +83,7 @@ export const normalForm: Species[] = [ */ export function getPokemonSpecies(species: Species | Species[]): PokemonSpecies { if (Array.isArray(species)) { - // TODO: can't we just use normal int number gen rather than this junk + // TODO: this should not be handled by this function species = species[Math.floor(Math.random() * species.length)]; } if (species >= 2000) {