Page 1 of 1

Keen 5 and 6 secondary song list

Posted: Thu Apr 04, 2019 9:42 pm
by szemigi
I saw that for Keen 4, a secondary song list patch exists. Can we have this patch for Keen 5 and 6 as well?

Re: Keen 5 and 6 secondary song list

Posted: Tue Apr 16, 2019 1:34 pm
by Wyant
Would it be more complicated to have this for Keen 5 and 6?

Re: Keen 5 and 6 secondary song list

Posted: Mon Sep 23, 2019 4:08 am
by levellass
Keen 6 is a bit trickier because it has no EGAGRAPH check to give us space. Here is Keen 5:

Code: Select all

#Disable EGAGRAPH check in Keen 5 (Frees 389 bytes at $3CF0)
%patch $3CDF $90 $90

#New music setting code = $037D0520RL
%patch $3CF0 $55 $8B $EC $83 $EC $02 $56 $57 $8B $76 $06 $83 $FE $14 $72 $11
             $83 $FE $FF $74 $0C $B8 $063EW  $50 $9A $037D022FRL     $83 $C4
             $02 $9A $196E0B13RL     $8B $DE $D1 $E3 $8B $BF $0147W  $E9 $4F20W

#New music list (Max length 20 entries)
%patch $30487 $0000W
              $0001W
              $0002W
              $0003W
              $0004W
              $0005W
              $0006W
              $0007W
              $0008W
              $0009W
              $000AW
              $000BW
              $000CW
              $000DW
              $000EW
              $000FW

#Use new list in GAME OVER music
%patch $F807 $B8 $0001W $50 $9A $037D0520RL

#Use new list in music in help menu
%patch $EABC $B8 $0001W $50 $9A $037D0520RL

#Use new list in story demo
%patch $5830 $B8 $0001W $50 $9A $037D0520RL

#Use new list in ending sequence
%patch $EC66 $B8 $0001W $50 $9A $037D0520RL

Re: Keen 5 and 6 secondary song list

Posted: Mon Sep 23, 2019 4:54 am
by levellass
And this is Keen 6, the trickiest:

Code: Select all

#Disable Add VBLs (Free $74B0-$7535)
%patch $74AD $E9 $0086W

#New music setting code = $069A0B10RL
%patch $74B0 $55 $8B $EC $83 $EC $02 $56 $57 $8B $76 $06 $83 $FE $14 $72 $11
             $83 $FE $FF $74 $0C $B8 $0636W  $50 $9A $037B0230RL     $83 $C4
             $02 $9A $183B0B15RL     $8B $DE $D1 $E3 $8B $BF  $027BW  $E9 $15C8W

#New music list (Max length 24 entries)
%patch $30FAB $0000W
              $0001W
              $0002W
              $0003W
              $0004W
              $0005W
              $0006W
              $0007W
              $0008W
              $0009W
              $000AW
              $000BW
              $000CW
              $000DW
              $000EW
              $000FW

#Use new list in story demo
%patch $563E $B8 $0001W $50 $9A $069A0B10RL

#Use new list in ending sequence
%patch $E33B $B8 $0001W $50 $9A $069A0B10RL