![]() |
Routines |
| Prev: BE08 | Up: Map | Next: BE26 |
|
Used by the routine at next_part.
For a record whose box reaches above the top of its page: the part in the page above, from its bottom line ($B7) up by what stuck out (stick_out_up), its full width.
|
||||
| part_above | BE10 | LD A,(stick_out_up) | the height that stuck out | |
| BE13 | LD (piece_y),A | |||
| BE16 | LD HL,(tile_mirrored_left_right) | the page above, at its bottom line | ||
| BE19 | DEC H | |||
| BE1A | LD L,$B7 | |||
| BE1C | LD (moved_y),HL | |||
| BE1F | LD A,(piece_page_x) | the full width | ||
| BE22 | LD (piece_x),A | |||
| BE25 | RET | |||
| Prev: BE08 | Up: Map | Next: BE26 |