mirror of
https://github.com/zeldaret/ph
synced 2026-06-06 11:37:30 -04:00
Name fairy level methods
This commit is contained in:
+2
-2
@@ -343,11 +343,11 @@ THUMB u8 ItemManager::GetMaxTreasureCount() const {
|
||||
return 99;
|
||||
}
|
||||
|
||||
ARM unk32 ItemManager::func_ov00_020ad9e8(FairyId id) const {
|
||||
ARM u32 ItemManager::GetActiveFairyLevel(FairyId id) const {
|
||||
if (this->mEquippedFairy == FairyId_None) return 0;
|
||||
FairyId fairy = this->GetEquippedFairy();
|
||||
if (fairy == FairyId_Courage && this->mUnk_14d != 0) return 0;
|
||||
fairy = this->GetEquippedFairy();
|
||||
if (id == fairy) return this->func_ov00_020ada48(id);
|
||||
if (id == fairy) return this->GetFairyLevel(id);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user