Tile animator: Difference between revisions
Content deleted Content added
Piranhaplant (talk | contribs) No edit summary |
Piranhaplant (talk | contribs) No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
{{Infobox Entity|entity_pointer=$82:D7CF}} |
{{Infobox Entity|entity_pointer=$82:D7CF}} |
||
Tile animator is a [[boss monster]]. |
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:Boss monster]] |
||
[[Category:Monster]] |
|||
[[Category:Entity]] |
Latest revision as of 18:12, 22 June 2024
Monster data | |
---|---|
HP | N/A |
Points | N/A |
Special | {{{special}}} |
Resists | {{{resists}}} |
Weak to | {{{weak_to}}} |
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.