mirror of
https://github.com/pret/pokefirered.git
synced 2026-05-09 12:35:23 -05:00
15 lines
388 B
C
15 lines
388 B
C
#ifndef GUARD_TRAINER_H
|
|
#define GUARD_TRAINER_H
|
|
|
|
#include "constants/global.h"
|
|
#include "constants/trainers.h"
|
|
|
|
enum TrainerPicID GetPlayerTrainerPic(enum Gender gender, enum GameVersion version);
|
|
|
|
static inline u16 GetTrainerPicTag(enum TrainerPicID trainerPicId, bool32 isFrontPic)
|
|
{
|
|
return isFrontPic ? trainerPicId : TRAINER_PIC_COUNT + trainerPicId;
|
|
}
|
|
|
|
#endif // GUARD_TRAINER_H
|