![]() |
Routines |
| Prev: D2C0 | Up: Map | Next: D2E1 |
|
Used by the routine at draw_landscape.
Pieces are walked upwards from their start, so in the upper map cells of the window a piece whose start (lowest) y is above the in-cell y of the play area's top edge cannot be seen.
|
||||||||||||
| piece_off_top_edge | D2DA | LD A,(piece_page_y) | ||||||||||
| D2DD | CP B | |||||||||||
| D2DE | RET C | |||||||||||
| D2DF | XOR A | |||||||||||
| D2E0 | RET | |||||||||||
| Prev: D2C0 | Up: Map | Next: D2E1 |