Applicators
Applicator classes provide specialized logic for applying modifications to PKM entities. Each applicator focuses on a specific aspect of Pokémon data, such as balls, moves, ribbons, or gender.BallApplicator
Applies legal ball values to PKM entities. Namespace:PKHeX.Core
Methods
GetLegalBalls
result- Result storage for legal ballspk- Pokémon to retrieve valid balls forla- Optional legality analysisenc- Optional encounter template
ApplyBallLegalRandom
ApplyBallLegalByColor
MoveApplicator
Extension methods for applying movesets to PKM entities. Namespace:PKHeX.Core
Extension Methods
SetMaximumPPUps
SetMoves
input- Moves to set (up to 4 moves)maxPP- Whether to maximize PP Ups
SetMaximumPPCurrent
MoveSetApplicator
Extension methods for applying complete movesets with legality considerations. Namespace:PKHeX.Core
Extension Methods (PKM)
SetMoveset
random- True to apply a random moveset, false to apply a level-up moveset
SetRelearnMoves
GetMoveSet
moves- Result storage for movesrandom- Whether to get full movepool with shuffling
Extension Methods (LegalityAnalysis)
GetSuggestedRelearnMoves
RibbonApplicator
Applies ribbons to PKM entities based on legality. Namespace:PKHeX.Core
Methods
SetAllValidRibbons
RemoveAllValidRibbons
FixInvalidRibbons
GenderApplicator
Extension methods for manipulating PKM gender data. Namespace:PKHeX.Core
Extension Methods
SetSaneGender
SetGender
- Gen 1-2: Sets Attack IV from gender
- Gen 3-5: Sets PID based on gender
- Gen 6+: Directly sets gender property
GetSaneGender
SetAttackIVFromGender
MarkingApplicator
Extension methods for modifying IAppliedMarkings. Namespace:PKHeX.Core
Extension Methods
SetMarkings
ToggleMarking
index- Marking index to toggle (0-5 for HP/Atk/Def/SpA/SpD/Spe)
Properties
MarkingMethod
FlagHighLow.
HiddenPowerApplicator
Extension methods for applying Hidden Power types to PKM entities. Namespace:PKHeX.Core
Extension Methods
SetHiddenPower
MemoryApplicator
Extension methods for modifying memory parameters of PKM entities. Namespace:PKHeX.Core
Extension Methods
ClearMemories
SetHatchMemory6
SetRandomMemory6
CatchRateApplicator
Applies catch rate values for Generation 1 PKM entities. Namespace:PKHeX.Core
Methods
GetSuggestedCatchRate
TechnicalRecordApplicator
Extension methods for modifying Technical Record flags (Gen 8+). Namespace:PKHeX.Core
Extension Methods
SetRecordFlagsAll
ClearRecordFlags
SetRecordFlags
Enumerations
TechnicalRecordApplicatorOption
PlusRecordApplicator
Extension methods for modifying Plus Record flags (Legends: Z-A). Namespace:PKHeX.Core
Extension Methods
SetPlusFlagsAll
ClearPlusFlags
SetPlusFlags
seedOfMastery- Use a Seed of Mastery to bypass level requirementstm- Apply TM flags as Plus too
Enumerations
PlusRecordApplicatorOption
MoveShopRecordApplicator
Extension methods for modifying Move Shop Record flags (Legends: Arceus). Namespace:PKHeX.Core