summaryrefslogtreecommitdiff
path: root/src/credits.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-11-03 15:29:18 -0400
committerGriffinR <griffin.g.richards@gmail.com>2021-11-03 15:29:18 -0400
commit9a0618afc3f7ccf8a5d19ee5815fd388003d4a95 (patch)
treea7d9221d1a4e205cfcc4712ed343c9581504c253 /src/credits.c
parente14210ce1f9be3ae894490a4e3050832aecbdde7 (diff)
Add COPYWIN constants
Diffstat (limited to 'src/credits.c')
-rw-r--r--src/credits.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/credits.c b/src/credits.c
index de7597e32..0643f2c59 100644
--- a/src/credits.c
+++ b/src/credits.c
@@ -369,7 +369,7 @@ static void InitCreditsBgsAndWindows(void)
InitWindows(sWindowTemplates);
DeactivateAllTextPrinters();
PutWindowTilemap(0);
- CopyWindowToVram(0, 3);
+ CopyWindowToVram(0, COPYWIN_FULL);
ShowBg(0);
}
@@ -761,7 +761,7 @@ static void Task_UpdatePage(u8 taskId)
sCreditsEntryPointerTable[gTasks[taskId].tCurrentPage][i]->text,
5 + i * 16,
sCreditsEntryPointerTable[gTasks[taskId].tCurrentPage][i]->isTitle);
- CopyWindowToVram(0, 2);
+ CopyWindowToVram(0, COPYWIN_GFX);
gTasks[taskId].tCurrentPage++;
gTasks[taskId].tState++;
@@ -811,7 +811,7 @@ static void Task_UpdatePage(u8 taskId)
{
// Still more Credits pages to show, return to state 2 to print
FillWindowPixelBuffer(0, PIXEL_FILL(0));
- CopyWindowToVram(0, 2);
+ CopyWindowToVram(0, COPYWIN_GFX);
gTasks[taskId].tState = 2;
}
return;