summaryrefslogtreecommitdiff
path: root/src/pokemon/mail.c
diff options
context:
space:
mode:
authorCameron Hall <camthesaxman@users.noreply.github.com>2018-01-09 17:03:02 -0600
committerGitHub <noreply@github.com>2018-01-09 17:03:02 -0600
commit1877ba24ca489827f1093858ed58c38ff00a4576 (patch)
tree502c26ec51aa55df4eb1ff4324ab90c3b0a0610a /src/pokemon/mail.c
parent85174ad6193d3d58b92deaaedf8c510440ed85ee (diff)
parent03b167a73e2f18fa79bbf0e6ffe11e0c35c12ad8 (diff)
Merge pull request #518 from camthesaxman/menu_refactor
re-label some window and text code
Diffstat (limited to 'src/pokemon/mail.c')
-rw-r--r--src/pokemon/mail.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/pokemon/mail.c b/src/pokemon/mail.c
index 2ab05ca2b..ab43c033a 100644
--- a/src/pokemon/mail.c
+++ b/src/pokemon/mail.c
@@ -354,11 +354,11 @@ static u8 sub_80F8A28(void)
RETURN_UP_STATE;
case 6:
- SetUpWindowConfig(&gWindowConfig_81E6DFC);
+ Text_LoadWindowTemplate(&gWindowTemplate_81E6DFC);
RETURN_UP_STATE;
case 7:
- MultistepInitMenuWindowBegin(&gWindowConfig_81E6DFC);
+ MultistepInitMenuWindowBegin(&gWindowTemplate_81E6DFC);
RETURN_UP_STATE;
case 8:
@@ -369,7 +369,7 @@ static u8 sub_80F8A28(void)
RETURN_UP_STATE;
case 9:
- MenuZeroFillScreen();
+ Menu_EraseScreen();
RETURN_UP_STATE;
case 10: CpuFill16(1, (void *)(VRAM + 0x4800), 0x800);
@@ -528,11 +528,11 @@ static void sub_80F8E80(void)
x = ewram0_4.var10C->var4[pos].unk_0_4;
y += ewram0_4.var10C->var4[pos].unk_0_0;
- MenuPrint(ewram0_4.words[pos], ewram0_4.var10C->var3_4 + x, ewram0_4.var10C->var3_0 + y);
+ Menu_PrintText(ewram0_4.words[pos], ewram0_4.var10C->var3_4 + x, ewram0_4.var10C->var3_0 + y);
y += 2;
}
- MenuPrint(ewram0_4.varD8, ewram0_4.varF9, ewram0_4.var10C->var1);
+ Menu_PrintText(ewram0_4.varD8, ewram0_4.varF9, ewram0_4.var10C->var1);
}
static void sub_80F8F18(void)