summaryrefslogtreecommitdiff
path: root/src/code/code_800F7260.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/code/code_800F7260.c')
-rw-r--r--src/code/code_800F7260.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/code/code_800F7260.c b/src/code/code_800F7260.c
index 188f6d8b2..6976e5466 100644
--- a/src/code/code_800F7260.c
+++ b/src/code/code_800F7260.c
@@ -79,13 +79,18 @@ u8 gSfxChannelLayout = 0;
u16 D_801333D0 = 0;
-Vec3f D_801333D4 = { 0.0f, 0.0f, 0.0f }; // default pos
+// The center of the screen in projected coordinates.
+// Gives the impression that the sfx has no specific location
+Vec3f gSfxDefaultPos = { 0.0f, 0.0f, 0.0f };
-f32 D_801333E0 = 1.0f; // default freqScale
+// Reused as either frequency or volume multiplicative scaling factor
+// Does not alter or change frequency or volume
+f32 gSfxDefaultFreqAndVolScale = 1.0f;
s32 D_801333E4 = 0; // unused
-s8 D_801333E8 = 0; // default reverbAdd
+// Adds no reverb to the existing reverb
+s8 gSfxDefaultReverb = 0;
s32 D_801333EC = 0; // unused
@@ -370,7 +375,7 @@ void Audio_ChooseActiveSounds(u8 bankId) {
} else if (gSoundBanks[bankId][entryIndex].state != SFX_STATE_EMPTY) {
entry = &gSoundBanks[bankId][entryIndex];
- if (&D_801333D4.x == entry[0].posX) {
+ if (&gSfxDefaultPos.x == entry[0].posX) {
entry->dist = 0.0f;
} else {
tempf1 = *entry->posY * 1;