| Routines

31244: Place a telephone call

Used by the routine at 30675. On entry, A holds the identifier of the telephone that Sam is calling.
Input
A | Telephone identifier
H | 127
31244 | LD L,154 | Store the identifier of the telephone that Sam is calling at 32666
31246 | LD (HL),A
31247 | INC L | Set bit 5 of the telephone status flags at 32667
31248 | LD (HL),32
31250 | LD A,49 | Message 49: 'IT BEGAN RINGING'
31252 | JP 30154 | Queue this message urgently