SuperSpyroDragon64 submitted a new resource:
Nature-Based EV Gain - Gain Natures based on what your EV boosts, not on the foes you face
Read more about this resource...
Nature-Based EV Gain - Gain Natures based on what your EV boosts, not on the foes you face
Simply use this code to overwrite your "def pbGainEVsOne(idxParty, defeatedBattler)" code in Battle_ExpAndMoveLearning in Pokemon Essentials!
Code:def pbGainEVsOne(idxParty, defeatedBattler) pkmn = pbParty(0)[idxParty] # The Pokémon gaining EVs from defeatedBattler evYield = defeatedBattler.pokemon.evYield # Modify EV yield based on pkmn's held item if !Battle::ItemEffects.triggerEVGainModifier(pkmn.item, pkmn, evYield)...
Read more about this resource...