2017-10-12 09:06:19 +02:00
|
|
|
#ifndef GUARD_PARTY_MENU_H
|
|
|
|
#define GUARD_PARTY_MENU_H
|
2018-07-07 19:57:09 +02:00
|
|
|
|
2018-10-18 05:36:18 +02:00
|
|
|
#include "main.h"
|
2018-02-15 12:42:02 +01:00
|
|
|
#include "task.h"
|
2018-07-07 19:57:09 +02:00
|
|
|
|
2019-10-06 23:30:17 +02:00
|
|
|
#include "constants/party_menu.h"
|
2019-09-13 20:24:07 +02:00
|
|
|
|
2018-12-24 00:02:29 +01:00
|
|
|
struct Struct203CEC8
|
|
|
|
{
|
2018-12-18 11:38:08 +01:00
|
|
|
MainCallback exitCallback;
|
2018-10-18 02:03:02 +02:00
|
|
|
TaskFunc unk4;
|
|
|
|
u8 unk8_0:4;
|
2018-12-18 11:38:08 +01:00
|
|
|
u8 mode:2;
|
2018-10-18 02:03:02 +02:00
|
|
|
u8 unk8_2:2;
|
2019-05-13 00:41:25 +02:00
|
|
|
s8 slotId;
|
2018-02-15 12:42:02 +01:00
|
|
|
s8 unkA;
|
2018-02-15 10:59:26 +01:00
|
|
|
u8 unkB;
|
2018-12-17 08:39:17 +01:00
|
|
|
u16 unkC;
|
2018-12-07 05:14:33 +01:00
|
|
|
s16 unkE;
|
2018-12-17 08:39:17 +01:00
|
|
|
s16 unk10;
|
2018-02-15 10:59:26 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
extern struct Struct203CEC8 gUnknown_0203CEC8;
|
2018-12-24 00:02:29 +01:00
|
|
|
extern u8 gUnknown_0203CEE8;
|
|
|
|
extern u8 gUnknown_0203CEE9;
|
|
|
|
extern MainCallback gPostMenuFieldCallback;
|
|
|
|
extern u8 gSelectedOrderFromParty[4];
|
|
|
|
extern u8 gUnknown_0203CF00[3];
|
2018-02-15 10:59:26 +01:00
|
|
|
|
2019-02-02 12:44:00 +01:00
|
|
|
extern void (*gUnknown_03006328)(u8, TaskFunc);
|
|
|
|
|
2018-12-24 21:59:05 +01:00
|
|
|
extern const u16 gTutorMoves[];
|
2018-08-10 09:42:06 +02:00
|
|
|
|
2018-12-24 00:02:29 +01:00
|
|
|
void sub_81B0FCC(u8 slot, u8 b);
|
|
|
|
bool8 IsMultiBattle(void);
|
2018-01-02 02:21:30 +01:00
|
|
|
u8 GetCursorSelectionMonId(void);
|
2018-12-24 00:02:29 +01:00
|
|
|
u8 sub_81B1360(void);
|
|
|
|
void sub_81B1370(u8 taskId);
|
|
|
|
u8* GetMonNickname(struct Pokemon *mon, u8 *dest);
|
2019-10-05 05:31:25 +02:00
|
|
|
u8 DisplayPartyMenuMessage(const u8* str, u8 b);
|
2018-12-24 00:02:29 +01:00
|
|
|
bool8 sub_81B1BD4(void);
|
|
|
|
void sub_81B1F18(u8 taskId, u8 slot, s8 c, s16 HPDifference, TaskFunc func);
|
|
|
|
u8 pokemon_ailments_get_primary(u32 status);
|
2019-03-03 22:50:51 +01:00
|
|
|
u8 GetMonAilment(struct Pokemon *mon);
|
2019-10-05 05:31:25 +02:00
|
|
|
void DisplayPartyMenuStdMessage(u32 stringID);
|
2018-12-24 00:02:29 +01:00
|
|
|
void sub_81B47E0(u8 taskId);
|
2018-06-16 14:04:29 +02:00
|
|
|
bool8 FieldCallback_PrepareFadeInFromMenu(void);
|
2018-12-24 00:02:29 +01:00
|
|
|
void sub_81B58A8(void);
|
|
|
|
void LoadHeldItemIcons(void);
|
2019-10-07 04:58:25 +02:00
|
|
|
void DrawHeldItemIconsForTrade(u8 *a, u8 *b, u8 c);
|
2018-12-24 00:02:29 +01:00
|
|
|
void sub_81B617C(void);
|
|
|
|
void ItemUseCB_Medicine(u8 taskId, TaskFunc task);
|
|
|
|
void sub_81B67C8(u8 taskId, TaskFunc task);
|
|
|
|
void dp05_ether(u8 taskId, TaskFunc task);
|
|
|
|
void dp05_pp_up(u8 taskId, TaskFunc task);
|
|
|
|
u16 ItemIdToBattleMoveId(u16 item);
|
2018-12-24 21:59:05 +01:00
|
|
|
bool8 IsMoveHm(u16 move);
|
|
|
|
bool8 MonKnowsMove(struct Pokemon *mon, u16 move);
|
2018-12-24 00:02:29 +01:00
|
|
|
void sub_81B6DC4(u8 taskId, TaskFunc task);
|
|
|
|
void dp05_rare_candy(u8 taskId, TaskFunc task);
|
|
|
|
void sub_81B79E8(u8 taskId, TaskFunc task);
|
|
|
|
void sub_81B7C74(u8 taskId, TaskFunc task);
|
|
|
|
u8 GetItemEffectType(u16 item);
|
|
|
|
void CB2_PartyMenuFromStartMenu(void);
|
2018-02-09 03:00:28 +01:00
|
|
|
void sub_81B7F60(void);
|
2018-10-14 20:00:14 +02:00
|
|
|
void sub_81B8448(void);
|
2019-02-11 02:42:50 +01:00
|
|
|
void InitChooseHalfPartyForBattle(u8 unused);
|
2018-12-24 00:02:29 +01:00
|
|
|
void sub_81B8558(void);
|
|
|
|
void sub_81B8904(u8 initArg, MainCallback callback);
|
2019-10-06 23:30:17 +02:00
|
|
|
void OpenPartyMenuForMoveTutor(void);
|
2019-10-13 21:26:44 +02:00
|
|
|
void ChooseMonForWirelessMinigame(void);
|
2019-10-11 10:14:09 +02:00
|
|
|
void ChooseMonForWirelessMinigame(void);
|
2018-12-24 00:02:29 +01:00
|
|
|
void OpenPartyMenuInBattle(u8 arg);
|
|
|
|
void sub_81B89F0(void);
|
|
|
|
void sub_81B8C68(void);
|
|
|
|
void sub_81B8D64(u8 battlerId, u8 multiplayerFlag);
|
|
|
|
void sub_81B8E80(u8 battlerId, u8 unk, u8 arrayIndex);
|
|
|
|
void sub_81B8FB0(u8 slot, u8 slot2);
|
|
|
|
u8 pokemon_order_func(u8 slot);
|
|
|
|
void sub_81B9150(void);
|
|
|
|
void sub_81B9328(void);
|
2018-08-15 06:56:11 +02:00
|
|
|
bool8 hm_add_c3_without_phase_2(void);
|
2018-12-24 00:02:29 +01:00
|
|
|
void sub_81B9404(void);
|
|
|
|
void sub_81B94B0(void);
|
|
|
|
void sub_81B951C(void);
|
|
|
|
void sub_81B9620(void);
|
|
|
|
void sub_81B95E0(void);
|
|
|
|
void sub_81B98DC(void);
|
|
|
|
void sub_81B9918(void);
|
|
|
|
void sub_81B9770(void);
|
|
|
|
void sub_81B9718(void);
|
|
|
|
void sub_81B96D0(void);
|
|
|
|
void sub_81B968C(void);
|
2018-09-11 04:04:19 +02:00
|
|
|
|
2017-10-12 09:06:19 +02:00
|
|
|
#endif // GUARD_PARTY_MENU_H
|