![]() |
Routines |
| Prev: A25D | Up: Map | Next: A27A |
|
Used by the routine at draw_trail.
For draw_direct_pair, the drawer that works straight on the screen: the new image's bottom line (direct_new_line, from the sprite position word in moved_x), its height (ground_cell) and width (sprite_width_drawn), and the screen address of its bottom-left byte.
|
||||||||||||||
| set_direct_new | A266 | LD A,($BF84) | ||||||||||||
| A269 | LD (direct_new_line),A | |||||||||||||
| A26C | LD A,B | |||||||||||||
| A26D | LD (ground_cell),A | |||||||||||||
| A270 | LD A,H | |||||||||||||
| A271 | LD (sprite_width_drawn),A | |||||||||||||
| A274 | LD HL,(sprite_screen_pos) | |||||||||||||
| A277 | JP pixel_to_screen | |||||||||||||
| Prev: A25D | Up: Map | Next: A27A |