Prev: 51830 Up: Map Next: 51870
51839: Read The Character Timetable
Used by the routine at ProcessDisplayRecord.
Reads the character timetable and returns when Sherlock's disguise matches the character attribute.
ReadCharacterTimetable 51839 LD A,(39008) Call FetchObjectDataPointer to look up the character at Table_Timetable.
51842 CALL FetchObjectDataPointer
51845 LD A,(40969) Read Sherlock's disguise.
51848 CP (IX+15) See whether it matches the character attribute.
51851 RET Z Return if they match.
51852 LD A,(41014) Save the current character and read the character at Table_Timetable.
51855 PUSH AF
51856 LD A,(39008)
51859 LD (41014),A Record the current character.
51862 CALL DispatchScheduleMarker Call DispatchScheduleMarker to dispatch on the schedule marker.
51865 POP AF
51866 LD (41014),A Record the current character.
51869 RET Return.
Prev: 51830 Up: Map Next: 51870