Begin item_menu.c cleanup
This commit is contained in:
@@ -1182,7 +1182,7 @@ static bool32 LoadMatchCallWindowGfx(u8 taskId)
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
if (!decompress_and_copy_tile_data_to_vram(0, sPokeNavIconGfx, 0, 0x279, 0))
|
||||
if (!DecompressAndCopyTileDataToVram(0, sPokeNavIconGfx, 0, 0x279, 0))
|
||||
{
|
||||
RemoveWindow(taskData[2]);
|
||||
DestroyTask(taskId);
|
||||
@@ -1199,7 +1199,7 @@ static bool32 LoadMatchCallWindowGfx(u8 taskId)
|
||||
static bool32 MoveMatchCallWindowToVram(u8 taskId)
|
||||
{
|
||||
s16 *taskData = gTasks[taskId].data;
|
||||
if (free_temp_tile_data_buffers_if_possible())
|
||||
if (FreeTempTileDataBuffersIfPossible())
|
||||
return FALSE;
|
||||
|
||||
PutWindowTilemap(taskData[2]);
|
||||
|
||||
Reference in New Issue
Block a user