Prev: 52279 Up: Map Next: 52344
52314: Read The Character Timetable
Used by the routine at ScriptInterpreter.
Clears the previous result, notes whether Sherlock is using a disguise, and then reads the timetable.
NoteDisguiseAndReadTimetable 52314 CALL SetCharacterPointerAndID Call SetCharacterPointerAndID to point at this character and store its id.
52317 CALL IsSherlockTheChinaMan Call IsSherlockTheChinaMan to see whether Sherlock is wearing the China Man disguise.
52320 SUB A Clear *TV_FLAG so that printing goes to the upper screen.
52321 LD (23612),A
52324 LD A,(39008) Go to NoteDisguiseAndReadTimetable_Next if the object is not in this location.
52327 CALL CheckObjectLocationMatch
52330 JR Z,NoteDisguiseAndReadTimetable_Next
52332 LD A,1 Write 1 to *TV_FLAG.
52334 LD (23612),A
NoteDisguiseAndReadTimetable_Next 52337 LD HL,0 Clear the pointer.
This entry point is used by the routine at ProcessCharacterAction.
NoteDisguiseAndReadTimetable_RecordCharacterScript 52340 LD (40991),HL Record the character script cycle.
52343 RET Return.
Prev: 52279 Up: Map Next: 52344