mist: fix bug where if off screen to left cursor turns to right

This commit is contained in:
Vince Weaver 2020-09-06 00:32:55 -04:00
parent 543aa7d555
commit c03c7d526b
2 changed files with 22 additions and 20 deletions

View File

@ -12,40 +12,40 @@ getsrc_smc =$169d
draw_pointer =$16aa
; end_level.s
end_level =$1818
end_level =$181c
; gr_copy.s
gr_copy_to_current =$183a
gr_copy_to_current =$183e
; gr_fast_clear.s
clear_bottom =$1960
clear_all =$199e
clear_all_color =$19c3
clear_bottom =$1964
clear_all =$19a2
clear_all_color =$19c7
; gr_offsets.s
gr_offsets =$19e1
gr_offsets =$19e5
; gr_page_flip.s
page_flip =$1a11
page_flip =$1a15
; gr_putsprite_crop.s
put_sprite_crop =$1a2b
psc_smc1 =$1a4e
psc_smc2 =$1ac0
put_sprite_crop =$1a2f
psc_smc1 =$1a52
psc_smc2 =$1ac4
; keyboard.s
handle_keypress =$1ac0
change_direction =$1bcb
change_location =$1bfe
handle_keypress =$1ac4
change_direction =$1bcf
change_location =$1c02
; text_print.s
move_and_print =$1c96
ps_smc1 =$1cc3
move_and_print =$1c9a
ps_smc1 =$1cc7
; page_sprites.inc
blue_page_sprite =$1e12
red_page_sprite =$1e28
white_page_sprite =$1e3e
blue_page_small_sprite =$1e54
red_page_small_sprite =$1e5c
blue_page_sprite =$1e16
red_page_sprite =$1e2c
white_page_sprite =$1e42
blue_page_small_sprite =$1e58
red_page_small_sprite =$1e60

View File

@ -89,6 +89,8 @@ really_not_special:
lda CURSOR_X
cmp #7
bcc check_cursor_left ; blt
cmp #$f0 ; check if off left side of screen
bcs check_cursor_left ; bge
cmp #33
bcs check_cursor_right ; bge