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
|
|
|
|
{
|
|
|
|
u8 mapObjectId;
|
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-18 22:26:44 +00:00
|
|
|
extern struct ApproachingTrainer gApproachingTrainers[2];
|
2017-12-01 20:25:13 +00:00
|
|
|
|
2017-12-19 16:18:44 +00:00
|
|
|
bool8 CheckForTrainersWantingBattle(void);
|
|
|
|
void sub_80B4578(struct MapObject *var);
|
|
|
|
void EndTrainerApproach(void);
|
|
|
|
void sub_80B45D0(void);
|
|
|
|
u8 FldEff_ExclamationMarkIcon1(void);
|
|
|
|
u8 FldEff_ExclamationMarkIcon2(void);
|
|
|
|
u8 FldEff_HeartIcon(void);
|
2017-12-18 22:26:44 +00:00
|
|
|
u8 GetCurrentApproachingTrainerMapObjectId(void);
|
2017-12-19 16:18:44 +00:00
|
|
|
u8 GetChosenApproachingTrainerMapObjectId(u8 arrayId);
|
|
|
|
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
|