Prev: 46242 Up: Map Next: 46273
46243: Check Flag And Set Display
Used by the routine at FindFirstNoun.
Sets up which room to display based on display flags and processes objects for that room.
CheckFlagAndSetDisplay 46243 LD A,(46242) Jump to FindFirstNoun_NoAction if the display setup flag is not 255.
46246 INC A
46247 JR NZ,FindFirstNoun_NoAction
46249 LD (46242),A Record the display setup flag.
46252 LD A,(45427)
46255 BIT 7,A Go to FindFirstNoun_NoAction if bit 7 of the display flag is clear.
46257 JR Z,FindFirstNoun_NoAction
Set up special display mode.
46259 LD A,254 Write 254 to the room display parameter.
46261 LD (41012),A
46264 LD HL,(45426) Write *DisplayDataPointer to *DisplayPointer.
46267 LD (41007),HL
46270 OR %00000001 Reset the zero flag.
46272 RET Return.
Prev: 46242 Up: Map Next: 46273