Prev: 62141 Up: Map Next: 62151
62146: Test Entity Overlap
Find a simple entity at StateData_SimpleEntities whose bounds overlap IX, ignoring entities with bit 5 set. Used for trap offers, put-downs and falls. On a hit, clear carry and store the entity at Pointer_LastCollidedEntity; on a miss, set carry.
Input
IX Address of complex state data for the subject entity
Test_EntityOverlap 62146 LD BC,0 Load BC with 0000 (reject bit 5, then same room).
62149 JR Test_EntityOverlap_Scan Jump to Test_EntityOverlap_Scan to scan with the standard mask.
Prev: 62141 Up: Map Next: 62151