Prev: B866 Up: Map Next: B8A2
B890: Mark the obstacle, if the mover is the player's legs or graphic 91
Used by the routine at ADJ_DZ_FOR_OBJ_INTERSECT.
Called by ADJ_DZ_FOR_OBJ_INTERSECT when two objects meet in Z. Bit 7 of the obstacle's +$17 says the player or a graphic 91 block (HEAVY_BLOCK) has met it -- in practice stood on it. LIFT, BOBBER and CRUMBLING_BLOCK read and clear it.
Input
IX the mover
IY the obstacle
MARK_STOOD_ON B890 LD A,(IX+$00) graphic 91, or 32-39: the player's legs
B893 CP $5B
B895 JR Z,MARK_STOOD_ON_0
B897 CP $20
B899 RET C
B89A CP $28
B89C RET NC
MARK_STOOD_ON_0 B89D SET 7,(IY+$17) mark the obstacle
B8A1 RET
Prev: B866 Up: Map Next: B8A2