mirror of
https://github.com/pret/pmd-red.git
synced 2026-03-21 17:46:39 -05:00
use constants
This commit is contained in:
parent
d1780e5928
commit
b45e6dfdcf
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user