| Routines

31887: Check whether a signal has been raised

Used by the routines at 31915, 32497 and 61555. Returns with the zero flag reset if the signal has been raised.
Input
A | Event identifier
H | Character number (183-209)
31887 | CALL 31861 | Convert the event ID into an appropriate bit mask
31890 | AND (HL) | Set the zero flag if the signal for this event hasn't been raised (HL=32640 or 32641)
31891 | EX DE,HL | Restore the character number to H
31892 | RET | Return with the zero flag set if the signal hasn't been raised