Document pokedude battle controller, 1

This commit is contained in:
PikalaxALT
2021-03-16 13:51:03 -04:00
parent 6fc2bdf840
commit 7794570c71
4 changed files with 694 additions and 607 deletions
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -15,7 +15,7 @@ void AllocateBattleResources(void)
s32 i;
for (i = 0; i < 4; ++i)
gUnknown_3005EE0[i] = AllocZeroed(8);
gPokedudeBattlerStates[i] = AllocZeroed(sizeof(struct PokedudeBattlerState));
}
gBattleStruct = AllocZeroed(sizeof(*gBattleStruct));
gBattleResources = AllocZeroed(sizeof(*gBattleResources));
@@ -45,7 +45,7 @@ void FreeBattleResources(void)
for (i = 0; i < 4; ++i)
{
FREE_AND_SET_NULL(gUnknown_3005EE0[i]);
FREE_AND_SET_NULL(gPokedudeBattlerStates[i]);
}
}
if (gBattleResources != NULL)