mirror of
https://github.com/pret/pmd-sky.git
synced 2026-04-19 16:17:21 -05:00
12 lines
367 B
C
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
|