![]() |
Routines |
| Prev: A223 | Up: Map | Next: A247 |
|
Used by the routines at prepare_erase and draw_star_layer.
Records the old image's height (old_sprite_rows) and width (sprite_width, which draw_sprite_pair turns to pixels) and chooses the routine that rubs one of its rows out of the buffer (erase_row_routines) into IY, and its shift table page into B.
|
||||||||||||||||||
| set_old_sprite | A234 | LD A,B | ||||||||||||||||
| A235 | LD (old_sprite_rows),A | |||||||||||||||||
| A238 | LD A,H | |||||||||||||||||
| A239 | LD (sprite_width),A | |||||||||||||||||
| A23C | LD HL,erase_row_routines | |||||||||||||||||
| A23F | CALL table_word | |||||||||||||||||
| A242 | PUSH HL | |||||||||||||||||
| A243 | POP IY | |||||||||||||||||
| A245 | JR shift_page | |||||||||||||||||
| Prev: A223 | Up: Map | Next: A247 |