pmd-sky/include/item_util_2.h
2025-02-12 22:33:30 -05:00

12 lines
367 B
C

#ifndef PMDSKY_ITEM_UTIL_2_H
#define PMDSKY_ITEM_UTIL_2_H
#include "item.h"
// Returns the category of the specified item
enum item_category GetItemCategory(s16 item_id);
// Checks if the given item ID is valid (using IsItemValid). If so, return the given item ID. Otherwise, return ITEM_PLAIN_SEED.
s16 EnsureValidItem(s16 item_id);
#endif //PMDSKY_ITEM_UTIL_2_H