![]() |
Routines |
| D | Character's y-coordinate |
| 26184 | LD A,D | A=character's y-coordinate |
| 26185 | CP 155 | Is the character on the top floor? |
| 26187 | RET Z | Return with zero flag set if so |
| 26188 | CP 162 | Is the character on the middle floor? |
| 26190 | RET Z | Return with zero flag set if so |
| 26191 | CP 169 | Is the character on the top floor? |
| 26193 | RET | Return with zero flag set if so |