summaryrefslogtreecommitdiff
path: root/src/clear_save_data_screen.c
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2020-04-10 16:17:46 -0400
committerPikalaxALT <PikalaxALT@gmail.com>2020-04-10 16:17:46 -0400
commitaea30489fc3994a856ba929d075ed762c7fb1967 (patch)
tree314df4c8afe5ef19243d63a3f7851f5e4c54fc9e /src/clear_save_data_screen.c
parenta205881ce2caa89a1b2690df9bd335201df2aeda (diff)
Create COPYWIN defines for CopyWindowToVram calls
Diffstat (limited to 'src/clear_save_data_screen.c')
-rw-r--r--src/clear_save_data_screen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/clear_save_data_screen.c b/src/clear_save_data_screen.c
index b6f8b83e9..fe28c1ec7 100644
--- a/src/clear_save_data_screen.c
+++ b/src/clear_save_data_screen.c
@@ -107,7 +107,7 @@ static void Task_DrawClearSaveDataScreen(u8 taskId)
case 4:
DrawStdFrameWithCustomTileAndPalette(1, TRUE, 0x001, 0xF);
AddTextPrinterParameterized4(1, 2, 0, 3, 1, 1, sTextColor, 0, gUnknown_841B69E);
- CopyWindowToVram(1, 2);
+ CopyWindowToVram(1, COPYWIN_GFX);
break;
case 5:
CreateYesNoMenu(&sWindowTemplates[0], 2, 0, 2, 0x001, 0xF, 1);
@@ -139,7 +139,7 @@ static void Task_HandleYesNoMenu(u8 taskId)
PlaySE(SE_SELECT);
FillWindowPixelBuffer(1, PIXEL_FILL(1));
AddTextPrinterParameterized4(1, 2, 0, 3, 1, 1, sTextColor, 0, gUnknown_841B6B9);
- CopyWindowToVram(1, 3);
+ CopyWindowToVram(1, COPYWIN_BOTH);
ClearSaveData();
break;
case MENU_NOTHING_CHOSEN: