decompile berry tag screen

This commit is contained in:
DizzyEggg
2018-02-02 14:03:48 +01:00
parent 14d2caaf8d
commit ebc8af50f1
9 changed files with 295 additions and 776 deletions

View File

@@ -1,6 +1,6 @@
#ifndef GUARD_BERRY_TAG_SCREEN_H
#define GUARD_BERRY_TAG_SCREEN_H
void BerryTagScreen_814625C(u8 taskId);
#endif // GUARD_BERRY_TAG_SCREEN_H

View File

@@ -60,5 +60,6 @@ u8 ItemId_GetBattleUsage(u16 itemId);
ItemUseFunc ItemId_GetBattleFunc(u16 itemId);
u8 ItemId_GetSecondaryId(u16 itemId);
u16 itemid_get_market_price(u16 itemId);
u16 BagGetItemIdByPocketPosition(u8 pocketId, u16 pocketPos);
#endif // ITEM_H

View File

@@ -2,11 +2,24 @@
#define GUARD_item_menu_H
// Exported type declarations
struct BagStruct
{
void *func;
u8 unk4;
u8 pocket;
u8 unk6[2];
u16 unk8[5];
u16 unk12[5];
void *unk1C;
};
extern struct BagStruct gUnknown_0203CE58;
// Exported RAM declarations
// Exported ROM declarations
void sub_81AAC50(void);
void sub_81AAC70(void);
void bag_menu_mail_related(void);
#endif //GUARD_item_menu_H

View File

@@ -6,5 +6,7 @@ extern const struct CompressedSpritePalette gUnknown_0857FDF4;
u8 sub_80D511C(u8 a0, u8 a1, u8 a2, u8 a3);
u8 CreateBerryTagSprite(u8 id, s16 x, s16 y);
void FreeBerryTagSpritePalette(void);
u8 CreateBerryFlavorCircleSprite(s16 x);
#endif // GUARD_ITEM_MENU_ICONS