Prev: CC37 Up: Map Next: CC78
CC5A: 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 CC5A CALL SetCharacterPointerAndID Call SetCharacterPointerAndID to point at this character and store its id.
CC5D CALL IsSherlockTheChinaMan Call IsSherlockTheChinaMan to see whether Sherlock is wearing the China Man disguise.
CC60 SUB A Clear *TV_FLAG so that printing goes to the upper screen.
CC61 LD ($5C3C),A
CC64 LD A,($9860) Go to NoteDisguiseAndReadTimetable_Next if the object is not in this location.
CC67 CALL CheckObjectLocationMatch
CC6A JR Z,NoteDisguiseAndReadTimetable_Next
CC6C LD A,$01 Write 01 to *TV_FLAG.
CC6E LD ($5C3C),A
NoteDisguiseAndReadTimetable_Next CC71 LD HL,$0000 Clear the pointer.
This entry point is used by the routine at ProcessCharacterAction.
NoteDisguiseAndReadTimetable_RecordCharacterScript CC74 LD ($A01F),HL Record the character script cycle.
CC77 RET Return.
Prev: CC37 Up: Map Next: CC78