mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-12-27 17:29:49 +00:00
peasant: clean up music
This commit is contained in:
parent
17a1d69f7a
commit
7ae0b31cbd
@ -113,7 +113,10 @@ done_knight_action:
|
||||
|
||||
done_knight:
|
||||
|
||||
; OK stuff goes on here
|
||||
; after OK stuff goes on here
|
||||
|
||||
sei ; turn off music
|
||||
jsr pt3_clear_ay_both
|
||||
|
||||
jsr draw_peasant
|
||||
|
||||
|
@ -18,6 +18,26 @@ peasant_quest:
|
||||
; Y=0, A=0 after this called
|
||||
|
||||
|
||||
;*******************************
|
||||
; restart music, only drum loop
|
||||
;******************************
|
||||
|
||||
; hack! modify the PT3 file to ignore the latter half
|
||||
|
||||
PT3_LOC=$E00+$E00
|
||||
pt3_init_song=$e00+$A56
|
||||
pt3_clear_ay_both=$e00+$CDF
|
||||
|
||||
lda #$ff ; end after 4 patterns
|
||||
sta PT3_LOC+$C9+$4
|
||||
|
||||
lda #$0 ; set LOOP to 0
|
||||
sta PT3_LOC+$66
|
||||
|
||||
jsr pt3_init_song
|
||||
|
||||
cli
|
||||
|
||||
;************************
|
||||
; Cottage
|
||||
;************************
|
||||
|
@ -107,8 +107,11 @@ do_title:
|
||||
|
||||
jsr wait_until_keypress
|
||||
|
||||
|
||||
sei ; disable music
|
||||
|
||||
jsr clear_ay_both
|
||||
|
||||
;************************
|
||||
; Tips
|
||||
;************************
|
||||
|
Loading…
Reference in New Issue
Block a user