Decomp ItemManager::HasPurplePotion

This commit is contained in:
Aetias
2024-04-30 18:24:27 +02:00
parent 028207d6a8
commit 102fc098fa
2 changed files with 7 additions and 16 deletions
+7
View File
@@ -882,3 +882,10 @@ ARM bool ItemManager::HasAllPotions() const {
}
return true;
}
ARM bool ItemManager::HasPurplePotion() const {
for (s32 i = 0; i < MAX_POTIONS; ++i) {
if (mPotions[i] == Potion_Purple) return true;
}
return false;
}