summaryrefslogtreecommitdiff
path: root/src/decoration.c
diff options
context:
space:
mode:
authorSierra A <6080951+Sierraffinity@users.noreply.github.com>2020-06-10 17:17:35 -0700
committerGitHub <noreply@github.com>2020-06-10 17:17:35 -0700
commit46f4a4bbf7239743c333cd32d30b74a7b3176acc (patch)
treebf38b6f1e63f1cd485e60adcdb8899bafde56fc7 /src/decoration.c
parenta05eea93122f04e4aa3580e0e505376ead0d6e19 (diff)
parent74edaed4265cc7e964a5383c3e0fb8ef256f2bf8 (diff)
Merge pull request #1074 from Sierraffinity/item-menu-cleanup
Begin item_menu.c cleanup
Diffstat (limited to 'src/decoration.c')
-rw-r--r--src/decoration.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/decoration.c b/src/decoration.c
index c878f397a..f566cc7c9 100644
--- a/src/decoration.c
+++ b/src/decoration.c
@@ -541,7 +541,7 @@ static u8 AddDecorationWindow(u8 windowIndex)
}
DrawStdFrameWithCustomTileAndPalette(*windowId, FALSE, 0x214, 14);
- schedule_bg_copy_tilemap_to_vram(0);
+ ScheduleBgCopyTilemapToVram(0);
return *windowId;
}
@@ -550,7 +550,7 @@ static void RemoveDecorationWindow(u8 windowIndex)
ClearStdWindowAndFrameToTransparent(sDecorMenuWindowIds[windowIndex], FALSE);
ClearWindowTilemap(sDecorMenuWindowIds[windowIndex]);
RemoveWindow(sDecorMenuWindowIds[windowIndex]);
- schedule_bg_copy_tilemap_to_vram(0);
+ ScheduleBgCopyTilemapToVram(0);
}
static void AddDecorationActionsWindow(void)
@@ -729,7 +729,7 @@ static void PrintDecorationCategoryMenuItems(u8 taskId)
}
AddTextPrinterParameterized(windowId, 1, gTasks[taskId].tDecorationMenuCommand == DECOR_MENU_TRADE ? gText_Exit : gText_Cancel, 8, i * 16 + 1, 0, NULL);
- schedule_bg_copy_tilemap_to_vram(0);
+ ScheduleBgCopyTilemapToVram(0);
}
static void PrintDecorationCategoryMenuItem(u8 winid, u8 category, u8 x, u8 y, bool8 disabled, u8 speed)