Lvl up learnsets by generation (#4049)
* Lvl up learnsets by generation I think the title sums it up pretty nicely * Update level_up_learnsets.h forgot some newer pokemon * divided the learnset file into generations * Separated learnsets by generation Separated the learnsets by generation, added a bit more documentation in the config file * Update src/pokemon.c Co-authored-by: Eduardo Quezada D'Ottone <eduardo602002@gmail.com> * Update include/config/pokemon.h Co-authored-by: Eduardo Quezada D'Ottone <eduardo602002@gmail.com> --------- Co-authored-by: Eduardo Quezada D'Ottone <eduardo602002@gmail.com>
This commit is contained in:
parent
916e4814bd
commit
51cbf92ed0
11 changed files with 172066 additions and 454 deletions
|
@ -10,6 +10,14 @@
|
|||
#define P_UPDATED_EVS GEN_LATEST // Some Pokémon have received EV updates after their introduction.
|
||||
#define P_UPDATED_EXP_YIELDS GEN_LATEST // Since Gen 5, some Pokémon have received base Experience changes.
|
||||
|
||||
// Learnsets
|
||||
#define P_LVL_UP_LEARNSETS GEN_LATEST // Choose which set of Level Up Learnsets to use.
|
||||
// For generations that hadn't introduced a species yet, we use their first appearence (eg. Chikorita's Gen2 data if the config is set to GEN_1).
|
||||
// For generations that don't include a previously introduced species, we use their last apperance (eg. Snivy's Gen7 data if the config is set to GEN_8).
|
||||
// GEN_1/2/3/4/5/6/7: Yellow, Crystal, RSE, HGSS, B2W2, XY, USUM learnsets respectively.
|
||||
// GEN_8: Use the following priority: BDSP for Gen1-4 Pokémon, then LA for species introduced in that game, then SwSh for species present in those games. Otherwise, use GEN_7.
|
||||
// GEN_9: SV For species present in those games. Otherwise use GEN_8.
|
||||
|
||||
// Evolution settings
|
||||
#define P_FRIENDSHIP_EVO_THRESHOLD GEN_LATEST // Since Gen 8, Pokémon that evolve by friendship evolve at or above 160 friendship instead of 220.
|
||||
|
||||
|
|
19852
src/data/pokemon/level_up_learnsets/gen_1.h
Normal file
19852
src/data/pokemon/level_up_learnsets/gen_1.h
Normal file
File diff suppressed because it is too large
Load diff
20096
src/data/pokemon/level_up_learnsets/gen_2.h
Normal file
20096
src/data/pokemon/level_up_learnsets/gen_2.h
Normal file
File diff suppressed because it is too large
Load diff
20322
src/data/pokemon/level_up_learnsets/gen_3.h
Normal file
20322
src/data/pokemon/level_up_learnsets/gen_3.h
Normal file
File diff suppressed because it is too large
Load diff
21596
src/data/pokemon/level_up_learnsets/gen_4.h
Normal file
21596
src/data/pokemon/level_up_learnsets/gen_4.h
Normal file
File diff suppressed because it is too large
Load diff
22119
src/data/pokemon/level_up_learnsets/gen_5.h
Normal file
22119
src/data/pokemon/level_up_learnsets/gen_5.h
Normal file
File diff suppressed because it is too large
Load diff
22606
src/data/pokemon/level_up_learnsets/gen_6.h
Normal file
22606
src/data/pokemon/level_up_learnsets/gen_6.h
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
22703
src/data/pokemon/level_up_learnsets/gen_8.h
Normal file
22703
src/data/pokemon/level_up_learnsets/gen_8.h
Normal file
File diff suppressed because it is too large
Load diff
22476
src/data/pokemon/level_up_learnsets/gen_9.h
Normal file
22476
src/data/pokemon/level_up_learnsets/gen_9.h
Normal file
File diff suppressed because it is too large
Load diff
|
@ -420,7 +420,27 @@ const s8 gNatureStatTable[NUM_NATURES][NUM_NATURE_STATS] =
|
|||
|
||||
#include "data/pokemon/trainer_class_lookups.h"
|
||||
#include "data/pokemon/experience_tables.h"
|
||||
#include "data/pokemon/level_up_learnsets.h"
|
||||
|
||||
#if P_LVL_UP_LEARNSETS >= GEN_9
|
||||
#include "data/pokemon/level_up_learnsets/gen_9.h"
|
||||
#elif P_LVL_UP_LEARNSETS >= GEN_8
|
||||
#include "data/pokemon/level_up_learnsets/gen_8.h"
|
||||
#elif P_LVL_UP_LEARNSETS >= GEN_7
|
||||
#include "data/pokemon/level_up_learnsets/gen_7.h"
|
||||
#elif P_LVL_UP_LEARNSETS >= GEN_6
|
||||
#include "data/pokemon/level_up_learnsets/gen_6.h"
|
||||
#elif P_LVL_UP_LEARNSETS >= GEN_5
|
||||
#include "data/pokemon/level_up_learnsets/gen_5.h"
|
||||
#elif P_LVL_UP_LEARNSETS >= GEN_4
|
||||
#include "data/pokemon/level_up_learnsets/gen_4.h"
|
||||
#elif P_LVL_UP_LEARNSETS >= GEN_3
|
||||
#include "data/pokemon/level_up_learnsets/gen_3.h"
|
||||
#elif P_LVL_UP_LEARNSETS >= GEN_2
|
||||
#include "data/pokemon/level_up_learnsets/gen_2.h"
|
||||
#elif P_LVL_UP_LEARNSETS >= GEN_1
|
||||
#include "data/pokemon/level_up_learnsets/gen_1.h"
|
||||
#endif
|
||||
|
||||
#include "data/pokemon/teachable_learnsets.h"
|
||||
#include "data/pokemon/form_species_tables.h"
|
||||
#include "data/pokemon/form_change_tables.h"
|
||||
|
|
Loading…
Reference in a new issue