From d2a412071cd7cadcd9e3dee6f88f6738419fc70c Mon Sep 17 00:00:00 2001 From: luckytyphlosion Date: Sat, 19 Mar 2016 18:52:22 -0400 Subject: Document audio functions. --- audio/engine_1.asm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'audio/engine_1.asm') diff --git a/audio/engine_1.asm b/audio/engine_1.asm index 9a83e563..0eb4d5d7 100644 --- a/audio/engine_1.asm +++ b/audio/engine_1.asm @@ -525,7 +525,7 @@ Audio1_unknownmusic0xef: ; 0x9407 call Audio1_GetNextMusicByte push bc ld b, a - call Func_22ec + call DetermineAudioFunction pop bc ld a, [wDisableChannelOutputWhenSfxEnds] and a @@ -681,7 +681,7 @@ asm_94fd and a jr nz, .asm_9508 ld b, d - call Func_22ec + call DetermineAudioFunction .asm_9508 pop bc pop de @@ -1293,7 +1293,7 @@ Audio1_ApplyDutyCycle: ; 0x980d ret Audio1_GetNextMusicByte: ; 0x9825 - call Func_2288 + call GetNextMusicByte ret Audio1_GetRegisterPointer: ; 0x9838 @@ -1366,7 +1366,7 @@ Audio1_PlaySound:: ; 984e (2:584e) jp nc, .playSfx .playMusic - call Func_22aa + call InitMusicVariables jp .playSoundCommon .playSfx @@ -1428,7 +1428,7 @@ Audio1_PlaySound:: ; 984e (2:584e) jr c, .asm_99a3 ret .asm_99a3 - call Func_22c0 + call InitSFXVariables .asm_9a2b ld a, c and a @@ -1437,7 +1437,7 @@ Audio1_PlaySound:: ; 984e (2:584e) jp .sfxChannelLoop .stopAllAudio - call Func_22d6 + call StopAllAudio ret .playSoundCommon -- cgit v1.2.3