Merge branch 'master' of https://github.com/pret/pokeemerald into doc-windows
This commit is contained in:
@@ -221,10 +221,10 @@ static void CB2_InitWirelessCommunicationScreen(void)
|
||||
ChangeBgY(0, 0, BG_COORD_SET);
|
||||
ChangeBgX(1, 0, BG_COORD_SET);
|
||||
ChangeBgY(1, 0, BG_COORD_SET);
|
||||
LoadPalette(sPalettes, 0x00, 0x20);
|
||||
LoadPalette(sPalettes, BG_PLTT_ID(0), PLTT_SIZE_4BPP);
|
||||
Menu_LoadStdPalAt(0xF0);
|
||||
DynamicPlaceholderTextUtil_Reset();
|
||||
FillBgTilemapBufferRect(0, 0, 0, 0, 32, 32, 0x0F);
|
||||
FillBgTilemapBufferRect(0, 0, 0, 0, 32, 32, 15);
|
||||
CopyBgTilemapBufferToVram(1);
|
||||
SetMainCallback2(CB2_RunWirelessCommunicationScreen);
|
||||
RunTasks();
|
||||
@@ -258,7 +258,7 @@ static void CyclePalette(s16 * counter, s16 * palIdx)
|
||||
*counter = 0;
|
||||
}
|
||||
idx = *palIdx + 2; // +2 skips over default.pal and the empty black palette after it
|
||||
LoadPalette(sPalettes[idx], 0, 16);
|
||||
LoadPalette(sPalettes[idx], BG_PLTT_ID(0), PLTT_SIZEOF(8));
|
||||
}
|
||||
|
||||
static void PrintHeaderTexts(void)
|
||||
|
||||
Reference in New Issue
Block a user