| Dynamite Dan | Routines | 
| Prev: D4B5 | Up: Map | Next: D567 | 
| 
 | ||||||||||
| D550 | LD C,$0E | 0E UDGs to look at. | ||||||||
| D552 | PUSH DE | Remember DE. | ||||||||
| D553 | CALL $E8D2 | Convert the co-ordinates to a screen address. | ||||||||
| D556 | LD B,$02 | Two rows to copy. | ||||||||
| D558 | LD A,(DE) | Get the byte from screen. | ||||||||
| D559 | LD (HL),A | Copy it to the buffer. | ||||||||
| D55A | INC D | Move down a row. | ||||||||
| D55B | INC HL | Move forward in the buffer. | ||||||||
| D55C | INC HL | |||||||||
| D55D | INC HL | |||||||||
| D55E | DJNZ $D558 | Loop while there are more rows. | ||||||||
| D560 | POP DE | Restore DE. | ||||||||
| D561 | INC E | Move forward to the next UDG space. | ||||||||
| D562 | INC E | |||||||||
| D563 | DEC C | Loop while there are more columns to draw. | ||||||||
| D564 | JR NZ,$D552 | |||||||||
| D566 | RET | Return. | ||||||||
| Prev: D4B5 | Up: Map | Next: D567 |