Routines |
Prev: BC6C | Up: Map | Next: BC7D |
Used by the routine at move_cursor.
Move cursor down and prevent from going into border.
|
||||
cursor_down | BC72 | INC B | Increment y-coordinate. | |
BC73 | PUSH AF | If 11 set back to 10. | ||
BC74 | LD A,B | |||
BC75 | CP $0B | |||
BC77 | JR NZ,cursor_down_0 | |||
BC79 | DEC B | |||
cursor_down_0 | BC7A | POP AF | Jump to return instruction at cursor_right_1. | |
BC7B | JR cursor_right_1 |
Prev: BC6C | Up: Map | Next: BC7D |