diff options
| author | Aetias <aetias@outlook.com> | 2024-04-30 18:06:48 +0200 |
|---|---|---|
| committer | Aetias <aetias@outlook.com> | 2024-04-30 18:06:48 +0200 |
| commit | 7ab07cf116502d2c722a24cde6e42420abbcac37 (patch) | |
| tree | 56f5711277af830df5df618a63c9ac32504c5aed /src/00_Core/Item/ItemManager.cpp | |
| parent | 9aefce8b0c48e728ba4f13b355636c1d7b132855 (diff) | |
Decomp `ItemManager::UpgradeBombchuBag`
Diffstat (limited to 'src/00_Core/Item/ItemManager.cpp')
| -rw-r--r-- | src/00_Core/Item/ItemManager.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/00_Core/Item/ItemManager.cpp b/src/00_Core/Item/ItemManager.cpp index b39663f2..7b7db21f 100644 --- a/src/00_Core/Item/ItemManager.cpp +++ b/src/00_Core/Item/ItemManager.cpp @@ -837,3 +837,8 @@ THUMB void ItemManager::UpgradeBombBag() { if (mBombBagSize < MAX_AMMO_UPGRADE) mBombBagSize += 1;
(*mAmmo)[ItemFlag_BombBag] = this->GetMaxAmmo(ItemFlag_BombBag);
}
+
+THUMB void ItemManager::UpgradeBombchuBag() {
+ if (mBombchuBagSize < MAX_AMMO_UPGRADE) mBombchuBagSize += 1;
+ (*mAmmo)[ItemFlag_BombchuBag] = this->GetMaxAmmo(ItemFlag_BombchuBag);
+}
|
