removed NONMATCHING in DisplayExtendedSysHand and used defines in gAutoUdefJids

This commit is contained in:
minirop 2024-10-02 19:59:53 +02:00
parent 1c4e8a8aa8
commit c3172f0ba6
No known key found for this signature in database
GPG Key ID: 8218F21065E8072E
2 changed files with 1 additions and 5 deletions

View File

@ -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)

View File

@ -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,