aboutsummaryrefslogtreecommitdiff
path: root/timed_getch.s
diff options
context:
space:
mode:
Diffstat (limited to 'timed_getch.s')
-rw-r--r--timed_getch.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/timed_getch.s b/timed_getch.s
index 6ea1bff..f4c8431 100644
--- a/timed_getch.s
+++ b/timed_getch.s
@@ -101,6 +101,14 @@ finish_agetc:
@nr:
pla
+ .ifdef GAME_HELP
+ .import _print_game_help
+ cmp #'?'
+ bne notquestion
+ jmp _print_game_help
+notquestion:
+ .endif
+
; special cases
cmp #$9b ; enter key, return as-is
beq ok