Prev: 41176 Up: Map Next: 41191
41179: Check Character Schedule
Used by the routine at GameEntryPoint.
Input
HL Current game time
Output
F Carry flag is set if the character should be skipped
CheckCharacterSchedule 41179 LD E,(IY+6) Fetch the characters schedule offset and store it in DE.
41182 LD D,(IY+7)
41185 LD A,H Return if the high byte of the characters schedule doesn't match the current game time.
41186 CP D
41187 RET NZ
41188 LD A,L Set the carry flag if the schedule isn't for now.
41189 CP E
41190 RET Return.
Prev: 41176 Up: Map Next: 41191