mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-01-10 21:48:17 -05:00
parent
b1bb8fe8c0
commit
6c30d7a435
@ -12564,12 +12564,12 @@ s32 func_8084DFF4(GlobalContext* globalCtx, Player* this) {
|
|||||||
Audio_PlaySoundGeneral(NA_SE_SY_GET_BOXITEM, &D_801333D4, 4, &D_801333E0, &D_801333E0, &D_801333E8);
|
Audio_PlaySoundGeneral(NA_SE_SY_GET_BOXITEM, &D_801333D4, 4, &D_801333E0, &D_801333E0, &D_801333E8);
|
||||||
} else {
|
} else {
|
||||||
if ((giEntry.itemId == ITEM_HEART_CONTAINER) ||
|
if ((giEntry.itemId == ITEM_HEART_CONTAINER) ||
|
||||||
((giEntry.itemId == ITEM_HEART_PIECE) &&
|
((giEntry.itemId == ITEM_HEART_PIECE_2) &&
|
||||||
((gSaveContext.inventory.questItems & 0xF0000000) == 0x40000000))) {
|
((gSaveContext.inventory.questItems & 0xF0000000) == 0x40000000))) {
|
||||||
temp1 = NA_BGM_HEART_GET | 0x900;
|
temp1 = NA_BGM_HEART_GET | 0x900;
|
||||||
} else {
|
} else {
|
||||||
temp1 = temp2 =
|
temp1 = temp2 =
|
||||||
(giEntry.itemId == ITEM_HEART_PIECE) ? NA_BGM_SMALL_ITEM_GET : NA_BGM_ITEM_GET | 0x900;
|
(giEntry.itemId == ITEM_HEART_PIECE_2) ? NA_BGM_SMALL_ITEM_GET : NA_BGM_ITEM_GET | 0x900;
|
||||||
}
|
}
|
||||||
Audio_PlayFanfare(temp1);
|
Audio_PlayFanfare(temp1);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user