![]() |
Routines |
| Prev: 31998 | Up: Map | Next: 32028 |
|
Used by the routine at 29100. Sets the attribute bytes for Sam's disguise in the bottom right corner of the screen.
|
||||
| 32009 | EX DE,HL | |||
|
This entry point is used by the routine at 63838.
|
||||
| 32010 | PUSH HL | |||
| 32011 | CALL 29332 | Get the attribute byte to use for Sam's disguise | ||
| 32014 | LD BC,797 | B=3, C=29 | ||
| 32017 | LD (HL),A | Set a row of attribute bytes for Sam's disguise in the bottom right of the screen | ||
| 32018 | INC L | |||
| 32019 | DJNZ 32017 | |||
| 32021 | JR Z,32026 | Jump if we've done all 3 rows | ||
| 32023 | ADD HL,BC | Point HL at the attribute byte for the first tile in the next row down | ||
| 32024 | JR 32014 | Jump back to set the attribute bytes in this row | ||
| 32026 | POP HL | |||
| 32027 | RET | |||
| Prev: 31998 | Up: Map | Next: 32028 |