pokeemerald/include/apprentice.h

26 lines
751 B
C
Raw Normal View History

#ifndef GUARD_APPRENTICE_H
#define GUARD_APPRENTICE_H
2019-11-14 18:56:18 -05:00
#include "constants/apprentice.h"
struct ApprenticeTrainer
{
2019-11-20 17:36:52 -05:00
u8 name[NUM_LANGUAGES - 1][PLAYER_NAME_LENGTH + 1]; // For all languages except the unused one.
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;
2019-11-19 11:36:38 -05:00
u16 speechLost[EASY_CHAT_BATTLE_WORDS_COUNT];
};
extern const struct ApprenticeTrainer gApprentices[];
2019-11-20 17:36:52 -05:00
void BufferApprenticeChallengeText(u8 saveApprenticeId);
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