![]() |
Routines |
| Prev: D937 | Up: Map | Next: D9A8 |
|
Used by the routine at fill_behind_moving_piece.
Used by fill_behind_moving_piece for a flat piece with no step set up. With scroll_across negative the fill starts a column further left. The rest (a column back right and one narrower) can only run for scroll_across = -128, never ran, and looks dead.
|
||||||||||
| adjust_fill_for_scroll | D990 | LD A,(scroll_across) | ||||||||
| D993 | BIT 7,A | |||||||||
| D995 | RET Z | |||||||||
| D996 | DEC L | |||||||||
| D997 | LD A,(piece_page_y) | |||||||||
| D99A | CP $5F | |||||||||
| D99C | RET NC | |||||||||
| D99D | LD A,(scroll_across) | |||||||||
| D9A0 | NEG | |||||||||
| D9A2 | BIT 7,A | |||||||||
| D9A4 | RET Z | |||||||||
| D9A5 | INC L | |||||||||
| D9A6 | DEC C | |||||||||
| D9A7 | RET | |||||||||
| Prev: D937 | Up: Map | Next: D9A8 |