summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/link.md2
-rw-r--r--include/Player/LinkStateFollow.hpp (renamed from include/Player/LinkState3.hpp)6
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/link.md b/docs/link.md
index a47201f5..148e712b 100644
--- a/docs/link.md
+++ b/docs/link.md
@@ -12,7 +12,7 @@ shared outside of the active state handler.
0 | `LinkStateMove` | Handles Link's movement.
1 | `LinkStateItem` | Handles item usage.
2 | `LinkStateInteract` | Handles talking to NPCs and grabbing/pushing/pulling objects.
-3 | `LinkState3` | Unknown
+3 | `LinkStateFollow` | Handles moving toward objects.
4 | `LinkState4` | Unknown
5 | `LinkStateDamage` | Handles receiving damage.
6 | `LinkStateItemGet` | Handles getting items.
diff --git a/include/Player/LinkState3.hpp b/include/Player/LinkStateFollow.hpp
index 486ee7b3..bdd3419d 100644
--- a/include/Player/LinkState3.hpp
+++ b/include/Player/LinkStateFollow.hpp
@@ -7,20 +7,20 @@
#include "Player/LinkStateBase.hpp"
-class LinkState3 : public LinkStateBase {
+class LinkStateFollow : public LinkStateBase {
public:
/* 00 (base) */
/* 0c */ void *mUnk_0c;
/* 10 */ unk32 mUnk_10;
/* 14 */ unk8 mUnk_14[0x10];
- /* 24 */ Vec3p mUnk_24;
+ /* 24 */ Vec3p mTarget;
/* 30 */ unk8 mUnk_30[0x88]; // non-documented struct
/* b8 */ unk8 mUnk_b8[0x2a]; // non-documented struct
/* e2 */ unk8 mUnk_e2[2];
/* e4 */
/* 00 */ virtual void vfunc_00() override;
- /* 04 */ virtual ~LinkState3() override;
+ /* 04 */ virtual ~LinkStateFollow() override;
/* 0c */ virtual LinkStateId GetId() override;
/* 14 */ virtual void OnStateEnter() override;
/* 18 */ virtual void OnStateLeave(s32 param1) override;