summaryrefslogtreecommitdiff
path: root/src/object/fourElements.c
diff options
context:
space:
mode:
authorTal Hayon <talhayon1@gmail.com>2022-04-27 00:01:22 +0300
committerTal Hayon <talhayon1@gmail.com>2022-04-28 09:19:46 +0300
commit4de453b4deb7345cd9ed1899b5c86d6d8448f95d (patch)
tree9b3c0cc2375e98ce786959b9877cada6ec5b9f53 /src/object/fourElements.c
parentf89959884321beb6bed47540550b3edf47c21fe6 (diff)
Add TextCategory enum
Diffstat (limited to 'src/object/fourElements.c')
-rw-r--r--src/object/fourElements.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/object/fourElements.c b/src/object/fourElements.c
index 24141d89..3b4b8d97 100644
--- a/src/object/fourElements.c
+++ b/src/object/fourElements.c
@@ -20,7 +20,7 @@ typedef struct {
/*0x6a*/ u8 unk_6a;
} FourElementsEntity;
-extern u32 sub_0805429C(u32);
+extern u32 getItemMetaDataGetTextIndex(u32);
extern void sub_0807DF50(void);
extern u16 script_PlayerGetElement[];
@@ -133,7 +133,7 @@ void FourElements_Action5(FourElementsEntity* this) {
RequestPriorityDuration(NULL, 10);
if (--this->unk_68 == 0) {
super->action = 6;
- index = sub_0805429C(super->type);
+ index = getItemMetaDataGetTextIndex(super->type);
MessageNoOverlap(index, super);
}
}