mirror of
https://github.com/rh-hideout/pokeemerald-expansion.git
synced 2026-03-21 18:04:50 -05:00
Co-authored-by: Eduardo Quezada <eduardo602002@gmail.com> Co-authored-by: FosterProgramming <jamiefosterandco@gmail.com>
26 lines
766 B
C
26 lines
766 B
C
#ifndef GUARD_APPRENTICE_H
|
|
#define GUARD_APPRENTICE_H
|
|
|
|
#include "constants/apprentice.h"
|
|
|
|
struct ApprenticeTrainer
|
|
{
|
|
u8 name[NUM_LANGUAGES - 1][PLAYER_NAME_LENGTH + 1]; // For all languages except the unused one.
|
|
u16 otId;
|
|
u8 facilityClass;
|
|
enum Species species[APPRENTICE_SPECIES_COUNT];
|
|
u8 id;
|
|
u16 speechLost[EASY_CHAT_BATTLE_WORDS_COUNT];
|
|
};
|
|
|
|
extern const struct ApprenticeTrainer gApprentices[];
|
|
|
|
void BufferApprenticeChallengeText(u8 saveApprenticeId);
|
|
void Apprentice_ScriptContext_Enable(void);
|
|
void ResetApprenticeStruct(struct Apprentice *apprentice);
|
|
void ResetAllApprenticeData(void);
|
|
void CallApprenticeFunction(void);
|
|
const u8 *GetApprenticeNameInLanguage(u32 apprenticeId, enum Language language);
|
|
|
|
#endif // GUARD_APPRENTICE_H
|