mirror of
https://github.com/pret/pmd-sky.git
synced 2026-03-21 17:25:15 -05:00
decomp more item funcs new file boundary and more decomp address review comments Match IsValidTargetItem thanks to @taxicat1
19 lines
583 B
C
19 lines
583 B
C
#ifndef PMDSKY_ITEM_UTIL_H
|
|
#define PMDSKY_ITEM_UTIL_H
|
|
|
|
#include "item.h"
|
|
|
|
// Likely a linker-generated veneer for GetItemCategory.
|
|
// See https://developer.arm.com/documentation/dui0474/k/image-structure-and-generation/linker-generated-veneers/what-is-a-veneer-
|
|
enum item_category GetItemCategoryVeneer(s16 item_id);
|
|
u16 GetItemMoveId16(s16 item_id);
|
|
bool8 IsThrownItem(s16 item_id);
|
|
bool8 IsNotMoney(s16 item_id);
|
|
bool8 IsEdible(s16 item_id);
|
|
bool8 IsHM(s16 item_id);
|
|
bool8 IsGummi(s16 item_id);
|
|
bool8 IsGummi(s16 item_id);
|
|
BOOL IsAuraBow(s32 item_id);
|
|
|
|
#endif //PMDSKY_ITEM_UTIL_H
|