| jetpac | Routines |
| Prev: 71ef | Up: Map | Next: 7200 |
|
Note: the sprite header byte is added to the X position. So the question is: what is this header byte really for? Used by the routine at 687a.
|
||||||||||||||||||||
| 71f2 | ld a,(de) | A=header value: X position offset? | ||||||||||||||||||
| 71f3 | inc de | DE=next header value: sprite width | ||||||||||||||||||
| 71f4 | add a,l | L=X position + offset | ||||||||||||||||||
| 71f5 | ld l,a | |||||||||||||||||||
| 71f6 | call $72d0 | HL=coord to screen address (using/returning HL) | ||||||||||||||||||
| 71f9 | ld a,(de) | B=read sprite width again | ||||||||||||||||||
| 71fa | ld b,a | |||||||||||||||||||
| 71fb | inc de | A=next header value: sprite height | ||||||||||||||||||
| 71fc | ld a,(de) | |||||||||||||||||||
| 71fd | ld ($5dc5),a | |||||||||||||||||||
| Prev: 71ef | Up: Map | Next: 7200 |