mist: fix some issues with pages in meche age

This commit is contained in:
Vince Weaver 2020-07-20 01:44:42 -04:00
parent bdcb41c178
commit 0d6b366520
5 changed files with 31 additions and 24 deletions

View File

@ -423,8 +423,8 @@ clock_puzzle_done:
gear_block_sprite1: gear_block_sprite1:
.byte 4,3 .byte 4,3
.byte $ff,$ff,$ff,$ff .byte $ff,$ff,$ff,$ff
.byte $ff,$ff,$ff,$ff .byte $df,$df,$df,$df
.byte $ff,$ff,$ff,$0f .byte $ff,$dd,$ff,$0f
; put at 9,6 on screen 20 N ; put at 9,6 on screen 20 N
gear_block_sprite2: gear_block_sprite2:

View File

@ -15,40 +15,40 @@ getsrc_smc =$158c
draw_pointer =$1599 draw_pointer =$1599
; end_level.s ; end_level.s
end_level =$1705 end_level =$1707
; gr_copy.s ; gr_copy.s
gr_copy_to_current =$1727 gr_copy_to_current =$1729
; gr_fast_clear.s ; gr_fast_clear.s
clear_bottom =$184d clear_bottom =$184f
clear_all =$188b clear_all =$188d
clear_all_color =$18b0 clear_all_color =$18b2
; gr_offsets.s ; gr_offsets.s
gr_offsets =$18ce gr_offsets =$18d0
; gr_page_flip.s ; gr_page_flip.s
page_flip =$18fe page_flip =$1900
; gr_putsprite_crop.s ; gr_putsprite_crop.s
put_sprite_crop =$1918 put_sprite_crop =$191a
psc_smc1 =$193b psc_smc1 =$193d
psc_smc2 =$19d3 psc_smc2 =$19d5
; keyboard.s ; keyboard.s
handle_keypress =$1a54 handle_keypress =$1a56
change_direction =$1b16 change_direction =$1b18
change_location =$1b4f change_location =$1b51
; text_print.s ; text_print.s
move_and_print =$1be7 move_and_print =$1be9
ps_smc1 =$1c14 ps_smc1 =$1c16
; page_sprites.inc ; page_sprites.inc
blue_page_sprite =$1cfc blue_page_sprite =$1cfe
red_page_sprite =$1d12 red_page_sprite =$1d14
white_page_sprite =$1d28 white_page_sprite =$1d2a
blue_page_small_sprite =$1d3e blue_page_small_sprite =$1d40
red_page_small_sprite =$1d46 red_page_small_sprite =$1d48

View File

@ -106,6 +106,7 @@ finger_point:
beq key_finger beq key_finger
lda HOLDING_PAGE lda HOLDING_PAGE
and #$c0
beq real_finger_point beq real_finger_point
cmp #HOLDING_BLUE_PAGE cmp #HOLDING_BLUE_PAGE
beq blue_finger beq blue_finger

View File

@ -736,7 +736,7 @@ location39:
.byte DIRECTION_W .byte DIRECTION_W
.byte 14,18 ; special x .byte 14,18 ; special x
.byte 32,40 ; special y .byte 32,40 ; special y
.word take_blue_page-1 ; special function .word meche_take_blue_page-1 ; special function
; MECHE_RED_SECRET_DOOR -- red room secret door ; MECHE_RED_SECRET_DOOR -- red room secret door
location40: location40:
@ -773,5 +773,5 @@ location41:
.byte DIRECTION_S .byte DIRECTION_S
.byte 22,29 ; special x .byte 22,29 ; special x
.byte 14,24 ; special y .byte 14,24 ; special y
.word take_red_page-1 ; special function .word meche_take_red_page-1 ; special function

View File

@ -260,7 +260,13 @@ draw_blue_page:
no_draw_page: no_draw_page:
rts rts
meche_take_red_page:
lda #MECHE_PAGE
jmp take_red_page
meche_take_blue_page:
lda #MECHE_PAGE
jmp take_blue_page
;========================== ;==========================
; includes ; includes