summaryrefslogtreecommitdiff
path: root/src/apprentice.c
diff options
context:
space:
mode:
authorGriffinR <griffin.richards@comcast.net>2019-09-22 12:18:48 -0400
committerGitHub <noreply@github.com>2019-09-22 12:18:48 -0400
commita180d2af49250b9cf005ce1635e5e59c7e6848c4 (patch)
treea457673d0bbfe61da83b59a08b256dadaa4b4821 /src/apprentice.c
parent58b8d7c297576846aeef4173bbe8a6a71608ad98 (diff)
parent9d4fc9234be10ccad76987e08512373bb097d8e0 (diff)
Merge branch 'master' into document-eventscripts
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);