diff options
Diffstat (limited to 'src/friend_rescue_1.c')
-rw-r--r-- | src/friend_rescue_1.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/friend_rescue_1.c b/src/friend_rescue_1.c index f7a74ef..c3571c0 100644 --- a/src/friend_rescue_1.c +++ b/src/friend_rescue_1.c @@ -82,10 +82,10 @@ extern void sub_8023DA4(void); extern void sub_8035D1C(void); extern u16 sub_8023B44(void); -extern u32 sub_8039068(u32, u8 *r1, u8 *r0); +extern u32 sub_8039068(u32, u8 *r1, struct unkStruct_8095228 *r0); extern void sub_8095274(u32); -extern void sub_80951BC(u8 *r0); -extern void sub_80951FC(u8 *r0); +extern void sub_80951BC(struct unkStruct_8095228 *r0); +extern void sub_80951FC(struct unkStruct_8095228 *r0); extern u8 sub_809539C(u32, u32); extern u8 sub_800D588(void); extern u32 sub_8095324(u32); @@ -455,7 +455,7 @@ void sub_8033DBC(void) default: break; } - switch(sub_8039068(input_var, gUnknown_203B33C->passwordBuffer, &temp.unk0)) + switch(sub_8039068(input_var, gUnknown_203B33C->passwordBuffer, &temp)) { case 17: sub_8014248(gUnknown_80E48A8, 0, 6, gUnknown_80E2290, 0, 4, 0, 0, 0x101); @@ -471,8 +471,8 @@ void sub_8033DBC(void) break; case 22: sub_8095274(temp.unk10); - temp.unk0 = 2; // Some sort of Ack? - sub_80951BC(&temp.unk0); + temp.mailType = 2; + sub_80951BC(&temp); sub_80141B4(gUnknown_80E4928, 0, 0, 0x101); SetFriendRescueMenuState(0x16); break; @@ -485,10 +485,10 @@ void sub_8033DBC(void) SetFriendRescueMenuState(8); break; case 23: - temp.unk0 = 5; // Some sort of Ack? - sub_80951FC(&temp.unk0); + temp.mailType = 5; + sub_80951FC(&temp); temp2 = sub_8095228(sub_809539C(1, temp.unk10)); - temp2->unk0 = 7; + temp2->mailType = 7; MemoryFill8((u8 *)gUnknown_203B484, 0, sizeof(struct unkStruct_203B484)); SetFriendRescueMenuState(0x40); break; @@ -1340,7 +1340,7 @@ void sub_8034D74(void) switch(return_var) { case 3: - switch(sub_8039068(0x20, gUnknown_203B33C->passwordBuffer, &temp.unk0)) + switch(sub_8039068(0x20, gUnknown_203B33C->passwordBuffer, &temp)) { case 17: sub_8014248(gUnknown_80E48A8, 0, 6, gUnknown_80E2440, 0, 4, 0, 0, 0x101); @@ -1357,7 +1357,7 @@ void sub_8034D74(void) case 24: temp2 = sub_8095228(sub_809539C(4, temp.unk10)); *temp2 = temp; - temp2->unk0 = 6; // Some sort of Ack? + temp2->mailType = 6; gUnknown_203B33C->unk420 = temp.unk10; SetFriendRescueMenuState(0x6D); break; |