summaryrefslogtreecommitdiff
path: root/src/engine/link.c
diff options
context:
space:
mode:
authorgolem galvanize <golemgalvanize@github.com>2018-01-10 17:14:44 -0500
committergolem galvanize <golemgalvanize@github.com>2018-01-10 17:14:44 -0500
commit690021476f3ec334e06b0dfc95267114949ecfc7 (patch)
treed06cd3f1d45ed0e957f3bede6c0955f1375877c4 /src/engine/link.c
parent8d658666a14f8364df32d3f14c6923ebe194153e (diff)
parentd4afe49b06a7ef2422839fcd0340c06c6a8e541b (diff)
conflict fix
Diffstat (limited to 'src/engine/link.c')
-rw-r--r--src/engine/link.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/engine/link.c b/src/engine/link.c
index 28323207c..34016d607 100644
--- a/src/engine/link.c
+++ b/src/engine/link.c
@@ -238,8 +238,8 @@ void LinkTestScreen(void)
FreeAllSpritePalettes();
ResetTasks();
SetVBlankCallback(VBlankCB_LinkTest);
- SetUpWindowConfig(&gWindowConfig_81E6CE4);
- InitMenuWindow((struct WindowConfig *)&gWindowConfig_81E6CE4);
+ Text_LoadWindowTemplate(&gWindowTemplate_81E6CE4);
+ InitMenuWindow((struct WindowTemplate *)&gWindowTemplate_81E6CE4);
ResetBlockSend();
gLinkType = 0x1111;
OpenLink();
@@ -1236,9 +1236,9 @@ void CB2_LinkError(void)
FillPalette(0, 0, 2);
ResetTasks();
SetVBlankCallback(VBlankCB_LinkTest);
- SetUpWindowConfig(&gWindowConfig_81E7198);
- InitMenuWindow((struct WindowConfig *)&gWindowConfig_81E7198);
- MenuZeroFillScreen();
+ Text_LoadWindowTemplate(&gWindowTemplate_81E7198);
+ InitMenuWindow((struct WindowTemplate *)&gWindowTemplate_81E7198);
+ Menu_EraseScreen();
REG_BLDALPHA = 0;
REG_BG0VOFS = 0;
REG_BG0HOFS = 0;
@@ -1260,7 +1260,7 @@ static void CB2_PrintErrorMessage(void)
switch (gMain.state)
{
case 0:
- MenuPrint_PixelCoords(gMultiText_LinkError, 20, 56, 1);
+ Menu_PrintTextPixelCoords(gMultiText_LinkError, 20, 56, 1);
break;
case 30:
case 60: