mirror of
https://github.com/zeldaret/ph
synced 2026-08-04 01:03:10 -04:00
Decomp ItemManager::GetEquippedItem
This commit is contained in:
@@ -791,3 +791,8 @@ THUMB void ItemManager::GiveKeys(u32 amount) {
|
||||
if (keys <= 0) keys = 0;
|
||||
gMapManager->SetNumKeys(keys);
|
||||
}
|
||||
|
||||
ARM ItemFlag ItemManager::GetEquippedItem() const {
|
||||
if (this->mForcedItem != ItemFlag_None) return this->mForcedItem;
|
||||
return this->mEquippedItem;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user