![]() |
Routines |
| Prev: CAF1 | Up: Map | Next: CB0F |
|
Used by the routines at DISPLAY_PANEL and PRINT_BORDER.
TRANSFER_SPRITE puts the graphic, the flags, x and y of a four-byte entry into +0, +7, +$1A and +$1B of the record at IX, and PRINT_SPRITE (in CALC_PIXEL_XY_AND_RENDER) draws it at that pixel position, with no projection. HL is kept on the next entry. As Knight Lore's transfer_sprite_and_print.
|
||||||||||||||
| TRANSFER_SPRITE_AND_PRINT | CB06 | CALL TRANSFER_SPRITE | Graphic, flags, x and y into the record | |||||||||||
| CB09 | PUSH HL | Draw it, keeping HL | ||||||||||||
| CB0A | CALL PRINT_SPRITE | |||||||||||||
| CB0D | POP HL | |||||||||||||
| CB0E | RET | |||||||||||||
| Prev: CAF1 | Up: Map | Next: CB0F |