diff options
author | Seth Barberee <seth.barberee@gmail.com> | 2022-03-06 14:41:40 -0600 |
---|---|---|
committer | Seth Barberee <seth.barberee@gmail.com> | 2022-03-11 10:14:32 -0800 |
commit | aa939e0955ec683efb5dd963430eace695a26af9 (patch) | |
tree | 34639fb9579dc71c33e5a209ecfa8c60c01230ac /src/code_80972F4.c | |
parent | a5c90b097045a50df6ecb7cc37ce50f3fc9f142f (diff) |
All saving functions decomped
- poke_sub_4 was determined to be Dungeon Index/Floor
- Clean up code that references these functions
Diffstat (limited to 'src/code_80972F4.c')
-rw-r--r-- | src/code_80972F4.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/code_80972F4.c b/src/code_80972F4.c index 7e87832..c0fa1a3 100644 --- a/src/code_80972F4.c +++ b/src/code_80972F4.c @@ -61,8 +61,8 @@ bool8 sub_8096F50(struct WonderMail *r0) for(index = 0; index < 0x10; index++) { temp = &gUnknown_203B490->unk230[index]; - if(temp->unk0.unk4 == r0->dungeon) - if(temp->unk0.unk5 == r0->floor) + if(temp->unk0.dungeonIndex == r0->dungeon) + if(temp->unk0.dungeonFloor == r0->floor) if(temp->unk4 == r0->unk8) if(temp->unk8 == temp2) return TRUE; |