Jump to content

Splitting Segmented Worm [2.55]

Overview
Creator: Emily Updated: 31 May 2021 Tags: 2.55, Enemy, NPC Downloads: 57
Rating[?]: No rating
Download Package
(1.73 KB)
Information

Description Setup Reviews Comments

Required includes: EmilyMisc.zh (Utility function header)

Assign the script to an enemy. The enemy's tile should be the upper-left corner, where the tiles are set up according to the chosen animation style, with one major exception; it will use 3 rows of this.
The first row represents a middle segment. The second represents a head, while the third represents a tail.

D0: Number of segments for this worm. Minimum 2.
D1: Number of frames to wait before turning. Will turn sooner if it hits a wall.
D2: Leave this at 0. Used by the script.
D3: Leave this at 0. Used by the script.
D4+: Unused