diff options
author | huderlem <huderlem@gmail.com> | 2019-09-22 09:09:23 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-22 09:09:23 -0500 |
commit | 9d4fc9234be10ccad76987e08512373bb097d8e0 (patch) | |
tree | 26f450f8f4180de278e828cf1a9cced341f91c2f /src/apprentice.c | |
parent | 1ffa890d27273590f5d9b99b15c3747dc06106d8 (diff) | |
parent | 8e4e344c7d086ef252b60d7d722741854a05ee79 (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.c | 4 |
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); |