Routines |
Prev: BC7D | Up: Map | Next: BC8D |
Used by the routine at move_cursor.
Move cursor right and prevent from going into border.
|
||||
cursor_right | BC83 | INC C | Increment x-coordinate. | |
BC84 | PUSH AF | If 16 set back to 15. | ||
BC85 | LD A,C | |||
BC86 | CP $10 | |||
BC88 | JR NZ,cursor_right_0 | |||
BC8A | DEC C | |||
cursor_right_0 | BC8B | POP AF | ||
This entry point is used by the routines at cursor_up, cursor_down and cursor_left.
|
||||
cursor_right_1 | BC8C | RET | Return. |
Prev: BC7D | Up: Map | Next: BC8D |