summaryrefslogtreecommitdiff
path: root/gflib/text.c
diff options
context:
space:
mode:
Diffstat (limited to 'gflib/text.c')
-rw-r--r--gflib/text.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gflib/text.c b/gflib/text.c
index 54155affe..9d1a5464f 100644
--- a/gflib/text.c
+++ b/gflib/text.c
@@ -297,7 +297,7 @@ bool16 AddTextPrinter(struct TextPrinterTemplate *printerTemplate, u8 speed, voi
}
if (speed != TEXT_SPEED_FF)
- CopyWindowToVram(gTempTextPrinter.printerTemplate.windowId, 2);
+ CopyWindowToVram(gTempTextPrinter.printerTemplate.windowId, COPYWIN_GFX);
gTextPrinters[printerTemplate->windowId].active = 0;
}
gDisableTextPrinters = 0;
@@ -318,7 +318,7 @@ void RunTextPrinters(void)
switch (temp)
{
case 0:
- CopyWindowToVram(gTextPrinters[i].printerTemplate.windowId, 2);
+ CopyWindowToVram(gTextPrinters[i].printerTemplate.windowId, COPYWIN_GFX);
case 3:
if (gTextPrinters[i].callback != 0)
gTextPrinters[i].callback(&gTextPrinters[i].printerTemplate, temp);
@@ -815,7 +815,7 @@ void TextPrinterDrawDownArrow(struct TextPrinter *textPrinter)
textPrinter->printerTemplate.currentY,
8,
16);
- CopyWindowToVram(textPrinter->printerTemplate.windowId, 2);
+ CopyWindowToVram(textPrinter->printerTemplate.windowId, COPYWIN_GFX);
subStruct->downArrowDelay = 8;
subStruct->downArrowYPosIdx++;
@@ -832,7 +832,7 @@ void TextPrinterClearDownArrow(struct TextPrinter *textPrinter)
textPrinter->printerTemplate.currentY,
8,
16);
- CopyWindowToVram(textPrinter->printerTemplate.windowId, 2);
+ CopyWindowToVram(textPrinter->printerTemplate.windowId, COPYWIN_GFX);
}
bool8 TextPrinterWaitAutoMode(struct TextPrinter *textPrinter)
@@ -922,7 +922,7 @@ void DrawDownArrow(u8 windowId, u16 x, u16 y, u8 bgColor, bool8 drawArrow, u8 *c
y - 2,
0x8,
0x10);
- CopyWindowToVram(windowId, 0x2);
+ CopyWindowToVram(windowId, COPYWIN_GFX);
*counter = 8;
++*yCoordIndex;
}
@@ -1199,7 +1199,7 @@ u16 RenderText(struct TextPrinter *textPrinter)
ScrollWindow(textPrinter->printerTemplate.windowId, 0, speed, PIXEL_FILL(textPrinter->printerTemplate.bgColor));
textPrinter->scrollDistance -= speed;
}
- CopyWindowToVram(textPrinter->printerTemplate.windowId, 2);
+ CopyWindowToVram(textPrinter->printerTemplate.windowId, COPYWIN_GFX);
}
else
{