Routines |
Prev: 905A | Up: Map | Next: 9068 |
Used by the routine at MarkCards.
|
||||
MarkCards_CursorLeft | 905C | LD A,($9054) | Fetch the current cursor position from *SelectedMarkedCard. | |
905F | PUSH AF | Stash the cursor position on the stack. | ||
9060 | OR A | Jump to MoveCursorLeft if the current cursor position is not the first card. | ||
9061 | JR NZ,MoveCursorLeft | |||
The position IS zero, so reset it to the end of the list of cards +01.
|
||||
9063 | LD A,$05 | A=05. | ||
Move the cursor position left one card.
|
||||
MoveCursorLeft | 9065 | DEC A | Decrease the cursor position by one. | |
9066 | JR MarkCards_UpdateCursorPosition | Jump to MarkCards_UpdateCursorPosition. |
Prev: 905A | Up: Map | Next: 9068 |