diff options
author | B. Watson <yalhcru@gmail.com> | 2021-04-26 15:37:02 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2021-04-26 15:37:02 -0400 |
commit | 5faf0c949468cf72d1dfd0e52369ab2d26760fd7 (patch) | |
tree | 9033b891b1dbe50e5b91d7f281e0e78a3fdebe10 /timed_getch.s | |
parent | e16403c5a93e02c8c85ea3cd6de64798235a3ae5 (diff) | |
download | taipan-5faf0c949468cf72d1dfd0e52369ab2d26760fd7.tar.gz |
Initial POC of in-game help
Diffstat (limited to 'timed_getch.s')
-rw-r--r-- | timed_getch.s | 8 |
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 |