Prev: B4C1 Up: Map Next: B517
B4FD: Process Display Pointer
Used by the routine at FindFirstNoun.
Runs the looked-up handler for each object that belongs in this picture.
CheckFlagAndSetDisplay_ProcessPointer B4FD LD HL,$B172 Take the display data pointer.
B500 CALL $B4A0 Call B4A0 to run the handler that was looked up.
B503 CP $FF Return if the entry is the end marker.
B505 RET Z
B506 LD ($A034),A Record the room display parameter.
B509 CALL CheckFlagAndSetDisplay_CheckObjects Call CheckFlagAndSetDisplay_CheckObjects to check the objects.
B50C JR NZ,CheckFlagAndSetDisplay_ProcessPointer Jump back to CheckFlagAndSetDisplay_ProcessPointer while an object matches this picture.
B50E LD A,($A034) Read the room display parameter and take the display flag.
B511 LD HL,$B16D
B514 SET 1,(HL) Set bit 1 of the display flag.
B516 RET Return.
View the equivalent code in;
Prev: B4C1 Up: Map Next: B517