summaryrefslogtreecommitdiff
path: root/src/new_menu_helpers.c
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2020-04-10 10:57:20 -0400
committerPikalaxALT <PikalaxALT@gmail.com>2020-04-10 10:57:20 -0400
commit61a06dffe79d03c0d57f70db646655c74af7147a (patch)
treea02263139e031466b5ec67faa3db2e5a82fdb832 /src/new_menu_helpers.c
parentd79a499d9195f07e8d253943f15c5bcc8370e9b3 (diff)
Address review comments
Diffstat (limited to 'src/new_menu_helpers.c')
-rw-r--r--src/new_menu_helpers.c4
1 files changed, 2 insertions, 2 deletions
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);
}