summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorengineer124 <47598039+engineer124@users.noreply.github.com>2023-08-15 15:44:20 +1000
committerGitHub <noreply@github.com>2023-08-15 01:44:20 -0400
commitb8aa2a251e38c4ca31d2e0ab5042a8ea84fd4be5 (patch)
treede84ab742daf5200d0f47d7c0f2078b16a30e96c /docs
parent18d609c1a3006c242d10b12e6937f467c2a1f1eb (diff)
Document z_lib Sfx Functions (#1470)
* document lib sfx * rename functions
Diffstat (limited to 'docs')
-rw-r--r--docs/tutorial/other_functions.md6
1 files changed, 3 insertions, 3 deletions
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);
}
}
```