mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-12-27 02:31:00 +00:00
ootw: c2: add audio file
This commit is contained in:
parent
2dbd9b7537
commit
9db582b9af
@ -56,7 +56,8 @@ OOTW_C2: ootw_c2.o
|
||||
ootw_c2.o: ootw_c2.s \
|
||||
gr_copy.s gr_copy_offset.s gr_fast_clear.s gr_pageflip.s gr_unrle.s \
|
||||
gr_putsprite.s gr_putsprite_flipped.s gr_putsprite_crop.s \
|
||||
keyboard.s gr_run_sequence.s physicist.s alien.s friend.s \
|
||||
keyboard.s gr_run_sequence.s audio.s \
|
||||
physicist.s alien.s friend.s \
|
||||
ootw_c2_miners.s \
|
||||
ootw_graphics/sprites/sprites_physicist.inc \
|
||||
ootw_graphics/sprites/sprites_alien.inc \
|
||||
|
@ -143,3 +143,5 @@ end_message:
|
||||
; laser movie
|
||||
.include "ootw_graphics/l2laser/ootw_c2_laser.inc"
|
||||
|
||||
.include "audio.s"
|
||||
|
||||
|
@ -1094,6 +1094,12 @@ ce_friend_tap:
|
||||
|
||||
ce_friend_point:
|
||||
|
||||
cmp #115
|
||||
bne no_audio
|
||||
jsr playaud
|
||||
no_audio:
|
||||
|
||||
lda FRAMEL
|
||||
sec
|
||||
sbc #110
|
||||
and #$fe
|
||||
@ -1108,7 +1114,6 @@ ce_friend_point:
|
||||
lda #25 ; one off
|
||||
sta XPOS
|
||||
|
||||
|
||||
jmp ce_draw_friend_right
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user