Skip to content

Commit

Permalink
Footprint config (rh-hideout#3902)
Browse files Browse the repository at this point in the history
* Footprint config

* Don't enable by default
  • Loading branch information
Bassoonian authored Jan 3, 2024
1 parent e7fac02 commit f94e65a
Show file tree
Hide file tree
Showing 15 changed files with 3,104 additions and 1,036 deletions.
1 change: 1 addition & 0 deletions include/config/pokemon.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@

// Other settings
#define P_CUSTOM_GENDER_DIFF_ICONS TRUE // If TRUE, will give more Pokémon custom icons for their female forms, i.e. Hippopotas and Hippowdon
#define P_FOOTPRINTS TRUE // If TRUE, Pokémon will have footprints (as was the case up to Gen 5 and in BDSP). Disabling this saves some ROM space.
#define P_LEGENDARY_PERFECT_IVS GEN_LATEST // Since Gen 6, Legendaries, Mythicals and Ultra Beasts found in the wild or given through gifts have at least 3 perfect IVs.
#define P_EV_CAP GEN_LATEST // Since Gen 6, the max EVs per stat is 252 instead of 255.
#define P_CATCH_CURVE GEN_LATEST // Since Gen 6, the capture rate curve was changed to make pokeballs more effective on lower level pokemon
Expand Down
2,052 changes: 2,052 additions & 0 deletions src/data/graphics/pokemon.h

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion src/data/pokemon/species_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,12 @@ const u8 gOgerponCornerstoneMaskPokedexText[] = _(
.levelUpLearnset = s ## learn##LevelUpLearnset, \
.teachableLearnset = s ## learn##TeachableLearnset

#if P_FOOTPRINTS
#define FOOTPRINT(sprite) .footprint = gMonFootprint_## sprite
#else
#define FOOTPRINT(sprite) .footprint = NULL
#endif

// Maximum value for a female Pokémon is 254 (MON_FEMALE) which is 100% female.
// 255 (MON_GENDERLESS) is reserved for genderless Pokémon.
#define PERCENT_FEMALE(percent) min(254, ((percent * 255) / 100))
Expand Down Expand Up @@ -330,7 +336,7 @@ const struct SpeciesInfo gSpeciesInfo[] =
//PALETTE_FEMALE(CircledQuestionMark),
ICON(QuestionMark, 0),
//ICON_FEMALE(QuestionMark, 1),
//.footprint = gMonFootprint_None,
//FOOTPRINT(None),
LEARNSETS(None),
.evolutions = EVOLUTION({EVO_LEVEL, 100, SPECIES_NONE},
{EVO_ITEM, ITEM_MOOMOO_MILK, SPECIES_NONE}),
Expand Down
374 changes: 187 additions & 187 deletions src/data/pokemon/species_info/gen_1.h

Large diffs are not rendered by default.

Loading

0 comments on commit f94e65a

Please sign in to comment.