Back to Skool Routines
Prev: 31861 Up: Map Next: 31893
31887: Check for arrival of time or occurrence of event
Used by the routines at 31915, 32497 and 61555. Returns with the zero flag set if the time hasn't arrived or the event hasn't occurred.
A Event identifier
H Character number (183-214)
31887 CALL 31861 Convert the event ID into an appropriate bit mask
31890 AND (HL) Set the zero flag if the event hasn't occurred (HL=32640 or 32641)
31891 EX DE,HL Restore the character number to H
31892 RET Return with the zero flag set if the event hasn't occurred
Prev: 31861 Up: Map Next: 31893