Remove extra unnecessary palettes

This merges the colors from other palettes into the general entity
palette function.
This commit is contained in:
NyakoFox
2025-02-05 01:22:03 -04:00
committed by Ethan Lee
parent 343790f12b
commit d419c6ed5b
4 changed files with 62 additions and 86 deletions

View File

@@ -613,17 +613,24 @@ void entclass::updatecolour(void)
switch (size)
{
case 0: // Sprites
case 3: // Big chunky pixels!
case 4: // Small pickups
case 7: // Teleporter
case 9: // Really Big Sprite! (2x2)
case 10: // 2x1 Sprite
case 13: // Special for epilogue: huge hero!
realcol = graphics.getcol(colour);
break;
case 3: // Big chunky pixels!
realcol = graphics.bigchunkygetcol(colour);
break;
case 4: // Small pickups
realcol = graphics.huetilegetcol();
case 5: // Horizontal gravity line
case 6: // Vertical gravity line
if (life == 0)
{
realcol = graphics.getcol(colour);
}
else
{
realcol = graphics.getcol(24);
}
break;
case 11: // The fucking elephant
if (game.noflashingmode)