summaryrefslogtreecommitdiff
path: root/include/d/actor/d_a_shop_item.h
blob: 3b4944e84ef82d24992c3668d5196995130d1357 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef D_A_SHOP_ITEM_H
#define D_A_SHOP_ITEM_H

#include "d/d_a_shop_item_static.h"

namespace daShopItem_prm {
inline u8 getGroup(daShopItem_c* i_this) {
    return fopAcM_GetParam(i_this) >> 0x1C;
}

inline u8 getItemNo(daShopItem_c* i_this) {
    return fopAcM_GetParam(i_this) & 0xFF;
}
}  // namespace dahopItem_prm

#endif /* D_A_SHOP_ITEM_H */