diff options
| author | ph <patrickmheintz@gmail.com> | 2026-06-14 11:55:37 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-14 18:55:37 +0000 |
| commit | fc2f525052f2afa5b1dcbe949ce722cd1092008c (patch) | |
| tree | 790cf13bb2025cdf0bb4b1156d7711818e41b72b /soh/src/code/z_parameter.c | |
| parent | 3250cc27f543c4c8971ebfdab5c58fa98be597b2 (diff) | |
fix halfmilk RBA (#6670)
Diffstat (limited to 'soh/src/code/z_parameter.c')
| -rw-r--r-- | soh/src/code/z_parameter.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/soh/src/code/z_parameter.c b/soh/src/code/z_parameter.c index e96929a10..c378d15f4 100644 --- a/soh/src/code/z_parameter.c +++ b/soh/src/code/z_parameter.c @@ -2671,8 +2671,11 @@ void Inventory_UpdateBottleItem(PlayState* play, u8 item, u8 button) { gSaveContext.inventory.items[gSaveContext.equips.cButtonSlots[button - 1]]); // Special case to only empty half of a Lon Lon Milk Bottle - if ((gSaveContext.inventory.items[gSaveContext.equips.cButtonSlots[button - 1]] == ITEM_MILK_BOTTLE) && - (item == ITEM_BOTTLE)) { + if (GameInteractor_Should( + VB_EMPTY_BOTTLE_TO_HALF_MILK, + (gSaveContext.inventory.items[gSaveContext.equips.cButtonSlots[button - 1]] == ITEM_MILK_BOTTLE) && + (item == ITEM_BOTTLE), + button, item)) { item = ITEM_MILK_HALF; } |
