diff options
| author | Roman971 <32455037+Roman971@users.noreply.github.com> | 2020-07-05 05:30:21 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-04 23:30:21 -0400 |
| commit | 61544b873d1ab559918ed022b97a6ffcb2d2c76a (patch) | |
| tree | a3ff53d9478eb193fc3a9573536eabde66c00d11 /src/code/z_parameter.c | |
| parent | a5aee3d691bc7abd99173841736193bf16e81edb (diff) | |
Various SFX fixes (#237)
* Various SFX fixes
* Fix sfx references in z_en_zl2.c
Diffstat (limited to 'src/code/z_parameter.c')
| -rw-r--r-- | src/code/z_parameter.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/code/z_parameter.c b/src/code/z_parameter.c index 4caee3394..fb6e5a436 100644 --- a/src/code/z_parameter.c +++ b/src/code/z_parameter.c @@ -2422,7 +2422,8 @@ void Interface_UpdateMagicBar(GlobalContext* globalCtx) { gSaveContext.magic += 4; if (gSaveContext.gameMode == 0 && gSaveContext.sceneSetupIndex < 4) { - Audio_PlaySoundGeneral(0x401F, &D_801333D4, 4, &D_801333E0, &D_801333E0, &D_801333E8); + Audio_PlaySoundGeneral(NA_SE_SY_GAUGE_UP - SFX_FLAG, &D_801333D4, 4, &D_801333E0, &D_801333E0, + &D_801333E8); } // Translates to: "Storage MAGIC_NOW=%d (%d)" @@ -2550,7 +2551,7 @@ void Interface_UpdateMagicBar(GlobalContext* globalCtx) { break; case 10: gSaveContext.magic += 4; - Audio_PlaySoundGeneral(0x401F, &D_801333D4, 4, &D_801333E0, &D_801333E0, &D_801333E8); + Audio_PlaySoundGeneral(NA_SE_SY_GAUGE_UP - SFX_FLAG, &D_801333D4, 4, &D_801333E0, &D_801333E0, &D_801333E8); if (gSaveContext.magic >= gSaveContext.unk_13F8) { gSaveContext.magic = gSaveContext.unk_13F8; gSaveContext.unk_13F0 = gSaveContext.unk_13F2; |
