From 295604cbb51b0664c92f1a3a675ea7ffc3dc63ca Mon Sep 17 00:00:00 2001 From: pikalaxalt Date: Wed, 11 May 2016 09:49:03 -0400 Subject: Placeholder non-generic names for engine/color functions --- audio/engine.asm | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'audio') diff --git a/audio/engine.asm b/audio/engine.asm index 5a8ddb7c3..a4a9ac62f 100644 --- a/audio/engine.asm +++ b/audio/engine.asm @@ -1800,8 +1800,10 @@ Music_Vibrato: ; e8882 ; e88bd Music_SlidePitchTo: ; e88bd -; ???? +; set the target for pitch wheel ; params: 2 +; note duration +; target note call GetMusicByte ld [wCurNoteDuration], a @@ -1830,7 +1832,7 @@ Music_SlidePitchTo: ; e88bd Music_Tone: ; e88e4 ; tone -; params: 2 +; params: 1 (dw) ld hl, Channel1Flags2 - Channel1 add hl, bc set SOUND_CRY_PITCH, [hl] @@ -1859,9 +1861,8 @@ MusicE7: ; e88f7 ; e8906 Music_SoundDuty: ; e8906 -; ???? + duty cycle -; params: 1 - ; +; sequence of 4 duty cycles to be looped +; params: 1 (4 2-bit duty cycle arguments) ld hl, Channel1Flags2 - Channel1 add hl, bc set SOUND_DUTY, [hl] ; duty cycle -- cgit v1.2.3