Coding Help Attempting a mod update

So I got shown the Emet-Selch wizard replacement, but the original mod owner doesn't seem interested in keeping it up. So, trying to fix up a couple broken events myself (the 9 and 10 heart events are broken) but I am drawing a blank on *how*. I've never tried to alter events before, and I don't know what SMAPI means when it says it won't parse as a boolean. Advice would be much appreciated!
 
Top