Fixed regional form-exclusive species producing eggs of the wrong species, fixed eggs not being the appropriate form based on the region they were made in

This commit is contained in:
Maruno17
2021-12-23 18:20:43 +00:00
parent b988638746
commit 35126dfb6b
4 changed files with 119 additions and 81 deletions

View File

@@ -66,6 +66,9 @@ class DayCare
egg.obtain_text = _INTL("Day-Care Couple")
egg.happiness = 120
egg.form = 0 if species == :SINISTEA
# Set regional form
new_form = MultipleForms.call("getFormOnEggCreation", egg)
egg.form = new_form if new_form
return egg
end