[script-command, dynmultichoice] load message box and border gfx

This commit is contained in:
sbird 2023-01-18 23:25:19 +01:00
parent a7cd4ca592
commit 4fad6b3e12

View file

@ -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);