diff options
author | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2017-08-25 23:38:46 -0400 |
---|---|---|
committer | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2017-08-25 23:38:46 -0400 |
commit | e9037c7861b70d39686608b3eace9e9443c18c44 (patch) | |
tree | 7944cec07904dbd3e4c9431fb21be085f5a16599 /include | |
parent | efd3e208f10ed2db25871bab49b9462ab7efb903 (diff) |
move data to C
Diffstat (limited to 'include')
-rw-r--r-- | include/shop.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/include/shop.h b/include/shop.h index 3923b85ab..18d5cd94f 100644 --- a/include/shop.h +++ b/include/shop.h @@ -1,6 +1,34 @@ #ifndef GUARD_SHOP_H #define GUARD_SHOP_H +enum +{ + MART_TYPE_0, // normal mart + MART_TYPE_1, + MART_TYPE_2, +}; + +// shop view window NPC info enum +enum +{ + MAP_OBJ_ID, + X_COORD, + Y_COORD, + ANIM_NUM +}; + +struct MartInfo +{ + /* 0x0 */ void (* callback) (void); + /* 0x4 */ u16 *itemList; + /* 0x8 */ u8 itemCount; + /* 0x9 */ u8 cursor; // this shows the on-screen true index of the cursor and not the current item selected. + /* 0xA */ u8 numChoices; + /* 0xB */ u8 choicesAbove; + /* 0xC */ u8 martType; + /* 0xD */ u8 unkD; +}; + void sub_80B2E38(u8); void HandleShopMenuQuit(u8); void sub_80B2FA0(u8); |