diff --git a/src/Learnsets.c b/src/Learnsets.c index d04e761..06424cb 100644 --- a/src/Learnsets.c +++ b/src/Learnsets.c @@ -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, -}; \ No newline at end of file +}; +#endif diff --git a/src/defines.h b/src/defines.h index a78b924..2bd937a 100644 --- a/src/defines.h +++ b/src/defines.h @@ -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 \ No newline at end of file +#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" \ No newline at end of file