diff options
| author | Tharo <17233964+Thar0@users.noreply.github.com> | 2025-03-26 21:58:29 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-26 17:58:29 -0400 |
| commit | 65b317abc3d18b7b16262a50c543db747214d8ea (patch) | |
| tree | 83331f17f78982612478417e1cb3443fd19905be /src | |
| parent | c1eb0a79bc896262349ad3ae004fa14a35e5899d (diff) | |
Fix some hardcoded sfx ids (#2496)
Diffstat (limited to 'src')
| -rw-r--r-- | src/audio/general.c | 2 | ||||
| -rw-r--r-- | src/overlays/actors/ovl_Bg_Spot01_Fusya/z_bg_spot01_fusya.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/audio/general.c b/src/audio/general.c index ddf13f4cf..83572107a 100644 --- a/src/audio/general.c +++ b/src/audio/general.c @@ -2882,7 +2882,7 @@ void func_800F4578(Vec3f* pos, u16 sfxId, f32 arg2) { void func_800F45D0(f32 arg0) { func_800F4414(&gSfxDefaultPos, NA_SE_IT_FISHING_REEL_SLOW - SFX_FLAG, arg0); - func_800F436C(&gSfxDefaultPos, 0, (0.15f * arg0) + 1.4f); + func_800F436C(&gSfxDefaultPos, NA_SE_NONE, (0.15f * arg0) + 1.4f); } void Audio_PlaySfxRiver(Vec3f* pos, f32 freqScale) { diff --git a/src/overlays/actors/ovl_Bg_Spot01_Fusya/z_bg_spot01_fusya.c b/src/overlays/actors/ovl_Bg_Spot01_Fusya/z_bg_spot01_fusya.c index 33f96d547..413e0a49e 100644 --- a/src/overlays/actors/ovl_Bg_Spot01_Fusya/z_bg_spot01_fusya.c +++ b/src/overlays/actors/ovl_Bg_Spot01_Fusya/z_bg_spot01_fusya.c @@ -9,6 +9,7 @@ #include "gfx.h" #include "gfx_setupdl.h" #include "ichain.h" +#include "sfx.h" #include "sys_matrix.h" #include "z_lib.h" #include "z64audio.h" @@ -74,7 +75,7 @@ void func_808AAA50(BgSpot01Fusya* this, PlayState* play) { } thisx->shape.rot.z += this->unk_154; temp = ((this->unk_154 - 100.0f) / 1700.0f) + 1.0f; - func_800F436C(&thisx->projectedPos, 0x2085, temp); + func_800F436C(&thisx->projectedPos, NA_SE_EV_WINDMILL_LEVEL - SFX_FLAG, temp); Math_ApproachF(&this->unk_154, this->unk_158, this->unk_15C, 100.0f); } |
