![]() |
Routines |
| Prev: A234 | Up: Map | Next: A25D |
|
Used by the routines at prepare_draw and draw_star_layer.
As set_old_sprite for the new image: its height (new_sprite_rows) and width, its draw-row routine from draw_row_routines into IX, and its shift page into B.
|
||||||||||||||||||
| set_new_sprite | A247 | LD A,B | ||||||||||||||||
| A248 | LD (new_sprite_rows),A | |||||||||||||||||
| A24B | LD A,H | |||||||||||||||||
| A24C | LD (sprite_width_drawn),A | |||||||||||||||||
| A24F | LD HL,draw_row_routines | |||||||||||||||||
| A252 | CALL table_word | |||||||||||||||||
| A255 | PUSH HL | |||||||||||||||||
| A256 | POP IX | |||||||||||||||||
| A258 | LD A,(new_sprite_x) | |||||||||||||||||
| A25B | JR shift_page_0 | |||||||||||||||||
| Prev: A234 | Up: Map | Next: A25D |