mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 19:47:35 +01:00
26 lines
703 B
C
26 lines
703 B
C
#ifndef GUARD_APPRENTICE_H
|
|
#define GUARD_APPRENTICE_H
|
|
|
|
#include "constants/apprentice.h"
|
|
|
|
struct ApprenticeTrainer
|
|
{
|
|
u8 name[6][PLAYER_NAME_LENGTH + 1]; // For all six languages.
|
|
u16 otId;
|
|
u8 facilityClass;
|
|
u16 species[APPRENTICE_SPECIES_COUNT];
|
|
u8 id;
|
|
u16 easyChatWords[6];
|
|
};
|
|
|
|
extern const struct ApprenticeTrainer gApprentices[];
|
|
|
|
void CopyFriendsApprenticeChallengeText(u8 saveblockApprenticeId);
|
|
void Apprentice_EnableBothScriptContexts(void);
|
|
void ResetApprenticeStruct(struct Apprentice *apprentice);
|
|
void ResetAllApprenticeData(void);
|
|
void CallApprenticeFunction(void);
|
|
const u8 *GetApprenticeNameInLanguage(u32 apprenticeId, s32 language);
|
|
|
|
#endif // GUARD_APPRENTICE_H
|