Prev: 44648 Up: Map Next: 44682
44673: Test Valves In Play
Used by the routines at HandleValveGhost, HandleValveGhostSparkle and HandleSocket.
Tests whether either of the two slots for special objects is in use. They hold the valves and extra lives which are in the room.
Output
F Zero flag set if both slots are empty
Combine the two special object slots.
TestValvesInPlay 44673 LD A,(23496) Fetch SpecialObjectSlots.
44676 LD C,A Keep it in C.
44677 LD A,(23528) Fetch 23528.
44680 OR C Combine it with the first.
44681 RET Return.
Prev: 44648 Up: Map Next: 44682