mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-17 23:15:11 -05:00
Add logic to also check for a toggle setting
Added && for the gRandoFanfareByItemType to allow this to be a toggle setting
This commit is contained in:
parent
d424ee6fa8
commit
dd761295fc
@ -12677,8 +12677,8 @@ s32 func_8084DFF4(GlobalContext* globalCtx, Player* this) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// In Rando, if we get special quest items (medallions/stones/songs), play their respective unique fanfares
|
// In Rando, if we get special quest items (medallions/stones/songs), play their respective unique fanfares
|
||||||
// instead of the default "get item" fanfare
|
// instead of the default "get item" fanfare (if we have the setting toggled on)
|
||||||
if (gSaveContext.n64ddFlag) {
|
if (gSaveContext.n64ddFlag && CVar_GetS32("gRandoFanfareByItemType", 0)) {
|
||||||
// If the item we're getting is a medallion, play the "get a medallion" fanfare
|
// If the item we're getting is a medallion, play the "get a medallion" fanfare
|
||||||
if ((this->getItemId == GI_MEDALLION_FOREST) || (this->getItemId == GI_MEDALLION_FIRE) ||
|
if ((this->getItemId == GI_MEDALLION_FOREST) || (this->getItemId == GI_MEDALLION_FIRE) ||
|
||||||
(this->getItemId == GI_MEDALLION_WATER) || (this->getItemId == GI_MEDALLION_SHADOW) ||
|
(this->getItemId == GI_MEDALLION_WATER) || (this->getItemId == GI_MEDALLION_SHADOW) ||
|
||||||
|
Loading…
Reference in New Issue
Block a user