![]() |
Routines |
| Prev: CE79 | Up: Map | Next: CEB5 |
|
Used by the routine at landscape_step_loop.
From landscape_step_loop when, in one of the two upper tiles, the column's y is the view's y (view_y). As column_at_view_bottom but bit 1, when the vertical step scroll_down is negative.
|
||||
| column_at_view_top | CE97 | LD A,(edge_flags) | Flag it; a positive step: no more. | |
| CE9A | OR $80 | |||
| CE9C | LD (edge_flags),A | |||
| CE9F | LD A,(scroll_down) | |||
| CEA2 | BIT 7,A | |||
| CEA4 | JP Z,landscape_step_loop_2 | |||
| CEA7 | LD A,(edge_flags) | Otherwise bit 1, kept in piece_clip too. | ||
| CEAA | XOR $82 | |||
| CEAC | LD (edge_flags),A | |||
| CEAF | LD (piece_clip),A | |||
| CEB2 | JP landscape_step_loop_2 | |||
| Prev: CE79 | Up: Map | Next: CEB5 |