summaryrefslogtreecommitdiff
path: root/src/apprentice.c
diff options
context:
space:
mode:
authorhuderlem <huderlem@gmail.com>2019-09-22 09:09:23 -0500
committerGitHub <noreply@github.com>2019-09-22 09:09:23 -0500
commit9d4fc9234be10ccad76987e08512373bb097d8e0 (patch)
tree26f450f8f4180de278e828cf1a9cced341f91c2f /src/apprentice.c
parent1ffa890d27273590f5d9b99b15c3747dc06106d8 (diff)
parent8e4e344c7d086ef252b60d7d722741854a05ee79 (diff)
Merge pull request #812 from GriffinRichards/document-scriptmenu
Document script_menu and LilycoveCity_Harbor
Diffstat (limited to 'src/apprentice.c')
-rw-r--r--src/apprentice.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/apprentice.c b/src/apprentice.c
index 76962807e..113b22f6e 100644
--- a/src/apprentice.c
+++ b/src/apprentice.c
@@ -1559,8 +1559,8 @@ static void CreateMenuWithAnswers(u8 arg0)
pixelWidth = width;
}
- width = convert_pixel_width_to_tile_width(pixelWidth);
- left = sub_80E2D5C(left, width);
+ width = ConvertPixelWidthToTileWidth(pixelWidth);
+ left = ScriptMenu_AdjustLeftCoordFromWidth(left, width);
windowId = CreateAndShowWindow(left, top, width, count * 2);
SetStandardWindowBorderStyle(windowId, 0);