Enemy sprite palettes file

Files with this format: "enemypal.dat".

Small palette chungs (16 RGB triplets) used for enemy IMC rendering.

Table of Contents

Offsets

starting at 0x00

Structures

palette_chunk

Offsets

Offset: starting at 0x00

0x00: palettes: array[ 0x47 ] of struct palette_chunk (each size 0x34)
Offsets of font data start in file.

Structures

Structure: palette_chunk

Size 0x34.

0x00: start_offset: byte
Starting palette triplets offset
  • Divide by 3 to get palette index
0x01: triplets: array[ 0xf0 ] of byte
RGB byte triplets
  • Each component seems divided by 4 for reason unknown.
0xf1: unknown array[ 0x03 ] of byte
  • Sprites use 16 specific colors max. Ending triplet purpose is mystery.