use constants

This commit is contained in:
DizzyEggg 2025-09-01 19:17:31 +02:00
parent d1780e5928
commit b45e6dfdcf

View File

@ -548,10 +548,10 @@ bool8 sub_808D750(s32 index_)
}
}
if (count < 4) {
if (count < MAX_TEAM_MEMBERS) {
pokemon = &gRecruitedPokemonRef->pokemon[index];
size_count += GetBodySize(pokemon->speciesNum);
if (size_count < 7) {
if (size_count <= MAX_TEAM_BODY_SIZE) {
return TRUE;
}
}