Decompile LinkStateItem::GetLinkStateMove

This commit is contained in:
mike8699
2024-12-31 15:12:32 -05:00
parent f9da67860b
commit be7b197c34
3 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -129,6 +129,6 @@ public:
DebugHierarchy *GetDebugHierarchy1();
};
unk32 GetLinkState(s32 index);
LinkStateBase *GetLinkState(s32 index);
extern LinkStateBase **gLinkStates;
+3 -1
View File
@@ -23,7 +23,9 @@ EquipBombchu *LinkStateItem::GetEquipBombchu() {
return (EquipBombchu *)ItemManager::GetEquipItemUnchecked(7);
}
LinkStateMove *LinkStateItem::GetLinkStateMove() {}
LinkStateMove *LinkStateItem::GetLinkStateMove() {
return (LinkStateMove *)GetLinkState(0);
}
bool LinkStateItem::func_ov00_020abf70() {
return gAdventureFlags->func_ov00_02097b9c(this->mUnk_5c);
+2 -2
View File
@@ -1,5 +1,5 @@
#include "Player/LinkStateBase.hpp"
unk32 GetLinkState(s32 index) {
return (unk32)gLinkStates[index];
LinkStateBase *GetLinkState(s32 index) {
return gLinkStates[index];
}