aboutsummaryrefslogtreecommitdiff
path: root/music/soundeffects/nextfloor.gbasm
diff options
context:
space:
mode:
authorAstatin <[email protected]>2025-08-07 12:40:56 +0200
committerAstatin <[email protected]>2025-08-07 12:40:56 +0200
commit162fad62713d6b2e175c4cd5d7e53ebe7dedef11 (patch)
treef45ede24dd539e9bcc297917a9b341055e130a76 /music/soundeffects/nextfloor.gbasm
parent8b7594415a4ca28b0193d24d59c3089f046a3be1 (diff)
Add menu, next floor, attack cancel/arrow move failed sound effects
Diffstat (limited to 'music/soundeffects/nextfloor.gbasm')
-rw-r--r--music/soundeffects/nextfloor.gbasm23
1 files changed, 23 insertions, 0 deletions
diff --git a/music/soundeffects/nextfloor.gbasm b/music/soundeffects/nextfloor.gbasm
new file mode 100644
index 0000000..c663b5c
--- /dev/null
+++ b/music/soundeffects/nextfloor.gbasm
@@ -0,0 +1,23 @@
+_sound_effect_Next_Floor:
+ LD A, $mem_sound_flags
+ SET 4, A
+ LD $mem_sound_flags, A
+
+ ; Magic sound effect stuff
+ LD A, $3f
+ LD ($20), A
+ LD A, $f2
+ LD ($21), A
+ LD A, $01
+ LD ($22), A
+ LD A, $80
+ LD ($23), A
+
+ LD A, $mem_sound_flags
+ SET 5, A
+ LD $mem_sound_flags, A
+ LD A, $10
+ LD $mem_sound_effect_frame_count, A
+ LD A, $ff
+ LD ($mem_sound_effect_pc), A
+ RET