![]() |
Routines |
| Prev: BE10 | Up: Map | Next: BE43 |
|
Used by the routine at next_part.
For a record whose box reaches past the right of its page: the part in the next page across (from $5F round to 0), from its left edge (x 8) across by what stuck out (stick_out_right), its full height.
|
||||
| part_right | BE26 | LD A,(stick_out_right) | the width that stuck out | |
| BE29 | LD (piece_x),A | |||
| BE2C | LD HL,(move_across_kept) | the next page across, at its left edge | ||
| BE2F | INC H | |||
| BE30 | LD A,H | |||
| BE31 | CP $60 | |||
| BE33 | JR NZ,part_right_0 | |||
| BE35 | LD H,$00 | |||
| part_right_0 | BE37 | LD L,$08 | ||
| BE39 | LD (moved_x),HL | |||
| BE3C | LD A,(piece_page_y) | the full height | ||
| BE3F | LD (piece_y),A | |||
| BE42 | RET | |||
| Prev: BE10 | Up: Map | Next: BE43 |