mirror of
https://github.com/zeldaret/ph
synced 2026-06-09 20:40:55 -04:00
Decomp ItemManager::UnequipPotion
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user