2017-09-17 17:26:17 +00:00
|
|
|
#ifndef GUARD_TRAINER_SEE_H
|
|
|
|
#define GUARD_TRAINER_SEE_H
|
|
|
|
|
2017-12-01 20:25:13 +00:00
|
|
|
struct ApproachingTrainer
|
|
|
|
{
|
2018-06-12 00:11:48 +00:00
|
|
|
u8 eventObjectId;
|
2017-12-18 18:35:50 +00:00
|
|
|
u8 radius; // plus 1
|
2017-12-01 20:25:13 +00:00
|
|
|
const u8 *trainerScriptPtr;
|
2017-12-18 22:26:44 +00:00
|
|
|
u8 taskId;
|
2017-12-01 20:25:13 +00:00
|
|
|
};
|
|
|
|
|
2017-12-19 16:33:07 +00:00
|
|
|
extern u16 gUnknown_03006080;
|
|
|
|
extern u8 gUnknown_03006084[4];
|
2017-12-18 22:26:44 +00:00
|
|
|
extern struct ApproachingTrainer gApproachingTrainers[2];
|
2017-12-19 16:33:07 +00:00
|
|
|
extern u8 gNoOfApproachingTrainers;
|
|
|
|
extern u8 gUnknown_030060AC;
|
|
|
|
extern u8 gApproachingTrainerId;
|
2017-12-01 20:25:13 +00:00
|
|
|
|
2017-12-19 16:18:44 +00:00
|
|
|
bool8 CheckForTrainersWantingBattle(void);
|
2018-06-12 00:11:48 +00:00
|
|
|
void sub_80B4578(struct EventObject *var);
|
2017-12-19 16:18:44 +00:00
|
|
|
void EndTrainerApproach(void);
|
2018-12-07 22:50:56 +00:00
|
|
|
void TryPrepareSecondApproachingTrainer(void);
|
2018-06-13 22:51:26 +00:00
|
|
|
u8 FldEff_ExclamationMarkIcon(void);
|
|
|
|
u8 FldEff_QuestionMarkIcon(void);
|
2017-12-19 16:18:44 +00:00
|
|
|
u8 FldEff_HeartIcon(void);
|
2018-06-12 00:11:48 +00:00
|
|
|
u8 GetCurrentApproachingTrainerEventObjectId(void);
|
|
|
|
u8 GetChosenApproachingTrainerEventObjectId(u8 arrayId);
|
2017-12-19 16:18:44 +00:00
|
|
|
void sub_80B4808(void);
|
2017-09-17 17:26:17 +00:00
|
|
|
|
2017-12-18 22:26:44 +00:00
|
|
|
#endif // GUARD_TRAINER_SEE_H
|