![]() |
Routines |
| Prev: F2BD | Up: Map | Next: F2C7 |
|
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 05 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 | F2C2 | LD BC,$0000 | Load BC with 0000 (reject bit 05, then same room). | |||||
| F2C5 | JR Test_EntityOverlap_Scan | Jump to Test_EntityOverlap_Scan to scan with the standard mask. | ||||||
| Prev: F2BD | Up: Map | Next: F2C7 |