• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Item that passes the holder's ability in breeding 100%

  • 67
    Posts
    4
    Years
    • He/Him
    • Seen Nov 16, 2023
    Just a heads up I made this in essentials v17.2 I have no idea if it works in v18 it should if daycare scripts weren't changed in v18 I have no idea since I haven't used v18

    So I was trying to make this feature work and I asked for help cause I was scared to mess up but luckily I figured it out so I thought if anyone wanted this feature in there fan game too here you go

    so basically all you gotta do is go to "PField_Daycare" and find " elsif ((!ditto0 && ditto1) || (!ditto1 && ditto0)) && USENEWBATTLEMECHANICS"

    find this line of code
    if parent.hasHiddenAbility?
    egg.setAbility(parent.abilityIndex) if rand(10)<6
    end

    Then paste this right below

    if parent.hasHiddenAbility? && isConst?(mother.item,PBItems,:EVERSTONE) || isConst?(mother.item,PBItems,:EVERSTONE)
    egg.setAbility(parent.abilityIndex)
    end
    if parent.hasAbility? && isConst?(mother.item,PBItems,:EVERSTONE) || isConst?(father.item,PBItems,:EVERSTONE)
    egg.setAbility(parent.abilityIndex)
    end

    you can replace the item with whatever you'd like by the way does not have to be an everstone I just made it an everstone cause In my game I removed the stat boost that natures provide
     
    Back
    Top