Prev: 9148 Up: Map Next: 918B
9171: In-Game: Controls
Used by the routines at PlayGame and PlayerAction_Raise.
InGameControls 9171 LD A,$01 Write 01 to *InGame_HighlightedOption.
9173 LD ($91D8),A
9176 LD B,$68 B=INK: BLACK, PAPER: CYAN (BRIGHT) .
9178 CALL InGame_UpdateCursorPosition Call InGame_UpdateCursorPosition.
This entry point is used by the routine at InGame_MoveCursor.
InGameControls_Loop 917B CALL Controls Call Controls.
917E CP $03 Jump to InGame_MoveCursor if "left" has been pressed.
9180 JR Z,InGame_MoveCursor
9182 CP $04 Jump to InGame_MoveCursor if "right" has been pressed.
9184 JR Z,InGame_MoveCursor
9186 OR A Jump to InGame_Select if "select" has been pressed.
9187 JR Z,InGame_Select
9189 JR InGameControls_Loop Jump to InGameControls_Loop.
Prev: 9148 Up: Map Next: 918B