diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-11-06 10:34:05 -0500 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-11-06 10:34:05 -0500 |
commit | 4efb3e307cd6b4bf267ab0d509f8e5ab498f798e (patch) | |
tree | cd405b6d1ca27c14bfbed4fd3c2fefe91be7ee33 /home/audio.asm | |
parent | 5db3bdd6551fad07066b669db1e44a6151aaa0b4 (diff) |
Sync more with pokered
Diffstat (limited to 'home/audio.asm')
-rw-r--r-- | home/audio.asm | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/home/audio.asm b/home/audio.asm index bf2537a7..aa48985d 100644 --- a/home/audio.asm +++ b/home/audio.asm @@ -262,33 +262,35 @@ DetermineAudioFunction:: call BankswitchCommon ; determine the audio function, based on the bank cp BANK(Audio1_PlaySound) - jr nz, .checkForBank08 -; bank 02 (audio 1) + jr nz, .checkForAudio2 +; audio 1 ld a, b call Audio1_PlaySound jr .done -.checkForBank08 +.checkForAudio2 cp BANK(Audio2_PlaySound) - jr nz, .checkForBank1F -; bank 08 (audio 2) + jr nz, .checkForAudio3 +; audio 2 ld a, b call Audio2_PlaySound jr .done -.checkForBank1F +.checkForAudio3 cp BANK(Audio3_PlaySound) - jr nz, .bank20 -; bank 1f (audio 3) + jr nz, .audio4 +; audio 3 ld a, b call Audio3_PlaySound jr .done -.bank20 -; invalid banks will default to XX:6bd4 -; this is seen when encountering Missingno, as its sprite dimensions overflow to wAudioROMBank +.audio4 +; invalid banks will default to audio 4 +; this is seen when encountering Missingno, +; as its sprite dimensions overflow to wAudioROMBank ld a, b call Audio4_PlaySound + .done pop af call BankswitchCommon |