From 7b142311a7294c4c7a943870fa5f24f0fbea604a Mon Sep 17 00:00:00 2001 From: Seth Barberee Date: Fri, 12 Mar 2021 15:39:07 -0600 Subject: Miscellaneous Work (Again) (#30) * work on debug menu and document that and main menu * split, decomp, label more funcs * split exclusive pokemon data out into C * macro-ize exlusive pokemon data * decomp 2 more funcs * decomp a few more * finally match PromptNewQuestion * woot 7% aka more debug menu stuff --- src/wonder_mail.c | 27 ++++++++++----------------- 1 file changed, 10 insertions(+), 17 deletions(-) (limited to 'src/wonder_mail.c') diff --git a/src/wonder_mail.c b/src/wonder_mail.c index e2daaa6..902b67a 100644 --- a/src/wonder_mail.c +++ b/src/wonder_mail.c @@ -549,23 +549,16 @@ void sub_8028ED4() { return; } - if(temp == 8) - { - sub_8028B04(11); - } - else - { - switch(temp){ - case 8: - sub_8028B04(2); - break; - case 9: - case 10: - sub_8028B04(2); - break; - default: - break; - } + switch(temp){ + case 8: + sub_8028B04(11); + break; + case 9: + case 10: + sub_8028B04(2); + break; + default: + break; } } -- cgit v1.2.3