From b45e6dfdcff15ff75f5d70098953c7d2e39201cf Mon Sep 17 00:00:00 2001 From: DizzyEggg Date: Mon, 1 Sep 2025 19:17:31 +0200 Subject: [PATCH] use constants --- src/pokemon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pokemon.c b/src/pokemon.c index ffd9e97d5..a03de37e4 100644 --- a/src/pokemon.c +++ b/src/pokemon.c @@ -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; } }