Progressive Shuffle Open Chest (#6971)

This commit is contained in:
Philip Dubé
2026-07-23 23:35:41 +00:00
committed by GitHub
parent cca66cdc5d
commit da4e6dc332
32 changed files with 196 additions and 106 deletions
@@ -7368,7 +7368,7 @@ s32 Player_ActionHandler_2(Player* this, PlayState* play) {
!(this->stateFlags1 & PLAYER_STATE1_CARRYING_ACTOR) &&
!(this->stateFlags2 & PLAYER_STATE2_UNDERWATER)) {
if (this->getItemId != GI_NONE) {
if (GameInteractor_Should(VB_OPEN_CHEST, true)) {
if (GameInteractor_Should(VB_OPEN_CHEST, true, interactedActor)) {
GetItemEntry giEntry;
if (this->getItemEntry.objectId == OBJECT_INVALID) {
giEntry = ItemTable_Retrieve(-this->getItemId);