Routines |
Prev: 36954 | Up: Map | Next: 36968 |
Used by the routine at MarkCards.
|
||||
MarkCards_CursorLeft | 36956 | LD A,(36948) | Fetch the current cursor position from *SelectedMarkedCard. | |
36959 | PUSH AF | Stash the cursor position on the stack. | ||
36960 | OR A | Jump to MoveCursorLeft if the current cursor position is not the first card. | ||
36961 | JR NZ,MoveCursorLeft | |||
The position IS zero, so reset it to the end of the list of cards +1.
|
||||
36963 | LD A,5 | A=5. | ||
Move the cursor position left one card.
|
||||
MoveCursorLeft | 36965 | DEC A | Decrease the cursor position by one. | |
36966 | JR MarkCards_UpdateCursorPosition | Jump to MarkCards_UpdateCursorPosition. |
Prev: 36954 | Up: Map | Next: 36968 |