Prev: B8DB Up: Map Next: B90A
B8FC: Clear a record's +B, +C, +E and +F
Used by the routines at stop_object, free_object, fire, hit_block and leave_slope.
For a shot these are its screen position, length and pattern offset; free_object starts the clearing of a whole object record here, and the landscape collisions (hit_block, leave_slope) use it on an object that hits something.
Input
IX the record
Output
A 0
clear_screen_fields B8FC XOR A zero them
B8FD LD (IX+$0B),A
B900 LD (IX+$0C),A
B903 LD (IX+$0E),A
B906 LD (IX+$0F),A
B909 RET
Prev: B8DB Up: Map Next: B90A