diff options
| author | mckinlee <mckinlee@ymail.com> | 2026-03-30 21:55:17 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-30 21:55:17 -0400 |
| commit | 17524f0831d6d9d6fd1b37e3bd2585abfa2055d8 (patch) | |
| tree | 397f4b604c4e172065587e8562609ec56390e6fd /mm/2s2h/Rando/GiveItem.cpp | |
| parent | e04c3ae288717d37e2c016a39a66d7eeb28fb698 (diff) | |
vroom (#1605)
Diffstat (limited to 'mm/2s2h/Rando/GiveItem.cpp')
| -rw-r--r-- | mm/2s2h/Rando/GiveItem.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mm/2s2h/Rando/GiveItem.cpp b/mm/2s2h/Rando/GiveItem.cpp index f34fd1826..c42052655 100644 --- a/mm/2s2h/Rando/GiveItem.cpp +++ b/mm/2s2h/Rando/GiveItem.cpp @@ -143,7 +143,8 @@ void Rando::GiveItem(RandoItemId randoItemId) { case RI_WALLET_GIANT: Item_Give(gPlayState, Rando::StaticData::Items[randoItemId].itemId); // Fill Rupees to max, this may be opt-in later - gSaveContext.rupeeAccumulator = CUR_CAPACITY(UPG_WALLET); + // Use remaining space rather than full capacity to avoid excess in the accumulator. + gSaveContext.rupeeAccumulator = CUR_CAPACITY(UPG_WALLET) - gSaveContext.save.saveInfo.playerData.rupees; break; case RI_WALLET_TYCOON: Inventory_ChangeUpgrade(UPG_WALLET, 3); |
