From fc2f525052f2afa5b1dcbe949ce722cd1092008c Mon Sep 17 00:00:00 2001 From: ph Date: Sun, 14 Jun 2026 11:55:37 -0700 Subject: fix halfmilk RBA (#6670) --- soh/src/code/z_parameter.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'soh/src/code') 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; } -- cgit v1.2.3