pokeemerald-expansion/include/trainer.h
cawtds becfa70a97
Some checks failed
CI / build-emerald (push) Has been cancelled
CI / build-firered (push) Has been cancelled
CI / build-leafgreen (push) Has been cancelled
CI / release (push) Has been cancelled
CI / test (push) Has been cancelled
CI / docs_validate (push) Has been cancelled
CI / allcontributors (push) Has been cancelled
CI / build (push) Has been cancelled
Refactor/trainer pic info (#9475)
2026-04-03 22:34:59 +02:00

16 lines
389 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