mirror of
https://github.com/FireEmblemUniverse/fireemblem8u.git
synced 2024-10-07 02:13:43 +00:00
DisplayExtendedSysHand
This commit is contained in:
parent
25fb27de9b
commit
1c4e8a8aa8
@ -277,17 +277,10 @@ void DisplayExtendedSysHand(struct SysHandCursorProc * proc)
|
||||
{
|
||||
int i;
|
||||
|
||||
#if !NONMATCHING
|
||||
u32 clk;
|
||||
u16 * src, * dst, * _dst;
|
||||
|
||||
clk = GetGameClock();
|
||||
dst = gPaletteBuffer;
|
||||
_dst = dst + (proc->pal_bank * 0x10 + 0x10E);
|
||||
src = &PAL_BUF_COLOR(Pal_08A1D448, gPlaySt.config.windowColor, (clk / 4) % 0x10);
|
||||
*_dst = *src;
|
||||
#else
|
||||
gPaletteBuffer[proc->pal_bank * 0x10 + 0x10E] =
|
||||
#if !NONMATCHING
|
||||
((gPlaySt.config.windowColor << 4) + ((GetGameClock() / 4) % 0x10))[Pal_08A1D448];
|
||||
#else
|
||||
Pal_08A1D448[gPlaySt.config.windowColor * 0x10 + ((GetGameClock() / 5) % 0x10)];
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user