pokeemerald/include/apprentice.h

27 lines
719 B
C
Raw Normal View History

#ifndef GUARD_APPRENTICE_H
#define GUARD_APPRENTICE_H
#define APPRENTICE_SPECIES_COUNT 10
struct ApprenticeTrainer
{
u8 name[6][PLAYER_NAME_LENGTH + 1]; // For all six languages.
u16 otId;
2018-10-14 09:37:44 +00:00
u8 facilityClass;
u16 species[APPRENTICE_SPECIES_COUNT];
2018-10-27 19:01:35 +00:00
u8 unk;
u8 unk_;
u16 easyChatWords[6];
};
extern const struct ApprenticeTrainer gApprentices[];
2018-10-14 12:35:51 +00:00
void CopyFriendsApprenticeChallengeText(u8 saveblockApprenticeId);
2018-10-14 15:00:41 +00:00
void Apprentice_EnableBothScriptContexts(void);
void ResetApprenticeStruct(struct Apprentice *apprentice);
void ResetAllApprenticeData(void);
void CallApprenticeFunction(void);
2018-10-14 09:37:44 +00:00
const u8 *GetApprenticeNameInLanguage(u32 apprenticeId, s32 language);
#endif // GUARD_APPRENTICE_H