Use ARRAY_COUNT in InitBgsFromTemplates

This commit is contained in:
GriffinR
2021-01-19 04:09:46 -05:00
parent bc20fda604
commit 3f9037d63a
11 changed files with 14 additions and 14 deletions

View File

@@ -1158,7 +1158,7 @@ static void CB2_RunCreditsSequence(void)
static void sub_8175548(void)
{
ResetBgsAndClearDma3BusyFlags(0);
InitBgsFromTemplates(0, sBackgroundTemplates, 1);
InitBgsFromTemplates(0, sBackgroundTemplates, ARRAY_COUNT(sBackgroundTemplates));
SetBgTilemapBuffer(0, AllocZeroed(BG_SCREEN_SIZE));
LoadPalette(gUnknown_085E56F0, 0x80, 0x40);
InitWindows(sWindowTemplates);