Companion

object Companion

Properties

Link copied to clipboard
const val CRAWL: Int = 1

The constant flag movement type indicating the npc did crawl.

Link copied to clipboard
const val RUN: Int = 4

The constant flag movement type indicating the npc did run. Run state is additionally reached if two walks, two crawls or a mix of a crawl and walk was used in one cycle. More than two walks/crawls will however turn into a telejump. This flag has a higher priority than crawl or walk, but is surpassed by both teleports.

Link copied to clipboard
const val TELE: Int = 8

The constant flag indicating the npc is teleporting without a jump. The jump condition is automatically included if the npc moves more than 2 tiles. This flag has the highest priority out of all above, only surpassed by telejump.

Link copied to clipboard
const val TELEJUMP: Int = 16

The constant flag indicating the npc is jumping regardless of distance. This flag has the highest priority out of all above.

Link copied to clipboard
const val WALK: Int = 2

The constant flag movement type indicating the npc did walk.