![]() |
Routines |
| Prev: B579 | Up: Map | Next: B594 |
|
Saves HL, emits PRINT AT D,E, restores HL, calls door_print_chars (print H chars
of value L). INC D, DEC C, loops. Used by door_open and door_close to draw
each row of the door sprite.
|
||||||||||||||
| door_print_sprite_row | B583 | PUSH HL | ||||||||||||
| B584 | LD A,$16 | |||||||||||||
| B586 | RST $10 | |||||||||||||
| B587 | LD A,D | |||||||||||||
| B588 | RST $10 | |||||||||||||
| B589 | LD A,E | |||||||||||||
| B58A | RST $10 | |||||||||||||
| B58B | POP HL | |||||||||||||
| B58C | CALL door_print_chars | |||||||||||||
| B58F | INC D | |||||||||||||
| B590 | DEC C | |||||||||||||
| B591 | JR NZ,door_print_sprite_row | |||||||||||||
| B593 | RET | |||||||||||||
| Prev: B579 | Up: Map | Next: B594 |