![]() |
Routines |
| Prev: C7A9 | Up: Map | Next: C7BC |
|
Used by the routine at draw_trail.
For the trail (draw_ship): when bit 7 of trail_direction is clear, returns Z with B the bit-reversal page and L one byte further right, for a mirrored eraser or drawer; otherwise returns NZ.
|
||||
| trail_mirror | C7B1 | LD A,(trail_direction) | Bit 7 set: the plain image. | |
| C7B4 | BIT 7,A | |||
| C7B6 | RET NZ | |||
| C7B7 | LD B,$F9 | Mirrored, one byte to the right. | ||
| C7B9 | INC L | |||
| C7BA | XOR A | |||
| C7BB | RET | |||
| Prev: C7A9 | Up: Map | Next: C7BC |