Merge pull request #1797 from AsparagusEduardo/pret/pr/item
Removed unused functions in item header
This commit is contained in:
commit
cefbf5986c
2 changed files with 2 additions and 3 deletions
|
@ -62,13 +62,11 @@ u16 CountTotalItemQuantityInBag(u16 itemId);
|
|||
bool8 AddPyramidBagItem(u16 itemId, u16 count);
|
||||
bool8 RemovePyramidBagItem(u16 itemId, u16 count);
|
||||
const u8 *ItemId_GetName(u16 itemId);
|
||||
u16 ItemId_GetId(u16 itemId);
|
||||
u16 ItemId_GetPrice(u16 itemId);
|
||||
u8 ItemId_GetHoldEffect(u16 itemId);
|
||||
u8 ItemId_GetHoldEffectParam(u16 itemId);
|
||||
const u8 *ItemId_GetDescription(u16 itemId);
|
||||
u8 ItemId_GetImportance(u16 itemId);
|
||||
u8 ItemId_GetRegistrability(u16 itemId);
|
||||
u8 ItemId_GetPocket(u16 itemId);
|
||||
u8 ItemId_GetType(u16 itemId);
|
||||
ItemUseFunc ItemId_GetFieldFunc(u16 itemId);
|
||||
|
|
|
@ -880,6 +880,7 @@ const u8 *ItemId_GetName(u16 itemId)
|
|||
return gItems[SanitizeItemId(itemId)].name;
|
||||
}
|
||||
|
||||
// Unused
|
||||
u16 ItemId_GetId(u16 itemId)
|
||||
{
|
||||
return gItems[SanitizeItemId(itemId)].itemId;
|
||||
|
@ -910,7 +911,7 @@ u8 ItemId_GetImportance(u16 itemId)
|
|||
return gItems[SanitizeItemId(itemId)].importance;
|
||||
}
|
||||
|
||||
// unused
|
||||
// Unused
|
||||
u8 ItemId_GetRegistrability(u16 itemId)
|
||||
{
|
||||
return gItems[SanitizeItemId(itemId)].registrability;
|
||||
|
|
Loading…
Reference in a new issue