From c6d89036bbcf1aedaa2cd670acbfa212c73c0625 Mon Sep 17 00:00:00 2001 From: Kermalis <29823718+Kermalis@users.noreply.github.com> Date: Sat, 9 Nov 2024 02:53:48 -0500 Subject: [PATCH] Fix GetBaseSpeciesNoUnown fakematch --- src/pokemon_3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pokemon_3.c b/src/pokemon_3.c index 48986b1f0..a42ebf95d 100644 --- a/src/pokemon_3.c +++ b/src/pokemon_3.c @@ -189,7 +189,7 @@ s16 GetBaseSpecies(s16 index) { } s16 GetBaseSpeciesNoUnown(s16 index) { - register s32 a1_ asm("r2") = index; + s32 a1_ = SpeciesId(index); if (index == MONSTER_CASTFORM_SNOWY) { return MONSTER_CASTFORM; }