summaryrefslogtreecommitdiff
path: root/src/menu.c
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2021-06-25 10:08:54 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2021-06-25 10:08:54 -0400
commit5fbd9ca845dec2c98e24fdfdd3035543120afdd5 (patch)
tree3866b7db15fca664d8dc916cb9380c3227d998a3 /src/menu.c
parent1138ab2c4450c6aeac1941a346b0b26ff5fe5fd6 (diff)
Sync names of other pokedex.c methods
Diffstat (limited to 'src/menu.c')
-rw-r--r--src/menu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/menu.c b/src/menu.c
index d1ef5e882..2b454417a 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -733,12 +733,12 @@ void MenuPrint_RightAligned(const u8 *str, u8 right, u8 top)
Text_InitWindow_RightAligned(gMenuWindowPtr, str, gMenuTextTileOffset, right, top);
}
-void sub_8072B80(const u8 *src, u8 a2, u8 a3, const u8 *text)
+void MenuPrint_AlignedToRightOfReferenceString(const u8 *src, u8 left, u8 top, const u8 *widthRefStr)
{
u8 buffer[64];
- u8 width = GetStringWidth(gMenuWindowPtr, text);
+ u8 width = GetStringWidth(gMenuWindowPtr, widthRefStr);
AlignString(gMenuWindowPtr, buffer, src, width, 1);
- Text_InitWindowAndPrintText(gMenuWindowPtr, buffer, gMenuTextTileOffset, a2, a3);
+ Text_InitWindowAndPrintText(gMenuWindowPtr, buffer, gMenuTextTileOffset, left, top);
}
void MenuPrint_Centered(const u8 *text, u8 left, u8 top, u16 width)