Skip to content

Commit

Permalink
Add music for mermaid florist
Browse files Browse the repository at this point in the history
  • Loading branch information
mdsteele committed Jun 26, 2024
1 parent a2be72e commit f359048
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 1 deletion.
1 change: 1 addition & 0 deletions nsf/nsf.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ SEGMENTS {
PRGC_Core: load=PRG, type=ro;
PRGC_Crypt: load=PRG, type=ro;
PRGC_Garden: load=PRG, type=ro;
PRGC_Mermaid: load=PRG, type=ro;
PRGC_Mine: load=PRG, type=ro;
PRGC_Prison: load=PRG, type=ro;
PRGC_Temple: load=PRG, type=ro;
Expand Down
2 changes: 2 additions & 0 deletions src/music.asm
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
.IMPORT DataC_Core_Boss2_sMusic
.IMPORT DataC_Crypt_Crypt_sMusic
.IMPORT DataC_Garden_Garden_sMusic
.IMPORT DataC_Mermaid_Florist_sMusic
.IMPORT DataC_Mine_MinePlaceholder_sMusic
.IMPORT DataC_Prison_Prison_sMusic
.IMPORT DataC_Temple_TemplePlaceholder_sMusic
Expand All @@ -50,6 +51,7 @@
d_entry table, Calm, Data_Calm_sMusic
d_entry table, Credits, DataC_Title_Credits_sMusic
d_entry table, Crypt, DataC_Crypt_Crypt_sMusic
d_entry table, Florist, DataC_Mermaid_Florist_sMusic
d_entry table, Garden, DataC_Garden_Garden_sMusic
d_entry table, Mine, DataC_Mine_MinePlaceholder_sMusic
d_entry table, Prison, DataC_Prison_Prison_sMusic
Expand Down
1 change: 1 addition & 0 deletions src/music.inc
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
Calm
Credits
Crypt
Florist
Garden
Mine
Prison
Expand Down
24 changes: 24 additions & 0 deletions src/music/florist.sng
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
@PRGC_Mermaid

!SONG Florist "|ABB"

=tempo q36
=key 3b % c minor

!INST 1A Staccato $0a d1/8
!INST TB Constant $ff % bass
!INST ND Staccato $07 % drum

!PART A

T| p(iB c3e r ' gv r ' c^ r ' gv r)TA :2 |
N| p(iD x4q ' x6s x6 x6e ' x4e x6s x6s+ ' +s x6s x6e)NA :2 |

!PART B

1| iA c4e gv ' d^ gv ' e^q ' ee ds cs | bNvq ' d^ ' ch |
| c4e gv ' d^ gv ' e^q ' de c | de gv ' d^s e fe ' eh |
| c4e gvs g ' d^e gvs g ' e^q ' de c | bNvq ' bNs c^ de ' ch |
| g4q ' fe e ' ds e fe ' eq | dq ' bNv ' c^e cv ' cq |
T| pTA :8 |
N| pNA :8 |
2 changes: 1 addition & 1 deletion src/room.asm
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ _PrisonMusic:
d_byte MermaidHut1, eMusic::Silence
d_byte MermaidHut2, eMusic::Silence
d_byte MermaidHut3, eMusic::Silence
d_byte MermaidHut4, eMusic::Silence
d_byte MermaidHut4, eMusic::Florist
d_byte MermaidHut5, eMusic::Silence
d_byte MermaidHut6, eMusic::Silence
d_byte MermaidSpring, eMusic::Silence
Expand Down

0 comments on commit f359048

Please sign in to comment.