diff options
author | LOuroboros <lunosouroboros@gmail.com> | 2021-12-17 18:18:10 -0300 |
---|---|---|
committer | LOuroboros <lunosouroboros@gmail.com> | 2021-12-17 19:41:39 -0300 |
commit | dbca24aa82bad91f48344d8e7d394e89febc1fd9 (patch) | |
tree | 583d0793e0e84e5eccc545440212d05d458ab130 /src/item.c | |
parent | 6e5520207f91ce883ee0cf86a4f8552fb7a5658c (diff) |
[LEAK INFORMED] Documented the unk19 item field
Diffstat (limited to 'src/item.c')
-rw-r--r-- | src/item.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/item.c b/src/item.c index 156034262..63287693a 100644 --- a/src/item.c +++ b/src/item.c @@ -913,9 +913,9 @@ u8 ItemId_GetImportance(u16 itemId) } // unused -u8 ItemId_GetUnknownValue(u16 itemId) +u8 ItemId_GetRegistrability(u16 itemId) { - return gItems[SanitizeItemId(itemId)].unk19; + return gItems[SanitizeItemId(itemId)].registrability; } u8 ItemId_GetPocket(u16 itemId) |