summaryrefslogtreecommitdiff
path: root/src/script_menu.c
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2018-06-10 11:01:29 -0500
committerMarcus Huderle <huderlem@gmail.com>2018-06-10 11:09:57 -0500
commit2e80477ea11c265e69658b852c57097fd8a21492 (patch)
tree3df0755d3a2468805117b4ff8f34d10f53df3734 /src/script_menu.c
parentc5bcb67bb871a445b20bbc0c226bc290dc5ba6bc (diff)
Label move_tutor_menu.c
Diffstat (limited to 'src/script_menu.c')
-rw-r--r--src/script_menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script_menu.c b/src/script_menu.c
index 615004be3..1a7489c82 100644
--- a/src/script_menu.c
+++ b/src/script_menu.c
@@ -622,7 +622,7 @@ bool8 ScriptMenu_MultichoiceWithDefault(u8 left, u8 top, u8 multichoiceId, u8 ig
static u16 GetStringWidthInTilesForScriptMenu(const u8 *str)
{
// each tile on screen is 8x8, so it needs the number of tiles and not pixels, hence the division by 8.
- return (Text_GetStringWidthFromWindowTemplate((struct WindowTemplate *)&gWindowTemplate_81E6CE4, str) + 7) / 8;
+ return (Text_GetStringWidthFromWindowTemplate((struct WindowTemplate *)&gMenuTextWindowTemplate, str) + 7) / 8;
}
static void DrawMultichoiceMenu(u8 left, u8 top, u8 count, const struct MenuAction *list, u8 ignoreBPress, u8 cursorPos)