Prev: 749B Up: Map Next: 74AA
749E: Check whether Sam is standing next to a telephone
Used by the routines at 7425 and 76FA. Returns with the zero flag reset if Sam is standing next to a telephone, and the carry flag reset as well if the telephone is ringing.
Input
H 0xE6 (Sam)
749E CALL $6CF4 Is the x-coordinate of the front column of Sam's sprite between 1 and 6 mod 8 (where phones can be picked up)?
74A1 RET Z Return if not
74A2 NOP
74A3 CALL $F454 Is Sam standing next to a telephone?
74A6 RET Z Return if not
74A7 JP $76DD Check whether the phone is ringing
Prev: 749B Up: Map Next: 74AA