mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-06-26 00:29:29 +00:00
mist: fix some bugs found when recording playthrough
This commit is contained in:
parent
1e098bd513
commit
9e52e5eda7
Binary file not shown.
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 17 KiB |
|
@ -61,7 +61,7 @@ location2:
|
|||
.word $0000 ; east bg
|
||||
.word red_book_shelf_lzsa ; west bg
|
||||
.byte BG_WEST ; west
|
||||
.byte DIRECTION_N ; special exit
|
||||
.byte DIRECTION_W ; special exit
|
||||
.byte 16,25 ; special x
|
||||
.byte 16,32 ; special y
|
||||
.word red_book-1 ; special function
|
||||
|
|
|
@ -15,8 +15,16 @@ take_blue_page:
|
|||
|
||||
; FIXME: if holding another page, put it down?
|
||||
|
||||
and #MECHE_PAGE
|
||||
beq dropped_blue_page
|
||||
|
||||
lda #HOLDING_BLUE_PAGE
|
||||
sta HOLDING_PAGE
|
||||
rts
|
||||
|
||||
dropped_blue_page:
|
||||
lda #0
|
||||
sta HOLDING_PAGE
|
||||
|
||||
rts
|
||||
|
||||
|
@ -40,8 +48,16 @@ take_red_page:
|
|||
|
||||
; FIXME: if holding another page, put it down?
|
||||
|
||||
and #MECHE_PAGE
|
||||
beq dropped_red_page
|
||||
|
||||
lda #HOLDING_RED_PAGE
|
||||
sta HOLDING_PAGE
|
||||
rts
|
||||
|
||||
dropped_red_page:
|
||||
lda #0
|
||||
sta HOLDING_PAGE
|
||||
|
||||
rts
|
||||
|
||||
|
@ -62,6 +78,8 @@ enter_red_secret:
|
|||
|
||||
exit_puzzle_button_press:
|
||||
|
||||
bit $c030 ; click speaker
|
||||
|
||||
lda CURSOR_Y
|
||||
cmp #40
|
||||
bcs check_valid ; bge
|
||||
|
@ -636,8 +654,9 @@ elevator_goto_half:
|
|||
; TODO: animation?
|
||||
|
||||
ldy #LOCATION_EAST_EXIT
|
||||
cpy #MECHE_TOP_FLOOR
|
||||
beq regular_half
|
||||
lda location26,Y
|
||||
cmp #MECHE_TOP_FLOOR
|
||||
bne regular_half
|
||||
|
||||
half_and_controls:
|
||||
;=============================
|
||||
|
|
Loading…
Reference in New Issue
Block a user