| Routines

7D09: Set the attribute bytes for Sam's current disguise

Used by the routine at 71AC. Sets the attribute bytes for Sam's disguise in the bottom right corner of the screen.
7D09 | EX DE,HL |
This entry point is used by the routine at F95E.
7D0A | PUSH HL |
7D0B | CALL $7294 | Get the attribute byte to use for Sam's disguise
7D0E | LD BC,$031D | B=3, C=29
7D11 | LD (HL),A | Set a row of attribute bytes for Sam's disguise in the bottom right of the screen
7D12 | INC L
7D13 | DJNZ $7D11
7D15 | JR Z,$7D1A | Jump if we've done all 3 rows
7D17 | ADD HL,BC | Point HL at the attribute byte for the first tile in the next row down
7D18 | JR $7D0E | Jump back to set the attribute bytes in this row
7D1A | POP HL |
7D1B | RET |