Prev: AE68 Up: Map Next: AE8A
AE81: Is anything lying in the room from the places?
Used by the routines at WANTED_VALVE, SOCKET_SPARKLE and SOCKET.
The graphics of the two records the places fill (OBJECTS's records 2 and 3) ORed: zero when both are empty. Used by the socket and its sparkle (WANTED_VALVE, SOCKET_SPARKLE, SOCKET).
Output
F zero flag set if nothing is there
ANY_SPECIAL_HERE AE81 LD A,(VALVES) VALVES or VALVE_SECOND
AE84 LD C,A
AE85 LD A,(VALVE_SECOND)
AE88 OR C
AE89 RET
Prev: AE68 Up: Map Next: AE8A