![]() |
Routines |
| Prev: 62141 | Up: Map | Next: 62151 |
|
Used by the routines at Advance_Falling_Entity, Update_Berk_ReadControls and ScriptRoutine_VatRoomTransition.
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.
|
||||||||
| 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 |