pokeemerald/include/trainer_see.h

24 lines
477 B
C
Raw Normal View History

#ifndef GUARD_TRAINER_SEE_H
#define GUARD_TRAINER_SEE_H
2017-12-01 21:25:13 +01:00
struct ApproachingTrainer
{
u8 mapObjectId;
2017-12-18 19:35:50 +01:00
u8 radius; // plus 1
2017-12-01 21:25:13 +01:00
u8 field_2;
u8 field_3;
const u8 *trainerScriptPtr;
2017-12-18 23:26:44 +01:00
u8 taskId;
2017-12-01 21:25:13 +01:00
u8 field_9;
u8 field_A;
u8 field_B;
};
2017-12-18 23:26:44 +01:00
extern struct ApproachingTrainer gApproachingTrainers[2];
2017-12-01 21:25:13 +01:00
void sub_80B4578(struct MapObject *);
2017-12-18 23:26:44 +01:00
u8 GetCurrentApproachingTrainerMapObjectId(void);
void sub_8155D78(struct MapObject *);
2017-12-18 23:26:44 +01:00
#endif // GUARD_TRAINER_SEE_H