Its the same issue with Alex and Avee, it's $pregnancymod being set to null when using the [ Reset ] button when setting Pregnancy Duration. The comparison gte and lte will result to true when comparing null to 0 as null is 0 when coverted to interger (to compare).I'm not using the base, but I also haven't added any new variables. The only things I change are bugfixes. Adding <p> to areas missing it, adding in the fixes you mentioned above, fixing the curse of futa, things of that nature. I also initialized $loversFrog since that wasn't activating otherwise, but I edited that out as soon as it had a value. I edit the html in VSCode, but I'll definitely run the save through saveeditonline to see what that shows
Edit: Checked it in saveeditonline and yup, something screwy is happening. gestationtime is -10. I have no idea how that happened since I haven't touched that
For the code for [ Reset ] button, you can use (ignore bracket) [ unset $pregnancymod ] instead of [ set $pregnancymod to null ].
[unset variable] will set it to undefine, therefore not passing the variable gte 0 comparison. Also, goblins iirc start with a gestationtime -= 10 so with gestationtime intially 0 became -10.