summaryrefslogtreecommitdiff
path: root/src/start_menu.c
diff options
context:
space:
mode:
authorCameron Hall <camthesaxman@users.noreply.github.com>2016-10-16 19:02:35 -0500
committerYamaArashi <YamaArashi@users.noreply.github.com>2016-10-16 17:02:35 -0700
commitf2fb6f9b830888c649fca285bdfab5657c64ef35 (patch)
tree42e1ebe4dc161e0948652a2adfe707e76209f931 /src/start_menu.c
parent1125d78ad398411e690b1817624cbeeb5ae48144 (diff)
decompile option menu and begin decompiling pokedex (#58)
* start decompiling pokedex * fix up this darn struct * decompile most of the option menu code * decompile more code * finish up with option menu * minor cleanup * fix some pokedex functions * remove disassembly files * actually remove disassembly files * more decompilation * decompile 2 more functions * minor cleanup * Update start_menu.c with CB2_InitPokedex
Diffstat (limited to 'src/start_menu.c')
-rw-r--r--src/start_menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/start_menu.c b/src/start_menu.c
index a08930a19..c538c20c2 100644
--- a/src/start_menu.c
+++ b/src/start_menu.c
@@ -32,7 +32,7 @@ extern void sub_8093110(void (*)(void));
extern void sub_80EBA5C(void);
extern void sub_80A53F8(void);
extern void sub_8089A70(void);
-extern void sub_808C27C(void);
+extern void CB2_InitPokedex(void);
extern u16 pokedex_count(u8);
extern void fade_screen(u8, u8);
extern bool32 is_c1_link_related_active();
@@ -371,7 +371,7 @@ u8 StartMenu_PokedexCallback(void)
{
sav12_xor_increment(0x29);
play_some_sound();
- SetMainCallback2(sub_808C27C);
+ SetMainCallback2(CB2_InitPokedex);
return 1;
}
return 0;