Prev: A0D8 Up: Map Next: A0E7
A0DB: 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 A0DB LD E,(IY+$06) Fetch the characters schedule offset and store it in DE.
A0DE LD D,(IY+$07)
A0E1 LD A,H Return if the high byte of the characters schedule doesn't match the current game time.
A0E2 CP D
A0E3 RET NZ
A0E4 LD A,L Set the carry flag if the schedule isn't for now.
A0E5 CP E
A0E6 RET Return.
Prev: A0D8 Up: Map Next: A0E7