diff options
author | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2017-08-26 14:10:07 -0400 |
---|---|---|
committer | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2017-08-26 14:10:07 -0400 |
commit | 0c3a2fb275129567b23ef0ed520c04aece90079f (patch) | |
tree | fedb9c5b4d09ce873ef6e6262924eee4d0c1558c /include/shop.h | |
parent | 027dc5448e9a5cc90ca6fa4e37d9b73ec342cfe5 (diff) |
matching sub_80B4470 and nonmatching sub_80B3F88 and sub_80B403C
Diffstat (limited to 'include/shop.h')
-rw-r--r-- | include/shop.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/shop.h b/include/shop.h index 18d5cd94f..b785ca764 100644 --- a/include/shop.h +++ b/include/shop.h @@ -21,12 +21,12 @@ struct MartInfo { /* 0x0 */ void (* callback) (void); /* 0x4 */ u16 *itemList; - /* 0x8 */ u8 itemCount; + /* 0x8 */ u8 itemCount; // how many unique items are there for sale? /* 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; + /* 0xA */ u8 numChoices; // how many options does the mart have? can be either 2 or 1 (BUY/SELL vs BUY) + /* 0xB */ u8 choicesAbove; // when your cursor is far down, there are choices that have scrolled up past the top. this is the count of that. + /* 0xC */ u8 martType; // 0-2. 0 is normal mart while 1-2 seem to be decor shops or non-stackable purchases in general. + /* 0xD */ u8 curItemCount; // if you are selling an item, this is the count of the current item stack you have. }; void sub_80B2E38(u8); |