diff options
author | scnorton <scnorton@biociphers.org> | 2017-08-30 17:56:31 -0400 |
---|---|---|
committer | scnorton <scnorton@biociphers.org> | 2017-08-30 17:56:31 -0400 |
commit | 5a939d216b0b2ee84e3adbf2c1678bfee475bbaa (patch) | |
tree | d5cc4d97f520c6e24159f589d0cb4bfdea354027 /src | |
parent | 50e82f84d6d379b6e94e7f70a7de47361156ad0f (diff) |
Finish decompilation of daycare
Diffstat (limited to 'src')
-rw-r--r-- | src/daycare.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/daycare.c b/src/daycare.c index 8a86c9205..63f3a6861 100644 --- a/src/daycare.c +++ b/src/daycare.c @@ -21,6 +21,7 @@ #include "sound.h" #include "songs.h" #include "script.h" +#include "rom4.h" extern u16 word_2024E82; @@ -1664,3 +1665,21 @@ void DaycareLevelMenuProcessKeyInput(u8 taskId) EnableBothScriptContexts(); } } + +void ShowDaycareLevelMenu(void) +{ + u8 buffer[100]; + MenuDrawTextWindow(15, 6, 29, 13); + DaycareLevelMenuGetText(&gSaveBlock1.daycareData, buffer); + MenuPrint(buffer, 16, 7); + DaycareLevelMenuGetLevelText(&gSaveBlock1.daycareData, buffer); + MenuPrint_PixelCoords(buffer, 0xce, 0x38, TRUE); + InitMenu(0, 16, 7, 3, 0, 13); + CreateTask(DaycareLevelMenuProcessKeyInput, 3); +} + +void ChooseSendDaycareMon(void) +{ + OpenPartyMenu(6, 0); + gMain.savedCallback = c2_exit_to_overworld_2_switch; +} |