2017-10-12 07:06:19 +00:00
|
|
|
#ifndef GUARD_PARTY_MENU_H
|
|
|
|
#define GUARD_PARTY_MENU_H
|
2018-07-07 17:57:09 +00:00
|
|
|
|
2018-10-18 03:36:18 +00:00
|
|
|
#include "main.h"
|
2018-02-15 11:42:02 +00:00
|
|
|
#include "task.h"
|
2018-07-07 17:57:09 +00:00
|
|
|
|
2017-12-09 20:23:40 +00:00
|
|
|
enum
|
|
|
|
{
|
2017-11-29 13:30:18 +00:00
|
|
|
AILMENT_NONE,
|
|
|
|
AILMENT_PSN,
|
|
|
|
AILMENT_PRZ,
|
|
|
|
AILMENT_SLP,
|
|
|
|
AILMENT_FRZ,
|
2018-10-18 00:03:02 +00:00
|
|
|
AILMENT_BRN,
|
2018-12-07 04:14:33 +00:00
|
|
|
AILMENT_PKRS,
|
|
|
|
AILMENT_FNT
|
2017-11-29 13:30:18 +00:00
|
|
|
};
|
|
|
|
|
2018-07-07 17:57:09 +00:00
|
|
|
enum
|
|
|
|
{
|
|
|
|
PARTY_CHOOSE_MON,
|
|
|
|
PARTY_MUST_CHOOSE_MON,
|
|
|
|
PARTY_CANT_SWITCH,
|
|
|
|
PARTY_USE_ITEM_ON,
|
|
|
|
PARTY_ABILITY_PREVENTS,
|
|
|
|
PARTY_GIVE_ITEM,
|
|
|
|
};
|
|
|
|
|
2018-10-18 00:03:02 +00:00
|
|
|
struct Struct203CEC8 {
|
2018-12-18 10:38:08 +00:00
|
|
|
MainCallback exitCallback;
|
2018-10-18 00:03:02 +00:00
|
|
|
TaskFunc unk4;
|
|
|
|
u8 unk8_0:4;
|
2018-12-18 10:38:08 +00:00
|
|
|
u8 mode:2;
|
2018-10-18 00:03:02 +00:00
|
|
|
u8 unk8_2:2;
|
2018-02-15 11:42:02 +00:00
|
|
|
s8 unk9;
|
|
|
|
s8 unkA;
|
2018-02-15 09:59:26 +00:00
|
|
|
u8 unkB;
|
2018-12-17 07:39:17 +00:00
|
|
|
u16 unkC;
|
2018-12-07 04:14:33 +00:00
|
|
|
s16 unkE;
|
2018-12-17 07:39:17 +00:00
|
|
|
s16 unk10;
|
2018-02-15 09:59:26 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
extern struct Struct203CEC8 gUnknown_0203CEC8;
|
|
|
|
|
2018-12-07 04:14:33 +00:00
|
|
|
extern const u16 gUnknown_0861500C[]; // tutor table
|
2018-08-10 07:42:06 +00:00
|
|
|
|
2017-10-12 07:06:19 +00:00
|
|
|
bool8 pokemon_has_move(struct Pokemon *, u16);
|
2017-11-01 04:34:57 +00:00
|
|
|
void sub_81B58A8(void);
|
2017-10-24 19:45:41 +00:00
|
|
|
void DoWallyTutorialBagMenu(void);
|
2017-11-23 01:10:35 +00:00
|
|
|
u8 pokemon_ailments_get_primary(u32 status);
|
2017-12-09 20:23:40 +00:00
|
|
|
u8 *GetMonNickname(struct Pokemon *mon, u8 *dst);
|
2018-01-02 01:21:30 +00:00
|
|
|
u8 GetCursorSelectionMonId(void);
|
2018-06-16 12:04:29 +00:00
|
|
|
bool8 FieldCallback_PrepareFadeInFromMenu(void);
|
2018-02-09 02:00:28 +00:00
|
|
|
void sub_81B7F60(void);
|
2017-10-12 07:06:19 +00:00
|
|
|
|
2018-02-15 11:42:02 +00:00
|
|
|
void sub_81B0FCC(u8 partyIdx, u8 a);
|
2018-02-15 09:59:26 +00:00
|
|
|
void sub_81B1370(u8 taskId);
|
2018-10-18 00:03:02 +00:00
|
|
|
void display_pokemon_menu_message(u32 windowId);
|
2018-02-15 11:42:02 +00:00
|
|
|
void sub_81B1F18(u8 taskId, u8 pokemonIdx, s8 a, s16 hp, TaskFunc func);
|
2018-10-21 00:25:28 +00:00
|
|
|
u8 sub_81B1B5C(const u8 *a, u8 b);
|
2018-10-14 18:00:14 +00:00
|
|
|
u8 sub_81B1BD4(void);
|
|
|
|
void sub_81B8448(void);
|
2018-06-04 10:07:32 +00:00
|
|
|
void sub_81B8518(u8 unused);
|
2018-06-09 20:14:52 +00:00
|
|
|
u8 sub_81B1360(void);
|
|
|
|
void sub_81B8904(u8 arg0, void (*callback)(void));
|
2018-07-07 17:57:09 +00:00
|
|
|
void OpenPartyMenuInBattle(u8 caseId);
|
2018-08-08 08:37:12 +00:00
|
|
|
u16 ItemIdToBattleMoveId(u16 itemId);
|
2018-08-15 04:56:11 +00:00
|
|
|
u8 sub_81B205C(struct Pokemon* a);
|
2018-09-11 02:04:19 +00:00
|
|
|
void sub_81B617C(void);
|
2018-08-15 04:56:11 +00:00
|
|
|
u8 sub_81B6D14(u16 a);
|
|
|
|
bool8 hm_add_c3_without_phase_2(void);
|
2018-02-15 09:59:26 +00:00
|
|
|
|
2018-10-18 00:03:02 +00:00
|
|
|
extern void dp05_ether(u8, TaskFunc);
|
|
|
|
extern void dp05_pp_up(u8, TaskFunc);
|
|
|
|
extern void dp05_rare_candy(u8, TaskFunc);
|
2018-09-11 02:04:19 +00:00
|
|
|
|
2018-10-18 00:03:02 +00:00
|
|
|
extern void sub_81B67C8(u8, TaskFunc);
|
|
|
|
extern void sub_81B79E8(u8, TaskFunc);
|
|
|
|
extern void sub_81B6DC4(u8, TaskFunc);
|
|
|
|
extern void sub_81B7C74(u8, TaskFunc);
|
2018-09-11 02:04:19 +00:00
|
|
|
|
2017-10-12 07:06:19 +00:00
|
|
|
#endif // GUARD_PARTY_MENU_H
|