mirror of
https://github.com/zeldaret/ph
synced 2026-06-29 19:02:09 -04:00
Decompile LinkStateItem::GetLinkStateMove
This commit is contained in:
@@ -129,6 +129,6 @@ public:
|
||||
DebugHierarchy *GetDebugHierarchy1();
|
||||
};
|
||||
|
||||
unk32 GetLinkState(s32 index);
|
||||
LinkStateBase *GetLinkState(s32 index);
|
||||
|
||||
extern LinkStateBase **gLinkStates;
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "Player/LinkStateBase.hpp"
|
||||
|
||||
unk32 GetLinkState(s32 index) {
|
||||
return (unk32)gLinkStates[index];
|
||||
LinkStateBase *GetLinkState(s32 index) {
|
||||
return gLinkStates[index];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user