Prev: 46273 Up: Map Next: 46359
46333: Process Display Pointer
Used by the routine at FindFirstNoun.
Runs the looked-up handler for each object that belongs in this picture.
CheckFlagAndSetDisplay_ProcessPointer 46333 LD HL,45426 Take the display data pointer.
46336 CALL 46240 Call 46240 to run the handler that was looked up.
46339 CP 255 Return if the entry is the end marker.
46341 RET Z
46342 LD (41012),A Record the room display parameter.
46345 CALL CheckFlagAndSetDisplay_CheckObjects Call CheckFlagAndSetDisplay_CheckObjects to check the objects.
46348 JR NZ,CheckFlagAndSetDisplay_ProcessPointer Jump back to CheckFlagAndSetDisplay_ProcessPointer while an object matches this picture.
46350 LD A,(41012) Read the room display parameter and take the display flag.
46353 LD HL,45421
46356 SET 1,(HL) Set bit 1 of the display flag.
46358 RET Return.
View the equivalent code in;
Prev: 46273 Up: Map Next: 46359