![]() |
Routines |
Prev: 30534 | Up: Map |
|
|||||||||
30543 | LD L,2 | Byte 2 of the character's buffer holds his y-coordinate | |||||||
30545 | LD A,(HL) | Pick this up in A | |||||||
30546 | CP 3 | Is the character on the top floor? | |||||||
30548 | RET Z | Return with the zero flag set if so | |||||||
30549 | CP 10 | Is the character on the middle floor? | |||||||
30551 | RET Z | Return with the zero flag set if so | |||||||
30552 | CP 17 | Is the character on the bottom floor? | |||||||
30554 | RET | Return with the zero flag set if so |
Prev: 30534 | Up: Map |