mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-01-19 15:30:08 +00:00
peasant: more fixes for lowercase input
This commit is contained in:
parent
2369ed2af9
commit
60fb88076f
@ -1,9 +1,10 @@
|
|||||||
TODO:
|
TODO:
|
||||||
|
|
||||||
next:
|
next:
|
||||||
+ fix keyboard input so it handles lowecase
|
+ Loading screen is slow when getting names
|
||||||
wasd
|
Print "Loading" message while doing it?
|
||||||
Y/N on load/save
|
+ After loading, no need to clear text before moving to next level
|
||||||
|
|
||||||
+ complete waterfall, including animation
|
+ complete waterfall, including animation
|
||||||
+ update intro to walk closer to edges
|
+ update intro to walk closer to edges
|
||||||
+ fix issue where walking stops when you cross to screen w priority
|
+ fix issue where walking stops when you cross to screen w priority
|
||||||
|
@ -218,7 +218,7 @@ handle_inv_keypress:
|
|||||||
|
|
||||||
pla
|
pla
|
||||||
|
|
||||||
and #$7f ; clear top bit
|
and #$5F ; clear top bit, make uppercase
|
||||||
|
|
||||||
cmp #27
|
cmp #27
|
||||||
beq urgh_done ; ESCAPE
|
beq urgh_done ; ESCAPE
|
||||||
|
@ -274,6 +274,8 @@ urgh_done_ls:
|
|||||||
jmp done_ls_keypress
|
jmp done_ls_keypress
|
||||||
|
|
||||||
ls_check_down:
|
ls_check_down:
|
||||||
|
and #$5F ; make uppercase
|
||||||
|
|
||||||
cmp #$0A
|
cmp #$0A
|
||||||
beq ls_handle_down
|
beq ls_handle_down
|
||||||
cmp #'S'
|
cmp #'S'
|
||||||
@ -599,7 +601,7 @@ wait_confirmation:
|
|||||||
|
|
||||||
bit KEYRESET ; clear keypress
|
bit KEYRESET ; clear keypress
|
||||||
|
|
||||||
and #$7f
|
and #$5F ; clear high-bit, make uppercase
|
||||||
cmp #'Y'
|
cmp #'Y'
|
||||||
bne dont_do_it
|
bne dont_do_it
|
||||||
|
|
||||||
|
@ -213,6 +213,16 @@ restore_parse_message:
|
|||||||
|
|
||||||
jsr hgr_partial_restore
|
jsr hgr_partial_restore
|
||||||
|
|
||||||
|
; lda last_bg_l
|
||||||
|
; sta getsrc_smc+1
|
||||||
|
; lda last_bg_h
|
||||||
|
; sta getsrc_smc+2
|
||||||
|
|
||||||
|
; lda #$40
|
||||||
|
|
||||||
|
; jsr decompress_lzsa2_fast
|
||||||
|
|
||||||
|
|
||||||
done_parse_message:
|
done_parse_message:
|
||||||
|
|
||||||
|
|
||||||
@ -389,3 +399,7 @@ count_message_done:
|
|||||||
|
|
||||||
message_len:
|
message_len:
|
||||||
.byte $0
|
.byte $0
|
||||||
|
|
||||||
|
last_bg_l: .byte $00
|
||||||
|
last_bg_h: .byte $00
|
||||||
|
|
||||||
|
@ -55,8 +55,10 @@ new_location:
|
|||||||
|
|
||||||
lda map_backgrounds_low,X
|
lda map_backgrounds_low,X
|
||||||
sta getsrc_smc+1
|
sta getsrc_smc+1
|
||||||
|
; sta last_bg_l
|
||||||
lda map_backgrounds_hi,X
|
lda map_backgrounds_hi,X
|
||||||
sta getsrc_smc+2
|
sta getsrc_smc+2
|
||||||
|
; sta last_bg_h
|
||||||
|
|
||||||
lda #$40
|
lda #$40
|
||||||
|
|
||||||
@ -236,3 +238,7 @@ map_priority_hi:
|
|||||||
.byte >archery_priority_lzsa ; 7 -- archery
|
.byte >archery_priority_lzsa ; 7 -- archery
|
||||||
.byte >river_priority_lzsa ; 8 -- river
|
.byte >river_priority_lzsa ; 8 -- river
|
||||||
.byte >knight_priority_lzsa ; 9 -- knight
|
.byte >knight_priority_lzsa ; 9 -- knight
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user