Add missing menu array counts
This commit is contained in:
@@ -1027,7 +1027,7 @@ static void ShowRegistryMenuActions(u8 taskId)
|
||||
tActionWindowId = AddWindow(&template);
|
||||
SetStandardWindowBorderStyle(tActionWindowId, 0);
|
||||
PrintMenuTable(tActionWindowId, ARRAY_COUNT(sRegistryMenuActions), sRegistryMenuActions);
|
||||
InitMenuInUpperLeftCornerNormal(tActionWindowId, 2, 0);
|
||||
InitMenuInUpperLeftCornerNormal(tActionWindowId, ARRAY_COUNT(sRegistryMenuActions), 0);
|
||||
ScheduleBgCopyTilemapToVram(0);
|
||||
gTasks[taskId].func = HandleRegistryMenuActionsInput;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user