Skip to content

Commit

Permalink
[script-command, dynmultichoice] load message box and border gfx
Browse files Browse the repository at this point in the history
  • Loading branch information
sbird committed Jan 18, 2023
1 parent a7cd4ca commit 4fad6b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/script_menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,7 @@ static void DrawMultichoiceMenuDynamic(u8 left, u8 top, u8 argc, struct ListMenu
{
width = DisplayTextAndGetWidth(items[i].name, width);
}
LoadMessageBoxAndBorderGfx();
windowHeight = (argc < maxBeforeScroll) ? argc * 2 : maxBeforeScroll * 2;
newWidth = ConvertPixelWidthToTileWidth(width);
left = ScriptMenu_AdjustLeftCoordFromWidth(left, newWidth);
Expand Down

0 comments on commit 4fad6b3

Please sign in to comment.