benilla-re systems structs docs

DoorHandlerSetState

function · objectlayer · orchestration

Address
0x5f43a0 · 40 bytes, up to 0x5f43c7
Meaning
Sets a door's state and stores whether it now collides
Confidence
verified, proof one
Finding
objectlayer/gameobjecttypes#doors-and-buttons

Finding: Doors and buttons in objectlayer: game object types

A door is usable only while it is not moving: with autoClose set, a door that starts open must not be in state 1, one that starts closed not in state 3; otherwise ERR_USE_OBJECT_MOVING. A door's state change stores whether the state is 1 as its collision. A locked door shows ERR_DOOR_LOCKED, a locked button ERR_BUTTON_LOCKED.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 1

Calls and jumps by a bare address, from tables/calls.tsv.