summaryrefslogtreecommitdiff
path: root/src/trade.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2022-02-27 13:47:50 -0500
committerGriffinR <griffin.g.richards@gmail.com>2022-02-27 13:47:50 -0500
commit36e5d5e759d32e4987ffbbac70f84978e1893d16 (patch)
treebed989c7f5cd4c87047b64c0c893fd8c76add77b /src/trade.c
parenteca5233abe83a074ce97f9e47b30eb0c0f430a9e (diff)
Add missing menu array counts
Diffstat (limited to 'src/trade.c')
-rw-r--r--src/trade.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trade.c b/src/trade.c
index b48d1abf5..dd0851bbd 100644
--- a/src/trade.c
+++ b/src/trade.c
@@ -1394,7 +1394,7 @@ static void TradeMenuProcessInput(void)
DrawTextBorderOuter(1, 1, 14);
FillWindowPixelBuffer(1, PIXEL_FILL(1));
PrintMenuTable(1, ARRAY_COUNT(sSelectTradeMonActions), sSelectTradeMonActions);
- InitMenuInUpperLeftCornerNormal(1, 2, 0);
+ InitMenuInUpperLeftCornerNormal(1, ARRAY_COUNT(sSelectTradeMonActions), 0);
PutWindowTilemap(1);
CopyWindowToVram(1, COPYWIN_FULL);
sTradeMenuData->tradeMenuFunc = TRADEMENUFUNC_SELECTED_MON;