Routines |
Prev: 7746 | Up: Map | Next: 775B |
|
||||||||
774F | LD L,$02 | Byte 0x02 of the character's buffer holds his y-coordinate | ||||||
7751 | LD A,(HL) | Pick this up in A | ||||||
7752 | CP $03 | Is the character on the top floor? | ||||||
7754 | RET Z | Return with the zero flag set if so | ||||||
7755 | CP $0A | Is the character on the middle floor? | ||||||
7757 | RET Z | Return with the zero flag set if so | ||||||
7758 | CP $11 | Is the character on the bottom floor? | ||||||
775A | RET | Return with the zero flag set if so |
Prev: 7746 | Up: Map | Next: 775B |