pokeemerald/include/apprentice.h

26 lines
705 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 11:37:44 +02:00
u8 facilityClass;
u16 species[APPRENTICE_SPECIES_COUNT];
2018-10-30 22:17:03 +01:00
u8 id;
2018-10-27 21:01:35 +02:00
u16 easyChatWords[6];
};
extern const struct ApprenticeTrainer gApprentices[];
2018-10-14 14:35:51 +02:00
void CopyFriendsApprenticeChallengeText(u8 saveblockApprenticeId);
2018-10-14 17:00:41 +02:00
void Apprentice_EnableBothScriptContexts(void);
void ResetApprenticeStruct(struct Apprentice *apprentice);
void ResetAllApprenticeData(void);
void CallApprenticeFunction(void);
2018-10-14 11:37:44 +02:00
const u8 *GetApprenticeNameInLanguage(u32 apprenticeId, s32 language);
#endif // GUARD_APPRENTICE_H