Prev: D187 Up: Map Next: D1C6
D1B2: Process Object Display With Check
Used by the routines at DispatchScheduleMarker and ParseInputNumber.
Prints the exit line when the direction is open, and prints the closed-way line otherwise.
ProcessObjectDisplayWithCheck D1B2 LD B,A Call ProcessLocationToken to expand the location token.
D1B3 CALL ProcessLocationToken
D1B6 EX DE,HL Swap the two pointers, then call PrintLocationText to print the location text.
D1B7 CALL PrintLocationText
D1BA CALL CheckObjectVisibility Jump back to D178 while CheckObjectVisibility finds the object hidden.
D1BD JR NC,$D178
D1BF LD HL,$68C1 Take the message, then call PrintTextAndHandleControlCharacters to print the message.
D1C2 CALL PrintTextAndHandleControlCharacters
D1C5 RET Return.
Prev: D187 Up: Map Next: D1C6