mirror of
https://github.com/pret/pmd-red.git
synced 2026-10-01 23:21:51 -04:00
use constants
This commit is contained in:
+2
-2
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user