Deathchase | Routines |
Prev: 62CB | Up: Map | Next: 631A |
|
||||||||
62F7 | LD HL,$7246 | Point to huge tree graphics | ||||||
62FA | LD DE,$0009 | 1 attribute + 8 pixel lines | ||||||
62FD | LD B,$02 | 2 sets of huge trees | ||||||
62FF | PUSH BC | |||||||
6300 | LD B,$93 | |||||||
6302 | LD A,(HL) | Get the graphic | ||||||
6303 | AND $38 | Select PAPER bits | ||||||
6305 | CP $20 | Is it green? | ||||||
6307 | JR Z,$630E | Skip if so | ||||||
6309 | LD A,(HL) | |||||||
630A | AND $C7 | Clear PAPER bits | ||||||
630C | OR C | Set to the background colour | ||||||
630D | LD (HL),A | |||||||
630E | ADD HL,DE | Next row | ||||||
630F | DJNZ $6302 | |||||||
6311 | POP BC | Next tree | ||||||
6312 | DJNZ $62FF | |||||||
6314 | LD A,$03 | Set both bikes running | ||||||
6316 | LD ($5DC8),A | |||||||
6319 | RET |
Prev: 62CB | Up: Map | Next: 631A |