summaryrefslogtreecommitdiff
path: root/src/contest.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/contest.c
parente14210ce1f9be3ae894490a4e3050832aecbdde7 (diff)
Add COPYWIN constants
Diffstat (limited to 'src/contest.c')
-rw-r--r--src/contest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/contest.c b/src/contest.c
index 1cd8f18b0..b5a035ff8 100644
--- a/src/contest.c
+++ b/src/contest.c
@@ -1667,7 +1667,7 @@ static void Task_HideMoveSelectScreen(u8 taskId)
{
FillWindowPixelBuffer(MOVE_WINDOWS_START + i, PIXEL_FILL(0));
PutWindowTilemap(MOVE_WINDOWS_START + i);
- CopyWindowToVram(MOVE_WINDOWS_START + i, 2);
+ CopyWindowToVram(MOVE_WINDOWS_START + i, COPYWIN_GFX);
}
Contest_SetBgCopyFlags(0);
// This seems to be a bug; it should have just copied PLTT_BUFFER_SIZE.
@@ -3377,7 +3377,7 @@ static void DrawStatusSymbols(void)
static void ContestClearGeneralTextWindow(void)
{
FillWindowPixelBuffer(WIN_GENERAL_TEXT, PIXEL_FILL(0));
- CopyWindowToVram(WIN_GENERAL_TEXT, 2);
+ CopyWindowToVram(WIN_GENERAL_TEXT, COPYWIN_GFX);
Contest_SetBgCopyFlags(0);
}