summaryrefslogtreecommitdiff
path: root/src/naming_screen.c
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2020-04-12 10:12:37 -0400
committerGitHub <noreply@github.com>2020-04-12 10:12:37 -0400
commit6001e107993d1da69decdf479abf8a661ad57dda (patch)
tree9a430f0b70e0a24965378724f1bd28cd1a193dc1 /src/naming_screen.c
parent2880cf2a51ea36fa36f00d9ecf07177e5955c882 (diff)
parent7a562d6bae78fd7c62ed2f804fd8dcc555d85d18 (diff)
Merge pull request #321 from PikalaxALT/modern_gcc
Get pokefirered_modern to build
Diffstat (limited to 'src/naming_screen.c')
-rw-r--r--src/naming_screen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/naming_screen.c b/src/naming_screen.c
index 1a41c8c0b..5d00cefbc 100644
--- a/src/naming_screen.c
+++ b/src/naming_screen.c
@@ -708,7 +708,7 @@ static void pokemon_transfer_to_pc_with_message(void)
DrawDialogueFrame(0, FALSE);
gTextFlags.canABSpeedUpPrint = TRUE;
AddTextPrinterParameterized2(0, 2, gStringVar4, GetTextSpeedSetting(), NULL, TEXT_COLOR_DARK_GREY, TEXT_COLOR_WHITE, TEXT_COLOR_LIGHT_GREY);
- CopyWindowToVram(0, 3);
+ CopyWindowToVram(0, COPYWIN_BOTH);
}
static bool8 sub_809E1D4(void)
@@ -1804,7 +1804,7 @@ static void PrintBufferCharactersOnScreen(void)
}
CallAddGenderIconFunc();
- CopyWindowToVram(sNamingScreenData->windows[2], 2);
+ CopyWindowToVram(sNamingScreenData->windows[2], COPYWIN_GFX);
PutWindowTilemap(sNamingScreenData->windows[2]);
}
@@ -1887,7 +1887,7 @@ static void sub_809FAE4(void)
FillWindowPixelBuffer(sNamingScreenData->windows[4], PIXEL_FILL(15));
AddTextPrinterParameterized3(sNamingScreenData->windows[4], 0, 236 - strwidth, 0, color, 0, gText_MoveOkBack);
PutWindowTilemap(sNamingScreenData->windows[4]);
- CopyWindowToVram(sNamingScreenData->windows[4], 3);
+ CopyWindowToVram(sNamingScreenData->windows[4], COPYWIN_BOTH);
}
static void sub_809FB70(void)