mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-10-31 15:45:06 -04:00
parent
76e4e97a72
commit
8932f30904
@ -12615,12 +12615,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