summaryrefslogtreecommitdiff
path: root/src/pokemon.c
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2020-03-11 09:55:45 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2020-03-11 09:55:45 -0400
commitd2b0f36b7daa93d0708f19db347ad2befe2a4f07 (patch)
treef08aa20fb6995fedf34e374547715c78f70ea236 /src/pokemon.c
parent6af8c04d8fa6aaeaeb6c8b919e7770a65b9a883d (diff)
Port PSS utility functions
Diffstat (limited to 'src/pokemon.c')
-rw-r--r--src/pokemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pokemon.c b/src/pokemon.c
index f1f7834b1..641c7cb0f 100644
--- a/src/pokemon.c
+++ b/src/pokemon.c
@@ -3806,7 +3806,7 @@ static bool8 IsPokemonStorageFull(void)
for (i = 0; i < 14; i++)
for (j = 0; j < 30; j++)
- if (GetBoxMonDataFromAnyBox(i, j, MON_DATA_SPECIES) == SPECIES_NONE)
+ if (GetBoxMonDataAt(i, j, MON_DATA_SPECIES) == SPECIES_NONE)
return FALSE;
return TRUE;