Prev: 9078 Up: Map Next: 90B4
90A2: CLOSE
Checks the target is open (A4C3; otherwise 'the X is closed'), then clears bit 5 of its flags.
90A2 LD IX,($B5F8) IX = the target's own record
90A6 CALL $A4C3 Is it open?
90A9 JP Z,$A09C No, already closed: say so
90AC CALL $9C99 Dry run? Then stop here: it would work
This entry point is used by the routine at 8FCF.
90AF RES 5,(IX+$07) Close it
90B3 RET
Prev: 9078 Up: Map Next: 90B4