Memory layout

| 0xB9 | B | E | A | |——|—–|—–|—–|

Arguments

Description

Fetches the triangle ID on which the object of entity E is currently standing on, 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 triangle ID of a non-visible entity results in unusual values being retrieved.