Document a bit of Match Call

This commit is contained in:
GriffinR committed 2019-12-05 15:33:36 -05:00
1 parent 70d1f54ab9
commit 548af3c0f1
23 files changed
+1140 -1054

No files matched your search

+6 -3
View File
@@ -14,6 +14,9 @@
#include "constants/songs.h"
#include "constants/species.h"
#define boxId id1 // naming multi-purpose field
#define monId id2 // naming multi-purpose field
struct PokenavSub11
{
u32 monPal[3][0x20];
@@ -463,14 +466,14 @@ void sub_81CD970(void)
{
unkPtr->unk4[count].boxId = TOTAL_BOXES_COUNT;
unkPtr->unk4[count].monId = i;
unkPtr->unk4[count].unk6 = 0;
unkPtr->unk4[count].data = 0;
count++;
}
}
unkPtr->unk4[count].boxId = 0;
unkPtr->unk4[count].monId = 0;
unkPtr->unk4[count].unk6 = 0;
unkPtr->unk4[count].data = 0;
unkPtr->unk2 = 0;
unkPtr->unk0 = count + 1;
structPtr->unk678A = 0;
@@ -597,7 +600,7 @@ u8 *sub_81CDD24(u8 id)
u16 sub_81CDD48(void)
{
struct PokenavSub18 *unkPtr = GetSubstructPtr(18);
return unkPtr->unk4[unkPtr->unk2].unk6;
return unkPtr->unk4[unkPtr->unk2].data;
}
bool32 sub_81CDD5C(void)