From b8aa2a251e38c4ca31d2e0ab5042a8ea84fd4be5 Mon Sep 17 00:00:00 2001 From: engineer124 <47598039+engineer124@users.noreply.github.com> Date: Tue, 15 Aug 2023 15:44:20 +1000 Subject: Document z_lib Sfx Functions (#1470) * document lib sfx * rename functions --- docs/tutorial/other_functions.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/tutorial') diff --git a/docs/tutorial/other_functions.md b/docs/tutorial/other_functions.md index 10686e005..ec886e175 100644 --- a/docs/tutorial/other_functions.md +++ b/docs/tutorial/other_functions.md @@ -382,7 +382,7 @@ void func_80A87CEC(EnJj *this, PlayState *play) { func_8003EBF8(play, &play->colCtx.dyna, (s32) temp_v1->bgId); func_8005B1A4(play->cameraPtrs[play->activeCamId]); gSaveContext.unkEDA = (u16) (gSaveContext.unkEDA | 0x400); - func_80078884((u16)0x4802U); + Sfx_PlaySfxCentered((u16)0x4802U); } ``` @@ -420,7 +420,7 @@ void func_80A87CEC(EnJj *this, PlayState *play) { func_8003EBF8(play, &play->colCtx.dyna, child->bgId); func_8005B1A4(GET_ACTIVE_CAM(play)); gSaveContext.save.info.eventChkInf[3] |= 0x400; - func_80078884(NA_SE_SY_CORRECT_CHIME); + Sfx_PlaySfxCentered(NA_SE_SY_CORRECT_CHIME); } ``` @@ -439,7 +439,7 @@ void func_80A87CEC(EnJj* this, PlayState* play) { func_8003EBF8(play, &play->colCtx.dyna, child->bgId); func_8005B1A4(GET_ACTIVE_CAM(play)); gSaveContext.save.info.eventChkInf[3] |= 0x400; - func_80078884(NA_SE_SY_CORRECT_CHIME); + Sfx_PlaySfxCentered(NA_SE_SY_CORRECT_CHIME); } } ``` -- cgit v1.2.3