mirror of
https://github.com/FireEmblemUniverse/fireemblem8u.git
synced 2024-11-23 13:19:53 +00:00
removed NONMATCHING in DisplayExtendedSysHand and used defines in gAutoUdefJids
This commit is contained in:
parent
1c4e8a8aa8
commit
c3172f0ba6
@ -18,7 +18,7 @@ CONST_DATA EventListScr EventScr_UnkCh3B_EndingScene[] = {
|
||||
};
|
||||
|
||||
CONST_DATA u8 gAutoUdefJids[2][4] = {
|
||||
0x58, 0x5B, 0x5F, 0x61, 0, 0, 0, 0
|
||||
CLASS_BAEL, CLASS_MAUTHEDOOG, CLASS_MOGALL, CLASS_GORGON, 0, 0, 0, 0
|
||||
};
|
||||
|
||||
void AutoGenerateUnitdef(u8 idx, int jid, s8 x_from, s8 y_from, s8 x_to, s8 y_to)
|
||||
|
@ -278,11 +278,7 @@ void DisplayExtendedSysHand(struct SysHandCursorProc * proc)
|
||||
int i;
|
||||
|
||||
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
|
||||
|
||||
EnablePaletteSync();
|
||||
PutSpriteExt(4, proc->x, proc->y + 8, gObject_8x8,
|
||||
|
Loading…
Reference in New Issue
Block a user