mirror of
https://github.com/zeldaret/ph
synced 2026-07-11 22:40:17 -04:00
Decomp ItemManager::HasPurplePotion
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user