Prev: 9ECB Up: Map Next: 9EF8
9EDD: List what can be seen in the room
Prints 'you see :' and the objects and characters lying loose in the actor's room (9EF8), or ' nothing'.
9EDD PUSH IY Save the caller's IY, AF and BC
9EDF PUSH AF
9EE0 PUSH BC
9EE1 LD HL,$AEF5 "you see :"
9EE4 CALL $72D4
9EE7 LD A,$FF A = $FF, meaning "held by nobody", i.e. lying loose in the room
9EE9 LD IY,($B5FC) IY = the actor's own record
9EED LD B,(IY+$10) B = the actor's room
9EF0 CALL $9EF8 List everything lying loose there
9EF3 POP BC Restore the caller's BC, AF and IY
9EF4 POP AF
9EF5 POP IY
9EF7 RET
Prev: 9ECB Up: Map Next: 9EF8