From f9da67860b7e6cc55bf48c251c8ecfd2bcde6369 Mon Sep 17 00:00:00 2001 From: mike8699 Date: Tue, 31 Dec 2024 15:11:25 -0500 Subject: Decompile `GetLinkState` arm9 function This is not part of the `LinkStateItem` class, but it is called by a method in that class. I wasn't sure the best place to put this. --- src/Main/Player/LinkState.cpp | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 src/Main/Player/LinkState.cpp (limited to 'src/Main/Player/LinkState.cpp') diff --git a/src/Main/Player/LinkState.cpp b/src/Main/Player/LinkState.cpp new file mode 100644 index 00000000..316e3f50 --- /dev/null +++ b/src/Main/Player/LinkState.cpp @@ -0,0 +1,5 @@ +#include "Player/LinkStateBase.hpp" + +unk32 GetLinkState(s32 index) { + return (unk32)gLinkStates[index]; +} -- cgit v1.2.3