summaryrefslogtreecommitdiff
path: root/src/contest_painting.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-11-13 23:26:46 -0500
committerGitHub <noreply@github.com>2021-11-13 23:26:46 -0500
commitf42eafc85b007cd27e90bc9a1350d589e31bda43 (patch)
tree7a09999f6ac2fc2d1b36ece5ec484ec6527a201f /src/contest_painting.c
parent4c4fa1f25e55e41f469604a984a820f5a7f30e90 (diff)
parent8d18d03c791c40bad532c62f217b0f82aadec6d2 (diff)
Merge branch 'master' into doc-banim
Diffstat (limited to 'src/contest_painting.c')
-rw-r--r--src/contest_painting.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/contest_painting.c b/src/contest_painting.c
index db6bf4455..e71cf391f 100644
--- a/src/contest_painting.c
+++ b/src/contest_painting.c
@@ -267,14 +267,14 @@ static void InitContestPaintingWindow(void)
{
ResetBgsAndClearDma3BusyFlags(0);
InitBgsFromTemplates(0, sBgTemplates, ARRAY_COUNT(sBgTemplates));
- ChangeBgX(1, 0, 0);
- ChangeBgY(1, 0, 0);
+ ChangeBgX(1, 0, BG_COORD_SET);
+ ChangeBgY(1, 0, BG_COORD_SET);
SetBgTilemapBuffer(1, AllocZeroed(BG_SCREEN_SIZE));
sWindowId = AddWindow(&sWindowTemplate);
DeactivateAllTextPrinters();
FillWindowPixelBuffer(sWindowId, PIXEL_FILL(0));
PutWindowTilemap(sWindowId);
- CopyWindowToVram(sWindowId, 3);
+ CopyWindowToVram(sWindowId, COPYWIN_FULL);
ShowBg(1);
}