From 3e5dd1d047bada52ab0dce2fe58b04e39bcaa1cc Mon Sep 17 00:00:00 2001 From: Seth Barberee Date: Fri, 22 Oct 2021 10:01:07 -0700 Subject: Death by 74 files (#65) * death by 74 files * 20% reached * doc move stuff in pokemon * fix undef reference * doc more and plumb a few more constanst for num party members and num moves * that struct is def PokemonMove.. clean up all code with it --- src/pokemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pokemon.c') diff --git a/src/pokemon.c b/src/pokemon.c index 1b9003b..4e28437 100644 --- a/src/pokemon.c +++ b/src/pokemon.c @@ -39,7 +39,7 @@ void InitializeRecruitedPokemon(void) gRecruitedPokemonRef->pokemon2[iVar3].unk0 = 0; } - for(iVar3 = 0; iVar3 < 4; iVar3++) + for(iVar3 = 0; iVar3 < MAX_TEAM_MEMBERS; iVar3++) { gRecruitedPokemonRef->team[iVar3].speciesNum = 0; gRecruitedPokemonRef->team[iVar3].unk0 = 0; -- cgit v1.2.3