2018-10-13 18:38:46 +00:00
|
|
|
#ifndef GUARD_APPRENTICE_H
|
|
|
|
#define GUARD_APPRENTICE_H
|
|
|
|
|
2019-11-14 23:56:18 +00:00
|
|
|
#include "constants/apprentice.h"
|
2018-10-13 18:38:46 +00:00
|
|
|
|
|
|
|
struct ApprenticeTrainer
|
|
|
|
{
|
2019-11-20 22:36:52 +00:00
|
|
|
u8 name[NUM_LANGUAGES - 1][PLAYER_NAME_LENGTH + 1]; // For all languages except the unused one.
|
2018-10-13 18:38:46 +00:00
|
|
|
u16 otId;
|
2018-10-14 09:37:44 +00:00
|
|
|
u8 facilityClass;
|
2018-10-13 18:38:46 +00:00
|
|
|
u16 species[APPRENTICE_SPECIES_COUNT];
|
2018-10-30 21:17:03 +00:00
|
|
|
u8 id;
|
2019-11-19 16:36:38 +00:00
|
|
|
u16 speechLost[EASY_CHAT_BATTLE_WORDS_COUNT];
|
2018-10-13 18:38:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
extern const struct ApprenticeTrainer gApprentices[];
|
|
|
|
|
2019-11-20 22:36:52 +00:00
|
|
|
void BufferApprenticeChallengeText(u8 saveApprenticeId);
|
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);
|
|
|
|
|
2018-10-13 18:38:46 +00:00
|
|
|
#endif // GUARD_APPRENTICE_H
|