diff options
author | Revo <projectrevotpp@hotmail.com> | 2020-08-29 14:02:40 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-29 14:02:40 -0400 |
commit | 62e3afdea1f62da948dd9d3926f712dbbe7af039 (patch) | |
tree | f36cfb87497fba4d95765592b902230e7560a705 /arm9/src/itemtool.c | |
parent | 98d8b5afbffbd248d3d8bd1358f1f1b9ed0f4150 (diff) | |
parent | 2263ed62e6003fe036655bccceb9a8a91709d75d (diff) |
Merge pull request #272 from PikalaxALT/pikalax_work
Decompile pokedex
Diffstat (limited to 'arm9/src/itemtool.c')
-rw-r--r-- | arm9/src/itemtool.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arm9/src/itemtool.c b/arm9/src/itemtool.c index 75785ee8..6b892d6d 100644 --- a/arm9/src/itemtool.c +++ b/arm9/src/itemtool.c @@ -810,8 +810,8 @@ u32 GetItemAttr_PreloadedItemData(struct ItemData * itemData, u32 attr) return itemData->unk6; case ITEMATTR_NATURAL_GIFT_POWER: return itemData->naturalGiftPower; - case ITEMATTR_UNK8_0: - return itemData->unk8_0; + case ITEMATTR_NATURAL_GIFT_TYPE: + return itemData->naturalGiftType; case ITEMATTR_UNK8_B: return itemData->unk8_B; case ITEMATTR_PARTY_USE: |