Routines |
Prev: 905C | Up: Map | Next: 9073 |
Used by the routine at MarkCards.
|
||||
MarkCards_CursorRight | 9068 | LD A,($9054) | Fetch the current cursor position from *SelectedMarkedCard. | |
906B | PUSH AF | Stash the cursor position on the stack. | ||
906C | CP $04 | Jump to MoveCursorRight if the current cursor position is not the last card. | ||
906E | JR NZ,MoveCursorRight | |||
The position IS the last card, position 04, so reset it to the start of the list of cards -01.
|
||||
9070 | LD A,$FF | A=FF. | ||
Move the cursor position right one card.
|
||||
MoveCursorRight | 9072 | INC A | Increment the cursor position by one. | |
Continue on to MarkCards_UpdateCursorPosition.
|
Prev: 905C | Up: Map | Next: 9073 |