- 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
Then paste this right below
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
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