Add MOVES_COUNT and NUM_SPECIES to RHH rom header (#3831)
* Add MOVES_COUNT and NUM_SPECIES to RHH rom header
This commit is contained in:
parent
94a650a203
commit
16a3954f0e
1 changed files with 6 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
|||
#include "global.h"
|
||||
#include "constants/expansion.h"
|
||||
#include "constants/moves.h"
|
||||
#include "constants/species.h"
|
||||
|
||||
// Similar to the GF ROM header, this struct allows external programs to
|
||||
// detect details about Expansion.
|
||||
|
@ -14,6 +16,8 @@ struct RHHRomHeader
|
|||
/*0x07*/ u8 expansionVersionMinor;
|
||||
/*0x08*/ u8 expansionVersionPatch;
|
||||
/*0x09*/ u8 expansionVersionFlags;
|
||||
/*0x0C*/ u32 movesCount;
|
||||
/*0x10*/ u32 numSpecies;
|
||||
};
|
||||
|
||||
static const struct RHHRomHeader sRHHRomHeader =
|
||||
|
@ -23,4 +27,6 @@ static const struct RHHRomHeader sRHHRomHeader =
|
|||
.expansionVersionMinor = EXPANSION_VERSION_MINOR,
|
||||
.expansionVersionPatch = EXPANSION_VERSION_PATCH,
|
||||
.expansionVersionFlags = (EXPANSION_TAGGED_RELEASE << 0),
|
||||
.movesCount = MOVES_COUNT,
|
||||
.numSpecies = NUM_SPECIES,
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue