Memory layout

| 0xB7 | B | E | A | |——|—–|—–|—–|

Arguments

Description

Fetches the direction of the entity given by E into bank B, address A. E is an offset into the entity list, not a visible object ID, and therefore includes non-visible entities; retrieving the direction of a non-visible entity results in unusual values being retrieved.