diff options
author | Evan <eroelke@gmail.com> | 2019-11-24 16:23:06 -0700 |
---|---|---|
committer | Evan <eroelke@gmail.com> | 2019-11-24 16:23:06 -0700 |
commit | 2cc4db0c786e20c1ef9823d0d0a027f39dfef9f3 (patch) | |
tree | d6510c8a29299ad28df8bf129c76f34cc4fd6c42 /include/shop.h | |
parent | b18ec47b1393d562655e50d30acb3de191423581 (diff) |
remove .s files
Diffstat (limited to 'include/shop.h')
-rw-r--r-- | include/shop.h | 31 |
1 files changed, 28 insertions, 3 deletions
diff --git a/include/shop.h b/include/shop.h index 481fd6c76..129839e33 100644 --- a/include/shop.h +++ b/include/shop.h @@ -4,18 +4,43 @@ #include "global.h" #include "menu_helpers.h" +#define MENU_NOTHING_CHOSEN -2 +#define MENU_B_PRESSED -1 + +#define INDEX_CANCEL -2 + +#define NUM_CHARS_PRICE 4 + +// shop view window NPC info enum +enum +{ + EVENT_OBJ_ID, + X_COORD, + Y_COORD, + ANIM_NUM +}; + extern EWRAM_DATA struct ItemSlot gUnknown_02039F80[3]; -void CreatePokemartMenu(const u16 *); +void CreatePokemartMenu(const u16 *itemsForSale); void CreateDecorationShop1Menu(const u16 *); void CreateDecorationShop2Menu(const u16 *); -void sub_809C09C(u16, u16, u8); u8 sub_809B56C(void); +void sub_809C09C(u16 a0, u16 a1, u8 a2); + +// wrong file +void sub_809C1D8(u8 taskId, const u16* a1, u16 a2); +void sub_809C448(u8 a0); +void sub_809C460(void); +bool8 sub_809C474(void); +void sub_809C4A8(void); +void sub_809C5FC(void); + // buy_menu_helper void BuyMenuInitWindows(bool32 isSellingTM); void BuyMenuDrawMoneyBox(void); -void BuyMenuPrint(u8 windowId, u8 font, const u8 *text, u8 x, u8 y, u8 letterSpacing, u8 lineSpacing, s8 speed, u8 color); +void BuyMenuPrint(u8 windowId, u8 font, const u8 *text, u8 x, u8 y, u8 letterSpacing, u8 lineSpacing, u8 speed, u8 color); void BuyMenuDisplayMessage(u8 taskId, const u8 *text, TaskFunc callback); void BuyMenuQuantityBoxNormalBorder(u8 windowId, bool8 copyToVram); void BuyMenuQuantityBoxThinBorder(u8 windowId, bool8 copyToVram); |