From 22fec43f1812cb863ad699b357bd593222ae140c Mon Sep 17 00:00:00 2001 From: Seth Barberee Date: Sat, 3 Apr 2021 20:44:48 -0500 Subject: More menu work (#33) * split adventure log menu out and decompile * add most adventure log matchings w/ 2 nonmatchings and move some relevant data * more work on other menus * fully decomp debug stuff around 203B3F0 * more debug menu work * fix CreatePartnerSelectionMenu nonmatch * move more data and clean some data up --- src/load_screen.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/load_screen.c (limited to 'src/load_screen.c') diff --git a/src/load_screen.c b/src/load_screen.c new file mode 100644 index 0000000..d79a420 --- /dev/null +++ b/src/load_screen.c @@ -0,0 +1,22 @@ +#include "global.h" + +s32 sub_8011FA8(void); +s32 sub_8095324(u32); +s32 sub_8011C1C(void); + +bool8 sub_8039844(void) +{ + int iVar1; + bool8 return_var; + + iVar1 = sub_8011FA8(); + return_var = 0; + if (sub_8095324(1) != 0 || sub_8095324(7) != 0) + { + if (iVar1 == 0xf1207) + return_var = 1; + } + else if (sub_8011C1C() == 2 && iVar1 == 0xf1207) + return_var = 1; + return return_var; +} -- cgit v1.2.3