![]() |
Routines |
Prev: FA04 | Up: Map |
Used by the routine at F6D7. Returns with the zero flag set if MR CREAK is near a blackboard that was last written on by ERIC.
|
||||||||||
FA10 | CALL $7128 | A=identifier of the blackboard nearest to CREAK | ||||||||
FA13 | CP $EC | Is CREAK on the top floor? | ||||||||
FA15 | JR NZ,$FA1B | Jump if not | ||||||||
FA17 | INC L | L=0x62 (which byte holds CREAK's x-coordinate) | ||||||||
FA18 | BIT 6,(HL) | Return with the zero flag reset if CREAK's x-coordinate is >= 64, i.e. he's standing at the doorway of the (blackboardless) Map Room (which never happens, because CREAK never teaches in that room) | ||||||||
FA1A | RET NZ | |||||||||
FA1B | INC A | DE=7FED (Reading Room blackboard) or 7FEF (White Room blackboard) | ||||||||
FA1C | LD E,A | |||||||||
FA1D | LD D,$7F | |||||||||
FA1F | LD A,(DE) | A=number of the character who last wrote on this board | ||||||||
FA20 | CP $AC | Set the zero flag if it was ERIC | ||||||||
FA22 | RET |
Prev: FA04 | Up: Map |