Object list
Jump to navigation
Jump to search
Every object is categorized into an object list, which controls the order they are processed and which objects they can collide with. In behavior scripts, the BEGIN
command is used to specify the list for this object, such as BEGIN(OBJ_LIST_DEFAULT)
.
Available lists
The following lists are available:
List | ID | Description |
---|---|---|
Player | OBJ_LIST_PLAYER | Mario |
Destructive | OBJ_LIST_DESTRUCTIVE | Things that can be used to destroy other objects, like bob-ombs and corkboxes. |
General actors | OBJ_LIST_GENACTOR | Most normal "enemies" or actors are on this list, such as Mips, Bullet Bill or Bully. |
Level | OBJ_LIST_LEVEL | General level objects such as heart or star. |
Default | OBJ_LIST_DEFAULT | Objects that didn't start with a 00 command are put here, so this is treated as a default. |
Surface | OBJ_LIST_SURFACE | Objects that specifically have surface collision and not object collision, such as thwomp and whomp. |
Polelike | OBJ_LIST_POLELIKE | Objects that attract or otherwise "cling" Mario similar to a pole action, such as hoot, whirlpool, trees or poles. |
Spawner | OBJ_LIST_SPAWNER | Spawners |
Unimportant | OBJ_LIST_UNIMPORTANT | Objects that will not load if there are not enough object slots: they will also be manuall unloaded to make room for slots if the list gets exhaustet. |