mirror of
https://github.com/pret/pokeplatinum.git
synced 2026-03-30 22:25:39 -05:00
33 lines
773 B
C
33 lines
773 B
C
#ifndef POKEPLATINUM_TUTOR_MOVESETS_H
|
|
#define POKEPLATINUM_TUTOR_MOVESETS_H
|
|
|
|
#include "consts/moves.h"
|
|
|
|
enum TutorLocation {
|
|
TUTOR_LOCATION_ROUTE_212 = 0,
|
|
TUTOR_LOCATION_SURVIVAL_AREA,
|
|
TUTOR_LOCATION_SNOWPOINT_CITY,
|
|
};
|
|
|
|
typedef struct TeachableMove {
|
|
u16 moveID;
|
|
u8 redCost;
|
|
u8 blueCost;
|
|
u8 yellowCost;
|
|
u8 greenCost;
|
|
enum TutorLocation location;
|
|
} TeachableMove;
|
|
|
|
#include "res/field/tutorable_moves.h"
|
|
|
|
#define MOVESET_MASK_SIZE (s32)((NELEMS(sTeachableMoves) + 7) / 8)
|
|
|
|
// Each of the bits in this array correspond to a move in sTeachableMoves
|
|
// Therefore the size is dependent on how many teachable moves exist
|
|
|
|
typedef struct MovesetMask {
|
|
u8 maskData[MOVESET_MASK_SIZE];
|
|
} MovesetMask;
|
|
|
|
#endif // POKEPLATINUM_TUTOR_MOVESETS_H
|