Tile animator: Difference between revisions

752 bytes added ,  22 days ago
no edit summary
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 2:
{{Infobox Entity|entity_pointer=$82:D7CF}}
Tile animator is a [[boss monster]].
 
== Additional data format ==
 
=== Header ===
 
{| class="wikitable"
|-
! Offset !! Length !! [[Data types|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 !! [[Data types|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]]
[[Category:Monster]]
[[Category:Entity]]