LinkStateItemGet -> LinkStateCutscene

This commit is contained in:
Aetias
2024-03-31 10:01:12 +02:00
parent 410c5acc2d
commit d40ff9598d
2 changed files with 6 additions and 6 deletions
+4 -4
View File
@@ -10,12 +10,12 @@ shared outside of the active state handler.
Index | Name | Description
-------|---------------------|-------------
0 | `LinkStateMove` | Handles Link's movement.
1 | `LinkStateItem` | Handles item usage.
1 | `LinkStateItem` | Handles item usage, including sword and shield.
2 | `LinkStateInteract` | Handles talking to NPCs and grabbing/pushing/pulling objects.
3 | `LinkStateFollow` | Handles moving toward objects.
4 | `LinkStateRoll` | Unknown
5 | `LinkStateDamage` | Handles receiving damage.
6 | `LinkStateItemGet` | Handles getting items.
4 | `LinkStateRoll` | Handles rolling and dizziness.
5 | `LinkStateDamage` | Handles receiving damage and knockback.
6 | `LinkStateCutscene` | Handles being in a cutscene, transitions into new scenes and getting items.
## State hierarchy
Link's states are organized in a hierarchical structure. Similar to actor IDs, states are labelled by 4-character IDs. In
@@ -8,7 +8,7 @@
#include "Player/LinkStateBase.hpp"
#include "Item/Item.hpp"
class LinkStateItemGet : public LinkStateBase {
class LinkStateCutscene : public LinkStateBase {
public:
/* 00 (base) */
/* 0c */ unk8 mUnk_08[0x24]; // non-documented struct
@@ -47,7 +47,7 @@ public:
/* ac */
/* 00 */ virtual void vfunc_00() override;
/* 04 */ virtual ~LinkStateItemGet() override;
/* 04 */ virtual ~LinkStateCutscene() override;
/* 0c */ virtual LinkStateId GetId() override;
/* 10 */ virtual void CreateDebugHierarchy() override;
/* 14 */ virtual void OnStateEnter() override;