mirror of
https://github.com/pret/pokefirered.git
synced 2026-05-09 12:35:23 -05:00
25 lines
704 B
C
25 lines
704 B
C
#ifndef GUARD_TRAINER_SEE_H
|
|
#define GUARD_TRAINER_SEE_H
|
|
|
|
struct ApproachingTrainer
|
|
{
|
|
u8 objectEventId;
|
|
u8 radius; // plus 1
|
|
const u8 *trainerScriptPtr;
|
|
u8 taskId;
|
|
};
|
|
|
|
extern u16 gWhichTrainerToFaceAfterBattle;
|
|
extern struct ApproachingTrainer gApproachingTrainers[2];
|
|
extern u8 gNoOfApproachingTrainers;
|
|
extern bool8 gTrainerApproachedPlayer;
|
|
extern u8 gApproachingTrainerId;
|
|
|
|
bool8 CheckForTrainersWantingBattle(void);
|
|
void MovementAction_RevealTrainer_RunTrainerSeeFuncList(struct ObjectEvent *var);
|
|
u8 GetCurrentApproachingTrainerObjectEventId(void);
|
|
u8 GetChosenApproachingTrainerObjectEventId(u8 arrayId);
|
|
void TryPrepareSecondApproachingTrainer(void);
|
|
|
|
#endif //GUARD_TRAINER_SEE_H
|