summaryrefslogtreecommitdiff
path: root/src/friend_area_action_menu_1.c
diff options
context:
space:
mode:
authorSeth Barberee <seth.barberee@gmail.com>2022-03-06 14:41:40 -0600
committerSeth Barberee <seth.barberee@gmail.com>2022-03-11 10:14:32 -0800
commitaa939e0955ec683efb5dd963430eace695a26af9 (patch)
tree34639fb9579dc71c33e5a209ecfa8c60c01230ac /src/friend_area_action_menu_1.c
parenta5c90b097045a50df6ecb7cc37ce50f3fc9f142f (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/friend_area_action_menu_1.c')
-rw-r--r--src/friend_area_action_menu_1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/friend_area_action_menu_1.c b/src/friend_area_action_menu_1.c
index 1abd973..3f1bb5f 100644
--- a/src/friend_area_action_menu_1.c
+++ b/src/friend_area_action_menu_1.c
@@ -79,7 +79,7 @@ void sub_8027A5C(void)
}
static inline bool8 sub_8027A78_sub(void) {
- if (gUnknown_203B2BC->unk18->unk4.unk4 == 0x44 || gUnknown_203B2BC->unk18->unk4.unk4 == 0x45)
+ if (gUnknown_203B2BC->unk18->unk4.dungeonIndex == 0x44 || gUnknown_203B2BC->unk18->unk4.dungeonIndex == 0x45)
return TRUE;
else
return FALSE;
@@ -270,7 +270,7 @@ u32 sub_8027D9C(struct PokemonStruct *r0)
if(r0->unk2 == 0)
{
var1 = 0;
- if(r0->unk4.unk4 == 0x41)
+ if(r0->unk4.dungeonIndex == 0x41)
var1 = 1;
if(var1 != 0)
{
@@ -291,7 +291,7 @@ u32 sub_8027DCC(struct PokemonStruct *r0)
if(r0->unk2 == 0)
{
var1 = 0;
- if(r0->unk4.unk4 == 0x41)
+ if(r0->unk4.dungeonIndex == 0x41)
var1 = 1;
if(var1 != 0)
{