mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-06-24 12:29:29 +00:00
mist: fix bug where if off screen to left cursor turns to right
This commit is contained in:
parent
543aa7d555
commit
c03c7d526b
|
@ -12,40 +12,40 @@ getsrc_smc =$169d
|
||||||
draw_pointer =$16aa
|
draw_pointer =$16aa
|
||||||
|
|
||||||
; end_level.s
|
; end_level.s
|
||||||
end_level =$1818
|
end_level =$181c
|
||||||
|
|
||||||
; gr_copy.s
|
; gr_copy.s
|
||||||
gr_copy_to_current =$183a
|
gr_copy_to_current =$183e
|
||||||
|
|
||||||
; gr_fast_clear.s
|
; gr_fast_clear.s
|
||||||
clear_bottom =$1960
|
clear_bottom =$1964
|
||||||
clear_all =$199e
|
clear_all =$19a2
|
||||||
clear_all_color =$19c3
|
clear_all_color =$19c7
|
||||||
|
|
||||||
; gr_offsets.s
|
; gr_offsets.s
|
||||||
gr_offsets =$19e1
|
gr_offsets =$19e5
|
||||||
|
|
||||||
; gr_page_flip.s
|
; gr_page_flip.s
|
||||||
page_flip =$1a11
|
page_flip =$1a15
|
||||||
|
|
||||||
; gr_putsprite_crop.s
|
; gr_putsprite_crop.s
|
||||||
put_sprite_crop =$1a2b
|
put_sprite_crop =$1a2f
|
||||||
psc_smc1 =$1a4e
|
psc_smc1 =$1a52
|
||||||
psc_smc2 =$1ac0
|
psc_smc2 =$1ac4
|
||||||
|
|
||||||
; keyboard.s
|
; keyboard.s
|
||||||
handle_keypress =$1ac0
|
handle_keypress =$1ac4
|
||||||
change_direction =$1bcb
|
change_direction =$1bcf
|
||||||
change_location =$1bfe
|
change_location =$1c02
|
||||||
|
|
||||||
; text_print.s
|
; text_print.s
|
||||||
move_and_print =$1c96
|
move_and_print =$1c9a
|
||||||
ps_smc1 =$1cc3
|
ps_smc1 =$1cc7
|
||||||
|
|
||||||
; page_sprites.inc
|
; page_sprites.inc
|
||||||
blue_page_sprite =$1e12
|
blue_page_sprite =$1e16
|
||||||
red_page_sprite =$1e28
|
red_page_sprite =$1e2c
|
||||||
white_page_sprite =$1e3e
|
white_page_sprite =$1e42
|
||||||
blue_page_small_sprite =$1e54
|
blue_page_small_sprite =$1e58
|
||||||
red_page_small_sprite =$1e5c
|
red_page_small_sprite =$1e60
|
||||||
|
|
||||||
|
|
|
@ -89,6 +89,8 @@ really_not_special:
|
||||||
lda CURSOR_X
|
lda CURSOR_X
|
||||||
cmp #7
|
cmp #7
|
||||||
bcc check_cursor_left ; blt
|
bcc check_cursor_left ; blt
|
||||||
|
cmp #$f0 ; check if off left side of screen
|
||||||
|
bcs check_cursor_left ; bge
|
||||||
|
|
||||||
cmp #33
|
cmp #33
|
||||||
bcs check_cursor_right ; bge
|
bcs check_cursor_right ; bge
|
||||||
|
|
Loading…
Reference in New Issue
Block a user