Magic & Mayhem sprites file

A collection of sprites for Magic & Mayhem game.

Description
All integers are little-endian.

Sprite pixels are encoded with custom RLE scheme. Each scanline is:


 * Read n number of pixels from deltas (1 byte), advancing deltas pointer
 * Put n pixels from pixels offset (each pixel is 1 byte index into sprite's palette), advancing pixels pointer
 * Read b number of blank pixels from deltas, advancing deltas pointer
 * Put b blank pixels
 * Repeat until whole width is filled

Links

 * Sprite and Archive Utility - Magic & Mayhem sprite decoder source
 * Incomplete Kaitai Struct format spec
 * Magic and Mayhem