From 5ad90bf71b9b1a3c1614199219beb0ede9ed3afd Mon Sep 17 00:00:00 2001 From: Sarge-117 Date: Sun, 24 Jul 2022 12:51:55 -0700 Subject: [PATCH] Change cvar name for accuracy Changed Cvar from "gRandoFanfareByItemType" to "gRandoQuestItemFanfares" for better accuracy --- soh/src/overlays/actors/ovl_En_Si/z_en_si.c | 2 +- soh/src/overlays/actors/ovl_player_actor/z_player.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/soh/src/overlays/actors/ovl_En_Si/z_en_si.c b/soh/src/overlays/actors/ovl_En_Si/z_en_si.c index 922f4ae69..9c3ede3d3 100644 --- a/soh/src/overlays/actors/ovl_En_Si/z_en_si.c +++ b/soh/src/overlays/actors/ovl_En_Si/z_en_si.c @@ -185,7 +185,7 @@ void Audio_PlayFanfare_Rando() { temp1 = NA_BGM_SMALL_ITEM_GET | 0x900; } // If the setting is toggled on and we get special quest items (longer fanfares): - if (CVar_GetS32("gRandoFanfareByItemType", 0) != 0) { + if (CVar_GetS32("gRandoQuestItemFanfares", 0) != 0) { // If we get a medallion, play the "get a medallion" fanfare if ((getItemId >= GI_MEDALLION_LIGHT) && (getItemId <= GI_MEDALLION_SPIRIT)) { temp1 = NA_BGM_MEDALLION_GET | 0x900; diff --git a/soh/src/overlays/actors/ovl_player_actor/z_player.c b/soh/src/overlays/actors/ovl_player_actor/z_player.c index 9d05830d4..c906eb162 100644 --- a/soh/src/overlays/actors/ovl_player_actor/z_player.c +++ b/soh/src/overlays/actors/ovl_player_actor/z_player.c @@ -12707,7 +12707,7 @@ s32 func_8084DFF4(GlobalContext* globalCtx, Player* this) { temp1 = NA_BGM_SMALL_ITEM_GET | 0x900; } // If the setting is toggled on and we get special quest items (longer fanfares): - if (CVar_GetS32("gRandoFanfareByItemType", 0) != 0) { + if (CVar_GetS32("gRandoQuestItemFanfares", 0) != 0) { // If we get a medallion, play the "get a medallion" fanfare if ((this->getItemId >= GI_MEDALLION_LIGHT) && (this->getItemId <= GI_MEDALLION_SPIRIT)) { temp1 = NA_BGM_MEDALLION_GET | 0x900;