Create COPYWIN defines for CopyWindowToVram calls
This commit is contained in:
+2
-2
@@ -227,7 +227,7 @@ static u8 CreateShopMenu(u8 a0)
|
||||
PrintTextArray(sShopMenuWindowId, 2, GetMenuCursorDimensionByFont(2, 0), 2, 16, 3, sShopMenuActions_BuySellQuit);
|
||||
Menu_InitCursor(sShopMenuWindowId, 2, 0, 2, 16, 3, 0);
|
||||
PutWindowTilemap(sShopMenuWindowId);
|
||||
CopyWindowToVram(sShopMenuWindowId, 1);
|
||||
CopyWindowToVram(sShopMenuWindowId, COPYWIN_MAP);
|
||||
return CreateTask(Task_ShopMenu, 8);
|
||||
}
|
||||
|
||||
@@ -657,7 +657,7 @@ static void BuyMenuPrintCursorAtYPosition(u8 y, u8 a1)
|
||||
if (a1 == 0xFF)
|
||||
{
|
||||
FillWindowPixelRect(4, 0, 1, y, GetFontAttribute(2, FONTATTR_MAX_LETTER_WIDTH), GetFontAttribute(2, FONTATTR_MAX_LETTER_HEIGHT));
|
||||
CopyWindowToVram(4, 2);
|
||||
CopyWindowToVram(4, COPYWIN_GFX);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user