mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-27 13:53:52 +01:00
Use array count for InitBgsFromTemplates
This commit is contained in:
parent
86354f1d50
commit
8e1e09562e
@ -112,7 +112,7 @@ static void MCB2_InitRegionMapRegisters(void)
|
||||
ResetSpriteData();
|
||||
FreeAllSpritePalettes();
|
||||
ResetBgsAndClearDma3BusyFlags(0);
|
||||
InitBgsFromTemplates(1, sFieldRegionMapBgTemplates, 2);
|
||||
InitBgsFromTemplates(1, sFieldRegionMapBgTemplates, ARRAY_COUNT(sFieldRegionMapBgTemplates));
|
||||
InitWindows(sFieldRegionMapWindowTemplates);
|
||||
DeactivateAllTextPrinters();
|
||||
LoadUserWindowBorderGfx(0, 0x27, 0xd0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user