benilla-re systems structs docs

DoorIsNotMoving

function · objectlayer · orchestration

Address
0x5f42f0 · 100 bytes, up to 0x5f4353
Meaning
Returns whether a door may be used: no autoClose, else not in state 1 if it starts open or 3 if closed
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 1

Callees 2

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