Skip to content

Commit

Permalink
nit: forgot another MenuInputStruct
Browse files Browse the repository at this point in the history
  • Loading branch information
SethBarberee committed Jul 10, 2023
1 parent 27fade4 commit f216515
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
5 changes: 1 addition & 4 deletions include/code_801EE10.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@ struct unkStruct_203B270
/* 0xC */ u8 isTeamLeader;
/* 0x10 */ struct Move *moves;
u8 fill14[0x1C - 0x14];
u32 unk1C;
u8 fill20[0x36 - 0x20];
s16 unk36;
u8 fill38[0x50 - 0x38];
struct MenuInputStruct input;
u32 unk50;
u32 unk54;
struct UnkTextStruct2 unk58[4];
Expand Down
6 changes: 3 additions & 3 deletions src/code_801EE10.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ extern void sub_8012D08(void *, u32);
extern void sub_8013818(void *, u32, u32, u32);
u32 sub_8006544(u32 index);
s32 sub_801F3F8(void);
void sub_8013780(u32 *, u32);
void sub_8013780(struct MenuInputStruct*, u32);
void sub_801F280(u32);

u8 sub_801EE10(u32 param_1,s16 species,struct Move *moves,u32 param_4,u8 *param_5,u32 param_6)
Expand Down Expand Up @@ -63,8 +63,8 @@ u8 sub_801EE10(u32 param_1,s16 species,struct Move *moves,u32 param_4,u8 *param_
sub_8012D08(&gUnknown_203B270->unk58[gUnknown_203B270->unk50],iVar8);
ResetUnusedInputStruct();
sub_800641C(gUnknown_203B270->unk58,1,1);
sub_8013818(&gUnknown_203B270->unk1C,iVar5,iVar5,param_6);
sub_8013780(&gUnknown_203B270->unk1C,0);
sub_8013818(&gUnknown_203B270->input,iVar5,iVar5,param_6);
sub_8013780(&gUnknown_203B270->input,0);
sub_801F280(1);
return 1;
}

0 comments on commit f216515

Please sign in to comment.