Prev: 41160 Up: Map Next: 41272
41252: Message: A Conjunction
Used by the routine at DisplayExits.
Prints "and" between listed objects.
MessageAConjunction 41252 ADD IX,BC Return if this direction is 255.
41254 LD A,255
41256 CP (IX+0)
41259 RET Z
41260 XOR A Jump back to MessageAConjunction if this exit goes via an object.
41261 CP (IX+1)
41264 JR NZ,MessageAConjunction
41266 CP (IX+0) Jump back to MessageAConjunction if this direction is zero.
41269 JR Z,MessageAConjunction
41271 RET Return.
View the equivalent code in;
Prev: 41160 Up: Map Next: 41272