![]() |
Routines |
| Prev: 36956 | Up: Map | Next: 36979 |
|
Used by the routine at MarkCards.
|
||||
| MarkCards_CursorRight | 36968 | LD A,(36948) | Fetch the current cursor position from *SelectedMarkedCard. | |
| 36971 | PUSH AF | Stash the cursor position on the stack. | ||
| 36972 | CP 4 | Jump to MoveCursorRight if the current cursor position is not the last card. | ||
| 36974 | JR NZ,MoveCursorRight | |||
|
The position IS the last card, position 4, so reset it to the start of the list of cards -1.
|
||||
| 36976 | LD A,255 | A=255. | ||
|
Move the cursor position right one card.
|
||||
| MoveCursorRight | 36978 | INC A | Increment the cursor position by one. | |
|
Continue on to MarkCards_UpdateCursorPosition.
|
||||
| Prev: 36956 | Up: Map | Next: 36979 |