![]() |
Routines |
| Prev: 921B | Up: Map |
|
Used by the routine at 870E.
|
||||||||
| 923A | LD HL,($806C) | Pick up the address of Willy's location in the attribute buffer at 5C00 from 806C | ||||||
| 923D | LD DE,$001F | Prepare DE for addition | ||||||
| 9240 | LD C,$0F | Set C=0x0F for the top two rows of cells (to make the routine at 925F force white INK) | ||||||
| 9242 | CALL $925F | Check and set the attribute byte for the top-left cell | ||||||
| 9245 | INC HL | Move HL to the next cell to the right | ||||||
| 9246 | CALL $925F | Check and set the attribute byte for the top-right cell | ||||||
| 9249 | ADD HL,DE | Move HL down a row and back one cell to the left | ||||||
| 924A | CALL $925F | Check and set the attribute byte for the mid-left cell | ||||||
| 924D | INC HL | Move HL to the next cell to the right | ||||||
| 924E | CALL $925F | Check and set the attribute byte for the mid-right cell | ||||||
| 9251 | LD A,($8068) | Pick up Willy's pixel y-coordinate from 8068 | ||||||
| 9254 | LD C,A | Copy it to C | ||||||
| 9255 | ADD HL,DE | Move HL down a row and back one cell to the left | ||||||
| 9256 | CALL $925F | Check and set the attribute byte for the bottom-left cell | ||||||
| 9259 | INC HL | Move HL to the next cell to the right | ||||||
| 925A | CALL $925F | Check and set the attribute byte for the bottom-right cell | ||||||
| 925D | JR $927F | Draw Willy to the screen buffer at 6000 | ||||||
| Prev: 921B | Up: Map |