summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormike8699 <mikebuntu68@gmail.com>2024-12-31 15:11:25 -0500
committermike8699 <mikebuntu68@gmail.com>2025-01-05 19:06:26 -0500
commitf9da67860b7e6cc55bf48c251c8ecfd2bcde6369 (patch)
tree438ca9d541ad37d2ef42495db2bc7abdb316fa98 /src
parent82ba3ff31176383a6cd7902aaf6e2941d039e02e (diff)
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.
Diffstat (limited to 'src')
-rw-r--r--src/Main/Player/LinkState.cpp5
1 files changed, 5 insertions, 0 deletions
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];
+}