Tile animator: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 2:
{{Infobox Entity|entity_pointer=$82:D7CF}}
Tile animator is a [[boss monster]].
 
== Additional data format ==
 
=== Header ===
 
{| class="wikitable"
|-
! 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 ===
 
{| class="wikitable"
|-
! 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.
 
[[Category:Boss monster]]