mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-13 23:23:43 +01:00
Use relevant constants for BlendPalettes
This commit is contained in:
parent
7940f121f6
commit
6e49b45eb6
@ -83,7 +83,7 @@ void CB2_ShowDiploma(void)
|
||||
LZDecompressWram(sDiplomaTilemap, sDiplomaTilemapPtr);
|
||||
CopyBgTilemapBufferToVram(1);
|
||||
DisplayDiplomaText();
|
||||
BlendPalettes(-1, 16, 0);
|
||||
BlendPalettes(PALETTES_ALL, 16, RGB_BLACK);
|
||||
BeginNormalPaletteFade(PALETTES_ALL, 0, 16, 0, RGB_BLACK);
|
||||
EnableInterrupts(1);
|
||||
SetVBlankCallback(VBlankCB);
|
||||
|
@ -1200,7 +1200,7 @@ static bool32 InitSaveWindowAfterLinkBattle(u8 *state)
|
||||
break;
|
||||
case 3:
|
||||
ShowBg(0);
|
||||
BlendPalettes(-1, 16, 0);
|
||||
BlendPalettes(PALETTES_ALL, 16, RGB_BLACK);
|
||||
SetVBlankCallback(VBlankCB_LinkBattleSave);
|
||||
EnableInterrupts(1);
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user