From 61a06dffe79d03c0d57f70db646655c74af7147a Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Fri, 10 Apr 2020 10:57:20 -0400 Subject: Address review comments --- src/new_menu_helpers.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/new_menu_helpers.c') diff --git a/src/new_menu_helpers.c b/src/new_menu_helpers.c index 9ffef06ae..9da0dea80 100644 --- a/src/new_menu_helpers.c +++ b/src/new_menu_helpers.c @@ -640,10 +640,10 @@ static u16 GetStdPalColor(u8 colorNum) return gTMCaseMainWindowPalette[colorNum]; } -void DisplayItemMessageOnField(u8 taskId, u8 bgId, const u8 *string, TaskFunc callback) +void DisplayItemMessageOnField(u8 taskId, u8 textSpeed, const u8 *string, TaskFunc callback) { LoadStdWindowFrameGfx(); - DisplayMessageAndContinueTask(taskId, 0, DLG_WINDOW_BASE_TILE_NUM, DLG_WINDOW_PALETTE_NUM, bgId, GetTextSpeedSetting(), string, callback); + DisplayMessageAndContinueTask(taskId, 0, DLG_WINDOW_BASE_TILE_NUM, DLG_WINDOW_PALETTE_NUM, textSpeed, GetTextSpeedSetting(), string, callback); CopyWindowToVram(0, 3); } -- cgit v1.2.3