Prev: 31893 Up: Map Next: 31903
31896: Raise the signal for a certain event
Used by the routine at 61555 to raise the signal for the event identifier in A. In practice only event IDs 8-12 are used, which indicate to anyone listening that the teacher has arrived at the classroom door.
Input
A Event identifier (8-12) from the teacher's command list
H Teacher's character number (201-204)
31896 CALL 31861 Convert the event ID into an appropriate bit mask (1, 2, 4, 8 or 16)
31899 OR (HL) Merge the existing event flags in 32641
This entry point is used by the (unused) routine at 31905.
31900 LD (HL),A Set or reset the appropriate bit at 32641
31901 EX DE,HL Restore the character number to H
31902 RET
Prev: 31893 Up: Map Next: 31903