Decomp ItemManager::UnequipPotion

This commit is contained in:
Aetias
2024-04-18 19:54:58 +02:00
parent 711cfc7da2
commit b60ce0d48d
2 changed files with 10 additions and 17 deletions
+9
View File
@@ -747,3 +747,12 @@ THUMB void ItemManager::GiveEquipItem(ItemFlag item, u16 ammo) {
this->mEquipLoadTimer = 1;
}
}
THUMB void ItemManager::UnequipPotion() {
switch (mEquippedItem) {
case ItemFlag_PotionA:
case ItemFlag_PotionB: {
this->EquipPreviousItem();
} break;
}
}