Add shade flash highlight for currently selected Load Game name

This commit is contained in:
sirlemonhead 2019-11-28 00:22:49 +00:00 committed by Christoph Oelckers
parent f56dd9a3e1
commit 2dddf19ce7

View file

@ -1047,7 +1047,6 @@ int menu_NewGameMenu()
// Loop #3
for (int i = 0; i < 5; i++)
{
// CHECKME
int8_t shade = ((Sin((int)totalclock << 4) >> 9) * (i == nSlot)) + ((i != nSlot) * 31);
overwritesprite(55, arg_4A, kMenuBlankTitleTile, shade, 2, kPalNormal);
@ -1306,8 +1305,8 @@ int menu_LoadGameMenu()
for (int i = 0; i < kMaxSaveSlots; i++)
{
// TODO - shade flashing
overwritesprite(55, spriteY, kMenuBlankTitleTile, 0, 2, kPalNormal);
int8_t shade = ((Sin((int)totalclock << 4) >> 9)* (i == nSlot)) + ((i != nSlot) * 31);
overwritesprite(55, spriteY, kMenuBlankTitleTile, shade, 2, kPalNormal);
myprintext(63, textY, nameList[i], 0);
textY += 22;