riven_hgr: can click on things now

This commit is contained in:
Vince Weaver 2024-05-17 13:07:47 -04:00
parent 8fad1050c2
commit 002ea967ed
4 changed files with 36 additions and 8 deletions

View File

@ -101,6 +101,25 @@ really_exit:
rts
;=====================================
; handle1 clicked
;=====================================
; flip us to the east
; go lores and play the movie
handle1_clicked:
bit SPEAKER
lda #LOAD_MOVIE1
sta WHICH_LOAD
lda #1
sta LEVEL_OVER
bit SPEAKER
rts
;==========================
; includes
;==========================

View File

@ -100,6 +100,15 @@ really_exit:
rts
;==================================
; call button clicked
;==================================
; just ignore this
call_button_clicked:
bit SPEAKER
rts
;==========================
; includes

View File

@ -40,7 +40,7 @@ location1:
.word $0000 ; east bg
.word inseat_w_zx02 ; west bg
.byte BG_WEST|BG_SOUTH
.byte DIRECTION_E ; special exit
.byte 9,29 ; special x
.byte 2,46 ; special y
.word location1-1 ; special function FIXME
.byte DIRECTION_W ; special exit
.byte 11,14 ; special x
.byte 119,145 ; special y
.word handle1_clicked-1 ; special function

View File

@ -20,9 +20,9 @@ location0:
.word maglev1_e_zx02 ; east bg
.word maglev1_w_zx02 ; west bg
.byte BG_EAST|BG_NORTH|BG_SOUTH|BG_WEST ; all bgs
.byte DIRECTION_E ; special exit
.byte 9,29 ; special x
.byte 2,46 ; special y
.word location0-1 ; FIXME
.byte DIRECTION_N ; special exit
.byte 32,34 ; special x
.byte 136,154 ; special y
.word call_button_clicked-1