Tile animator

From ZAMN Hacking
Monster data
HP N/A
Points N/A
Entity data
Entity pointer $82:D7CF

Tile animator is a boss monster.

Additional data format[edit]

Header[edit]

Offset Length Type Description
0x00 2 pointer16 Pointer to tile animation

This data is repeated for each tile animation. The list is terminated with two consecutive zero bytes.

Tile animation data[edit]

Offset Length Type Description
0x00 2 uint16 Initial graphics tile number
0x02 2 uint16 Delay (in frames)
0x04 2 uint16 New graphics tile number

"Delay" and "new graphics tile number" are repeated for each tile in the animation. The list is terminated when delay is either 0xFFFE or 0xFFFF. The animation is looping if it is terminated with 0xFFFF and not looping otherwise.