Make expanding learnsets conditional

This commit is contained in:
Skeli
2019-05-24 10:19:50 -04:00
parent 35c4cc9acc
commit 5c1040d6c6
2 changed files with 13 additions and 4 deletions

View File

@@ -1,6 +1,8 @@
#include "defines.h"
#include "../include/moves.h"
#ifdef EXPAND_LEARNSETS
#define LEVEL_UP_MOVE(lvl, move) {move, lvl}
#define LEVEL_UP_END {0x0, 0xFF}
@@ -18153,4 +18155,5 @@ const struct LevelUpMove* const gLevelUpLearnsets[NUM_SPECIES] =
[SPECIES_PIKACHU_CAP_PARTNER] = sSpeciesPikachuLevelUpLearnset,
[SPECIES_PICHU_SPIKY] = sSpeciesPichuLevelUpLearnset,
[SPECIES_XERNEAS_NATURAL] = sSpeciesXerneasLevelUpLearnset,
};
};
#endif

View File

@@ -3,8 +3,6 @@
#include "../include/types.h"
#include "../include/species.h"
//#define INCLUDE_FOOTPRINTS //If you uncomment this line, make sure to uncomment gMonFootprintTable in repoints, and remove the footprint remover in bytereplacement
#define EVOS_PER_MON 16
#define FALSE 0
@@ -12,4 +10,12 @@
#define ARRAY_COUNT(array) (sizeof(array) / sizeof((array)[0]))
#define SPECIES_TABLES_TERMIN 0xFEFE
#define SPECIES_TABLES_TERMIN 0xFEFE
//CHANGE THESE IF YOU WANT
#define EXPAND_LEARNSETS //If you're using this feature, make sure you insert the Complete Fire Red Upgrade
// afterwards or the game will crash when selecting certain Pokemon. Otherwise, remove
// gLevelUpLearnsets from "repointall" found in the root BEFORE compiling. If you've
// already compiled, run "python scripts//clean.py" first.
//#define INCLUDE_FOOTPRINTS //If you uncomment this line, make sure to uncomment gMonFootprintTable in "repoints", and remove the footprint remover in "bytereplacement"