diff options
author | Deokishisu <edsaletto@gmail.com> | 2018-10-14 14:22:56 -0400 |
---|---|---|
committer | Deokishisu <edsaletto@gmail.com> | 2018-10-14 14:22:56 -0400 |
commit | a8afec762bbcb0da81dda5671be1f9a36792e6f4 (patch) | |
tree | 4251e0a8b0a15d9792951ed1f513517e6abe4981 /include/apprentice.h | |
parent | c89b14f5ef16609779f9bd85cf4e4efa090caad7 (diff) | |
parent | 02049d52ee5c9416f840d2bbb24f90e479e11f92 (diff) |
Merge branch 'master' of https://github.com/pret/pokeemerald into LabelOWsProperly
Diffstat (limited to 'include/apprentice.h')
-rw-r--r-- | include/apprentice.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/include/apprentice.h b/include/apprentice.h new file mode 100644 index 000000000..ca0b04800 --- /dev/null +++ b/include/apprentice.h @@ -0,0 +1,24 @@ +#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; + u8 facilityClass; + u16 species[APPRENTICE_SPECIES_COUNT]; + u8 rest[14]; +}; + +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 |